Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

dir.create in R is not working for Power BI service.

Hi,   I have a R visual which creates a directory in your local using dir.create(C:/foldername) and it is working fine in Power Bi desktop but same when deployed in Power Bi service, it is throwing...
  • v-piga-msft's avatar
    v-piga-msft
    7 years ago

    Hi Anonymous ,

     

    Sorry for the delay. I may misunderstand your scenario before.

     

    By my research for your sceanrio, I'm afraid that we cannot show your desired output in Power BI Service based on R scripts security.

     

    • R visuals are created from R scripts, which could potentially contain code with security or privacy risks.
    • These risks mainly exist in the authoring phase when the script author run the script on their own computer.
    • The Power BI service applies a sandbox technology to protect users and the service from security risks.
    • This sandbox approach imposes some restrictions on the R scripts running in the Power BI service, such as accessing the Internet, or accessing to other resources that are not required to create the R visual.

    Best  Regards,

    Cherry