I'm deploying my shiny app and I don't know how to input my a local dataset. I keep getting Error: object "data" not found
. Here is my path to shiny folder.
library(shinyapps)
shinyapps::deployApp('C:\Users\Jeremy\Desktop\jerm2')
In this directory (jerm2), I have 3 things: ui.R
, server.R
, and my local dataset, a .csv called proj.csv
.
In the server.R
file,
I set data<-read.csv("proj.csv")
I just don't know how to get Shiny to pick up my datasets.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…