How to remove unwanted text output with brilliant rgl

With the recent rgl package for R (3.3.1, Windows 10), I can create interactive 3D graphics in a Shiny application. However, I get a long unwanted text output.

How can I suppress this conclusion?

Here is the code for an exemplary brilliant application that leads to unwanted text output:

library(shiny) # 0.13.2
library(rgl) # 0.1.0
library(shinyRGL) #0.96.0

aShinyList = list(  
    ui      =   webGLOutput("myWebGL"),
    server  = function(input,output, session)(  output$myWebGL <-    renderWebGL({
    points3d(1:10, 1:10, 1:10)
    axes3d()
  }))
)

runApp(aShinyList)

Here is a screenshot of the result I get:

enter image description here

+4
source share
1 answer

Do not use shinyRGL. It has not been updated for a long time. rglnow contains full Shiny support. See Examples in Directories

system.file("shinySimple", package = "rgl")

and

system.file("shinyDemo", package = "rgl")  
+3
source

Source: https://habr.com/ru/post/1653880/


All Articles