When working with Rstudio Server, it is very easy to download a file from the server with File>More>Export... The web browser will automatically start downloading.
Is there a way to generate this download with an R command ?
When working with Rstudio Server, it is very easy to download a file from the server with File>More>Export... The web browser will automatically start downloading.
Is there a way to generate this download with an R command ?
Does browseURL do it for you:
That should fire it up in a browser. To download directly in R,
download.file
is what you want, but that hangs the command line until complete.