ropensci / bowerbird

Keep a collection of sparkly data resources
https://docs.ropensci.org/bowerbird
Other
47 stars 6 forks source link

possible issue, found on RStudio cloud #16

Closed mdsumner closed 6 years ago

mdsumner commented 6 years ago

I don't really have any leads for what might have happened, but I tried this on rstudio.cloud today, and while the sync job downloaded all the NRT files (270Mb) the session crashed for some reason.

From what I can gather the user session has access to 1.5 Gb for files so I don't think the quota was the problem. I can read and interact with the files now, in the reloaded project. I'll try to explore this some more, with a filter to avoid downloading all the NRT files. Possibly it's to do with the console output, and something to do with RStudio rather than bb.

sources <- "NSIDC SMMR-SSM/I Nasateam near-real-time sea ice concentration"
library(blueant)
## define a local file root, this code may be used
## to identify a predictable location for this package *for a given user*
local_file_root <- rappdirs::user_data_dir(appname = "seaice")

## create the local directly if it doesn't exist
if (!file.exists(local_file_root) || file.info(local_file_root)$isdir) {
  dir.create(local_file_root ,recursive = TRUE)
}
## /home/rstudio-user/.local/share/seaice
config <- bb_config(local_file_root = local_file_root)
config <- config %>% bb_add(blueant_sources(sources))
bb_sync(config)

the session info

R version 3.4.2 (2017-09-28)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS

Matrix products: default
BLAS: /usr/lib/atlas-base/atlas/libblas.so.3.0
LAPACK: /usr/lib/atlas-base/atlas/liblapack.so.3.0

locale:
 [1] LC_CTYPE=C.UTF-8       LC_NUMERIC=C           LC_TIME=C.UTF-8       
 [4] LC_COLLATE=C.UTF-8     LC_MONETARY=C.UTF-8    LC_MESSAGES=C.UTF-8   
 [7] LC_PAPER=C.UTF-8       LC_NAME=C              LC_ADDRESS=C          
[10] LC_TELEPHONE=C         LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C   

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.4.2 tools_3.4.2    rappdirs_0.3.1 yaml_2.1.16    knitr_1.19 
mdsumner commented 6 years ago

Ah, I forgot - it ran in a markdown context, with the output cached into the document - so I reckon that's it. Running the bb_sync again finished quickly and with no problems, so I think bowerbird is off the hook.