csv - Shiny/R error: Paths should be to files within the project directory -


my shiny app run locally, when try deploy shinyapps.io not. temporarily fixed problem removing 'dot' in path .csv file:

data <- read.csv("/users/jmjc/desktop/bbteams-shiny/bbteams.csv")

but when deployed shinyapps.io received different error, error: cannot open connection.

shinyapps::deployapp('/users/jmjc/desktop/bbteams-shiny')

i placed data set in same directory server.r , ui.r. , made sure setwd() same directory.

i'm out of ideas. if don't remove dot not deploy, if remove dot cannot make connection. if force deploy, still not make connection.

type following console:

find_rtools()  

this should return true if rtools installation worked properly. if not, follow instructions here: http://jtleek.com/modules/01_datascientisttoolbox/02_10_rtools/#6


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -