object of type 'closure' is not subsettable in shiny. Working on a simple RGL plotting function
I was coding in shiny with the rgl and shinyRGL package, trying to plot a 3D line plot by having the users insert a csv file of a specific format. But the object type closure error keeps showing up. It seems like because it can't find the function plot3d , or I may be wrong. Here's the code: UI library(shiny) library(rgl) library(shinyRGL) # Define UI for application that draws a histogram shinyUI(fluidPage( titlePanel("title panel"), sidebarLayout( sidebarPanel( helpText("Please select a CSV file with the correct format."), tags$hr(), fileInput("file","Choose file to upload",accept = c( 'text