Forum Discussion

Boja's avatar
Boja
Advocate II
7 years ago
Solved

R script visual - "not writable directory" problem

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?

2 Replies