I create a new issue to link to an old question like suggest @cole.(Parametized Rmarkdown with fileinput on Rstudio Connect)
My problem is the same, I can't upload a file (csv) to be read on Rstudio Connect. My Error:
Error: '/opt/rstudio-connect/mnt/tmp/RtmpjYLtid/file2a54717ab74/0.csv' does not exist.
When I use
params$data$datapath, I have this error:
Error in params$data$datapath : $ operator is invalid for atomic vectors
Note that my reprex works on Rstudio Server Pro but not on Rstudio Connect.
--- title: "Read upload file on Rstudio Connect" output: html_document params: data: label: "Csv Files" value: "cars.csv" input: file --- readr::read_csv(params$data)
I use Rstudio Connect v1.7.6-6 and R 3.5.1.
Any help would be highly appreciated.