Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Azure by (5.8k points)

Using an "execute R script module" in Azure-ml studio, when I plot to a rgl device, I get a broken image icon under the graphics section of the R Device output.

Is there some way to view (and even interact with) the resulting rgl device? If not is there some way to transfer the rgl output to a standard R graphics device?

Simple example:

# put this code inside the execute R script module

library(rgl)

rgl.spheres(0,0,0, radius=1, col="red")

To be clear, I know about rgl.snapshot and rgl.postscript and how to save and /or view an rgl device in a standard R session, but have not been able to make these standard approaches work in azure-ml.

1 Answer

0 votes
by (9.6k points)

You can use webgl output by calling rglwidget() function.  

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94k users

Browse Categories

...