ramnathv / rMaps

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

Installation Error. #64

Closed bewger closed 10 years ago

bewger commented 10 years ago

Hi,

i'm using:

library(devtools)
install_github("rCharts", "ramnathv")

That gives me an error:

Error in function (type, msg, asError = TRUE)  : couldn't connect to host

I try again using:

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

That gives me this error:

Warning in untar2(tarfile, files, list, exdir, restore_times) :
  skipping pax global extended headers
ERROR: dependency 'yaml' is not available for package 'rCharts'
* removing 'C:/Users/susa/Documents/R/R-3.1.0/library/rCharts'
Warning in install.packages :
  running command '"C:/Users/susa/DOCUME~1/R/R-31~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\susa\Documents\R\R-3.1.0\library" "rCharts.tar.gz"' had status 1
Warning in install.packages :
  installation of package ‘rCharts.tar.gz’ had non-zero exit status

Can anyone assist me with this issue? I look forward to using rCharts. Thank you!

ramnathv commented 10 years ago

The error message implies that you don't have one of the dependencies installed. Install the yaml package first and then try installing rCharts as you have done before.

install.packages('yaml')
bewger commented 10 years ago

That fixed it! Thank you so much.