d <- droplet_create()
d <- droplet(d$id) # https://github.com/sckott/analogsea/issues/166
droplet_ssh(d, "apt-get update")
debian_install_r(d)
results <- d %>% droplet_execute({
x <- letters
numbers <- runif(1000)
})
Which results in:
Uploading R code to droplet...
[100%] /private/var/folders/2l/5pk52qgj5d35gg33ywj3n7hm0000gn/T/RtmpGjCsr2/file70c03b1f2021
remote.R
Running R code...
Downloading results...
Error in normalizePath(to, mustWork = TRUE) :
path[1]="/var/folders/2l/5pk52qgj5d35gg33ywj3n7hm0000gn/T//RtmpGjCsr2/file70c0787674d9": No such file or directory
Session Info
```r R version 4.0.2 (2020-06-22) Platform: x86_64-apple-darwin17.0 (64-bit) Running under: macOS High Sierra 10.13.6 Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] analogsea_0.8.1.92 loaded via a namespace (and not attached): [1] httr_1.4.2 compiler_4.0.2 magrittr_1.5 R6_2.4.1 credentials_1.3.0 ssh_0.7.0 tools_4.0.2 [8] yaml_2.2.1 curl_4.3 remotes_2.2.0 jsonlite_1.7.0 openssl_1.4.2 sys_3.4 askpass_1.1 ```Following the docs I tried this:
Which results in:
Thanks!