pachadotdev / analogsea

Digital Ocean R client
https://pacha.dev/analogsea/
Apache License 2.0
155 stars 24 forks source link

could not create rstudio docklet #52

Closed behrica closed 10 years ago

behrica commented 10 years ago

On my local R, the oauth works, but calling docklet_rstudio() fails with Error: is.config(config) is not TRUE

Session history is:

Type 'q()' to quit R.
> library("analogsea")

Attaching package: ‘analogsea’

The following object is masked from ‘package:graphics’:

    image

> droplets()
Waiting for authentication in browser...
Press Esc/Ctrl + C to abort
Authentication complete.
$counterquery
<droplet>counterquery (2757579)
  Status: active
  Region: Amsterdam 1
  Image: Ubuntu 14.04 x64
  Size: 512mb ($0.00744 / hr)

> docklet_rstudio(2757579)
Error: is.config(config) is not TRUE
> sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

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

other attached packages:
[1] analogsea_0.1.8.9999

loaded via a namespace (and not attached):
 [1] assertthat_0.1  digest_0.6.4    httpuv_1.3.0    httr_0.5       
 [5] jsonlite_0.9.12 magrittr_1.0.1  packrat_0.4.1-1 plyr_1.8.1     
 [9] Rcpp_0.11.3     RCurl_1.95-4.3  stringr_0.6.2   tools_3.1.1    
> 
> 
sckott commented 10 years ago

You need to do docklet_create() then do docklet_rstudio()

Try reinstalling analogsea then try that again.

behrica commented 10 years ago

It works now, thanks.