ramnathv / rMaps

Interactive Maps from R
http://rmaps.github.io
388 stars 194 forks source link

Hi Ramnathv, #108

Closed schangan closed 8 years ago

schangan commented 8 years ago

Hi Ramnathv, I tried the traditional way of installing the rCharts using the below code.

install.packages("devtools") require(devtools) require(Rcpp) install_github("ramnathv/rCharts") install_github("ramnathv/rCharts@dev")

Didnt work got the below error message

install_github("ramnathv/rCharts@dev") Downloading GitHub repo ramnathv/rCharts@dev from URL https://api.github.com/repos/ramnathv/rCharts/zipball/dev Error in curl::curl_fetch_memory(url, handle = handle) : Timeout was reached

I tried the below code as well as i see you suggested in a another thread

install.packages('base64enc') require('base64enc') install.packages('downloader') library(downloader) download("https://github.com/ramnathv/rCharts/archive/master.tar.gz", "rCharts.tar.gz") install.packages("rCharts.tar.gz", repos = NULL, type = "source")

But got the below message

install.packages("rCharts.tar.gz", repos = NULL, type = "source") Installing package into ‘C:/Users/schangan/Documents/R/win-library/3.2’ (as ‘lib’ is unspecified) Warning in untar2(tarfile, files, list, exdir, restore_times) : skipping pax global extended headers ERROR: dependencies 'RCurl', 'RJSONIO', 'yaml' are not available for package 'rCharts'

  • removing 'C:/Users/schangan/Documents/R/win-library/3.2/rCharts' Warning in install.packages : running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\schangan\Documents\R\win-library\3.2" "rCharts.tar.gz"' had status 1 Warning in install.packages : installation of package ‘rCharts.tar.gz’ had non-zero exit status

Can you please help in rectifying

Thanks Sumesh

schangan commented 8 years ago

Hi Ramnathv,

Got resolved as i installed the required dependent packages. 'RCurl', 'RJSONIO', 'yaml

Excited to try the charts!!!!

Thanks Sumesh