Issue with dropbox_get()
- Dominant language
- R
- Stars
- 65
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Hi there,
I have problem with dropbox_get function. I have connected to my dropbox and there is no problem using function dropbox_save, but when I want to download csv file, I get an error.
Could you help me with that? I would be very grateful!
``` r
library(rDrop)
drop_token<-dropbox_auth('key','secret_key',ssl.verifypeer=FALSE)
Use the Web browser to grant permission to this code
to access Dropbox on your behalf.
When you see 'Success!', hit enter in R
Dropbox authentication completed successfully.
exists.in.dropbox(drop_token,'kgh.csv',ssl.verifypeer=FALSE)
[1] TRUE
df2<-dropbox_get(drop_token,'kgh.csv',ssl.verifypeer=FALSE)
Error in function (type, msg, asError = TRUE) :
SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
```
**db.read.csv** do not work either...and I get this error:
``` r
Error in fromJSON(OAuthRequest(cred, "https://api.dropbox.com/1/search/dropbox/", :
error in evaluating the argument 'content' in selecting a method for function 'fromJSON': Error in function (type, msg, asError = TRUE) :
SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
```
I work on Windows 7 64 bit and here is my session.info.
``` r
R version 2.15.2 (2012-10-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=Polish_Poland.1250 LC_CTYPE=Polish_Poland.1250 LC_MONETARY=Polish_Poland.1250 LC_NUMERIC=C LC_TIME=Polish_Poland.1250
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rDrop_0.3 stringr_0.6.2 colorspace_1.2-1 Rcpp_0.10.2 plyr_1.8 ROAuth_0.92.0 digest_0.6.2 RCurl_1.95-3 bitops_1.0-5 RJSONIO_1.0-1
loaded via a namespace (and not attached):
[1] tools_2.15.2
```
edit:
**dropbox_media** do not work either.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.