Dear List
We built a package which runs an Rmarkdown file to produce a pdf report. The pdf report is currently directed to /tmp/
The package was
developed following H Wickham's R Packages online. Errors are
mine, of course. We implemented renv. Thank you to the many who
make R so useful!
In RStudio we can call the functions and they run to completion, putting the report in the specified folder.
That is not the case
when it is called from Opencpu server. Both the test server
site, and a curl call fail with the same message:
cannot open the
connection
In call:
file(con, "w")
My interpretation is that the function cannot write to the specified folder, ie /tmp/. There is a folder there with the right timestamp on it, but it does not contain the file. The folder commences Rtmp....
Could you kindly advise me of how to understand that message and some direction towards a solution.
thanks in advance