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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Problem with R Script

Hi, 

 

I´m triyinng to put some R script en power Bi, but they give me an error

 

the first thing i do, was verificay where the R is, and its fine.

Opciones.png

 

Later, i wrote the sript... i only write "12"

 Sript.png

Last,  the error is

 

jcabeza_0-1595342722288.png

Details: "ADO.NET: A problem ocurre while procesing your R script 
Here are the tecnical details: Could not create directory. System.UnauthorizedAccessException: Acceso denegado a la ruta de acceso 'C:\Program Files\R\R-3.6.3\library\RScriptWrapper_bab4b949-27ef-4cbb-96b2-4a18c10a49f4'.
en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
en System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
en System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
en Microsoft.PowerBI.Scripting.R.RWrapper.GetWorkingFolder(String parentPath, String workingDirectoryPrefix)"

Status: New
Comments
v-yuta-msft
Community Support

@jcabeza ,

 

I have made a test but could not reproduce your issue. My R version is 3.6.1, and power bi version is 2.82.5858.1161 64-bit (June 2020). 

Capture.PNG 

1.PNG

 

Regards,

Jimmy Tao