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.
Hello,
When using R script visual in PBI, i got an error message (this message does appear when using R studio also):
Error in install.packages : 'lib' element ‘C:/Program Files/Microsoft/R Open/R-3.5.1/library’ is not a writable directory
Suggested by posts about the issue, i edited .Renviron file adding this path:
R_LIBS_USER=C:\Program Files\Microsoft\R Open\R-3.5.1\
i tried also with
R_LIBS=C:\Program Files\Microsoft\R Open\R-3.5.1\
However, it still doesnt solve my issue.
Could you please advise? What is missing here?
Solved! Go to Solution.
Hi @Boja,
From the error prompt, your current account doesn't have write permission this folder. Either you need to change the permissions for that folder, or change the R library location. If you want to install to the system library, you may run R or Rgui as administrator.
Reference:
"not writable" error when installing new packages on 3.2.0
Best regards,
Yuliana Gu
Hi @Boja,
From the error prompt, your current account doesn't have write permission this folder. Either you need to change the permissions for that folder, or change the R library location. If you want to install to the system library, you may run R or Rgui as administrator.
Reference:
"not writable" error when installing new packages on 3.2.0
Best regards,
Yuliana Gu
Thanks, Yuliana!
It helped 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
97 | |
97 | |
81 | |
77 | |
66 |
User | Count |
---|---|
126 | |
105 | |
103 | |
81 | |
72 |