Using an "execute R script module" in Azure-ml studio, when I plot to an 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.
You can enable data collection regardless of the model you deploy through Azure Machine Learning or other tools. To enable data collection, you need to: Open the scoring file.
Select the component to open the right pane. Select Data source, and choose the data source type. It could be HTTP or datastore. If you choose datastore, you can select existing datastores that are already registered to your Azure Machine Learning workspace or create a new datastore.
As of today openGL graphics are not supported on Azure Machine Learning. The rgl library is based on openGL and therefor not supported. In theory, and this is only in theory, if a package were built on webGL instead, it "should" render in the graphics window as long as you are viewing from a modern browser. That said, I do not see any webgl based r packages, only opengl to webgl conversion packages, which outputs a file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With