Parametized Rmarkdown with fileinput on Rstudio Connect New

October 11, 2019 @Rodrigue EDORH

@Rodrigue wrote:

Hi,

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.

Rodrigue

Posts: 4

Participants: 3

Read full topic

Previous Article
RStudio Connect Deployment Error - 500: Database is Locked
RStudio Connect Deployment Error - 500: Database is Locked

@CMT wrote: Hi there, I have the same error as in this post: An error has occurr...

Next Article
getting this fatal error for Rstudio connect "Fatal error: glibc detected an invalid stdio handle"
getting this fatal error for Rstudio connect "Fatal error: glibc detected an invalid stdio handle"

@aks wrote: I am getting this error occasionally (sometimes it just works fine) ...