Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
vladimirkocic
Frequent Visitor

R refresh not working anymore rlang loaded 0.2.2 but 0.3.0 required

The R code works flawlessly in RStudio, and it worked in PowerBI until yesterday!

Session information below is showing that the rlang is a version 0.3.0, and I repeat, it workes in RStudio.

I had a 3.5 version of R, I tried installing a 3.4.4 version of R, reinstalling everything (removed folders with packages).

this is the error I see today, please help!!:

> sessionInfo()
R version 3.4.4 (2018-03-15)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=Serbian (Latin)_Serbia.1250 LC_CTYPE=Serbian (Latin)_Serbia.1250
[3] LC_MONETARY=Serbian (Latin)_Serbia.1250 LC_NUMERIC=C
[5] LC_TIME=Serbian (Latin)_Serbia.1250

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] data.table_1.11.8 stringr_1.3.1 magrittr_1.5 sqldf_0.4-11 RSQLite_2.1.1 gsubfn_0.7
[7] proto_1.0.0 dplyr_0.7.8 openxlsx_4.1.0 rlang_0.3.0.1

loaded via a namespace (and not attached):
[1] Rcpp_1.0.0 bindr_0.1.1 tidyselect_0.2.5 bit_1.1-14 R6_2.3.0 blob_1.1.1
[7] tcltk_3.4.4 tools_3.4.4 DBI_1.0.0 bit64_0.9-7 assertthat_0.2.0 digest_0.6.18
[13] tibble_1.4.2 crayon_1.3.4 bindrcpp_0.2.2 zip_1.0.0 purrr_0.2.5 memoise_1.1.0
[19] glue_1.3.0 stringi_1.2.4 compiler_3.4.4 pillar_1.3.0 chron_2.3-53 pkgconfig_2.0.2

1 ACCEPTED SOLUTION

The version is the latest, and I reinstalled both the desktop version and Microsoft Store version for Windows 10. However, I found a workaround and it's ridiculous. All I had to do was change the temporary storage location to an empty folder:

powerbi.PNG

I need to point out that I distributed this solution to a number of computers (some Win7, some Win10) and only 2 computers on Win10 had this error, while other Win10 computers ran the query just fine.

View solution in original post

5 REPLIES 5
vladimirkocic
Frequent Visitor

The R code works flawlessly in RStudio, and it worked in PowerBI until yesterday!

Session information below is showing that the rlang is a version 0.3.0, and I repeat, it workes in RStudio.

I had a 3.5 version of R, I tried installing a 3.4.4 version of R, reinstalling everything (removed folders with packages).

this is the error I see today, please help!!:

> sessionInfo()
R version 3.4.4 (2018-03-15)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=Serbian (Latin)_Serbia.1250 LC_CTYPE=Serbian (Latin)_Serbia.1250
[3] LC_MONETARY=Serbian (Latin)_Serbia.1250 LC_NUMERIC=C
[5] LC_TIME=Serbian (Latin)_Serbia.1250

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] data.table_1.11.8 stringr_1.3.1 magrittr_1.5 sqldf_0.4-11 RSQLite_2.1.1 gsubfn_0.7
[7] proto_1.0.0 dplyr_0.7.8 openxlsx_4.1.0 rlang_0.3.0.1

loaded via a namespace (and not attached):
[1] Rcpp_1.0.0 bindr_0.1.1 tidyselect_0.2.5 bit_1.1-14 R6_2.3.0 blob_1.1.1
[7] tcltk_3.4.4 tools_3.4.4 DBI_1.0.0 bit64_0.9-7 assertthat_0.2.0 digest_0.6.18
[13] tibble_1.4.2 crayon_1.3.4 bindrcpp_0.2.2 zip_1.0.0 purrr_0.2.5 memoise_1.1.0
[19] glue_1.3.0 stringi_1.2.4 compiler_3.4.4 pillar_1.3.0 chron_2.3-53 pkgconfig_2.0.2

v-danhe-msft
Employee
Employee

Hi @vladimirkocic,

Based on my test, the dplyr packages could work on my side:

1.PNG

Could you have checked your code could work on the R Studio(My R version is 3.5.1) and could you please check the version of your Power BI Desktop(2.64.5285.741 64-bit (November 2018))?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

The version is the latest, and I reinstalled both the desktop version and Microsoft Store version for Windows 10. However, I found a workaround and it's ridiculous. All I had to do was change the temporary storage location to an empty folder:

powerbi.PNG

I need to point out that I distributed this solution to a number of computers (some Win7, some Win10) and only 2 computers on Win10 had this error, while other Win10 computers ran the query just fine.

As you I found the solution simple , ridiculous and in my face!!.  I wish I had find it before. So much time wasted installing and reinstalling stuff.

Not sure how you found that solution but i'm glad you did. it makes no sense but also resolved my issues!!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors