Forum Discussion
Correspondence map
- 6 years ago
Hi GreyMerchant ,
About publishing to web:
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.
As document 'r security' mentioned, current it block all requests such as 'accessing the Internet', or 'accessing to other resources' that are 'not required' to create the R visual. So R visuals do not display when using Publish to web.
About R scripts in power query editor:
You should use R packages which are supported in power bi, please refer this document: R packages that are supported in Power BI
Other limitations are simliar with power bi service, you can refer my previous post.
Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
v-yingjlthanks for the reply! Can you just let me know more about this point:
R visuals do not display when using Publish to web.
Then in addition - the Power Query Editor - what are the limitations here in terms of using R?
Hi GreyMerchant ,
About publishing to web:
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.
As document 'r security' mentioned, current it block all requests such as 'accessing the Internet', or 'accessing to other resources' that are 'not required' to create the R visual. So R visuals do not display when using Publish to web.
About R scripts in power query editor:
You should use R packages which are supported in power bi, please refer this document: R packages that are supported in Power BI
Other limitations are simliar with power bi service, you can refer my previous post.
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.