Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rDrop won't work #13

Open
venyao opened this issue Nov 2, 2014 · 1 comment
Open

rDrop won't work #13

venyao opened this issue Nov 2, 2014 · 1 comment

Comments

@venyao
Copy link

venyao commented Nov 2, 2014

Recently I built a Shiny application and I want to use Dropbox to storage my data and then use R to read and write data. So I found your package rDrop which is exactly what I need. However, When I tried to begin the journey I got the following error.

dropbox_credentials <- dropbox_auth("w9y7653895h4h04", "4967dahbry7672s")
Error in function (type, msg, asError = TRUE) : couldn't connect to host

I can't figure out the reason. Can you help me with this? Thanks very much!

Here is my R console sessioninfo:

sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: i386-w64-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=Chinese (Simplified)_People's Republic of China.936
[2] LC_CTYPE=Chinese (Simplified)_People's Republic of China.936
[3] LC_MONETARY=Chinese (Simplified)_People's Republic of China.936
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_People's Republic of China.936

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

other attached packages:
[1] httr_0.4 Quandl_2.3.2 lubridate_1.3.3 ggplot2_1.0.0
[5] forecast_5.6 timeDate_3011.99 quantmod_0.4-0 TTR_0.22-0
[9] xts_0.9-7 zoo_1.7-11 Defaults_1.1-1 googleVis_0.5.6
[13] reshape_0.8.5 markdown_0.7.4 rmarkdown_0.2.46 shinyIncubator_0.2.1
[17] BiocInstaller_1.10.4 shiny_0.10.1 rDrop_0.3-0 stringr_0.6.2
[21] plyr_1.8.1 ROAuth_0.92.0 digest_0.6.4 RCurl_1.95-4.3
[25] bitops_1.0-6 RJSONIO_1.3-0

loaded via a namespace (and not attached):
[1] caTools_1.17 colorspace_1.2-4 devtools_1.5 evaluate_0.5.5 fracdiff_1.4-2
[6] grid_3.1.1 gtable_0.1.2 htmltools_0.2.4 httpuv_1.3.0 lattice_0.20-29
[11] MASS_7.3-34 memoise_0.2.1 munsell_0.4.2 nnet_7.3-8 parallel_3.1.1
[16] proto_0.3-10 quadprog_1.5-5 Rcpp_0.11.2 reshape2_1.4 scales_0.2.4
[21] tools_3.1.1 tseries_0.10-32 whisker_0.3-2 xtable_1.7-3

@venyao
Copy link
Author

venyao commented Nov 2, 2014

BTW, I can't get access to Dropbox.com since I am in China. So I modified my "hosts" file (add some IP for www.dropbox.com) and I can use Dropbox on my computer. I can ping through the www.dropbox.com.

C:\Users\ncpgr>ping www.dropbox.com

正在 Ping www.dropbox.com [108.160.165.147] 具有 32 字节的数据:
来自 108.160.165.147 的回复: 字节=32 时间=208ms TTL=45
来自 108.160.165.147 的回复: 字节=32 时间=206ms TTL=45
来自 108.160.165.147 的回复: 字节=32 时间=210ms TTL=45
来自 108.160.165.147 的回复: 字节=32 时间=206ms TTL=45

108.160.165.147 的 Ping 统计信息:
数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失),
往返行程的估计时间(以毫秒为单位):
最短 = 206ms,最长 = 210ms,平均 = 207ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant