ramnathv / rMaps

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

Installation Problem #32

Closed yna2102 closed 10 years ago

yna2102 commented 10 years ago

Hi,

Although I have no issues installing rMaps, I can't seem to install the the dev version of rCharts.

When I use install_github('ramnathv/rCharts@dev') , this is what I get:

Installing github repo rCharts/dev from ramnathv
Downloading rCharts.zip from https://github.com/ramnathv/rCharts/archive/dev.zip
Installing package from /var/folders/sq/d17nht2d26q8pd76602j9jmh0000gn/T//RtmpeljKXM/rCharts.zip
arguments 'minimized' and 'invisible' are for Windows only
Installing rCharts
'/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD INSTALL  \
  '/private/var/folders/sq/d17nht2d26q8pd76602j9jmh0000gn/T/RtmpeljKXM/devtoolsf1532b10324/rCharts-dev'  \
  --library='/Library/Frameworks/R.framework/Versions/3.0/Resources/library' --install-tests 

* installing *source* package 'rCharts' ...
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(name) : there is no package called 'base64enc'
Error : unable to load R code in package 'rCharts'
ERROR: lazy loading failed for package 'rCharts'
* removing '/Library/Frameworks/R.framework/Versions/3.0/Resources/library/rCharts'
* restoring previous '/Library/Frameworks/R.framework/Versions/3.0/Resources/library/rCharts'
Error: Command failed (1)

Any guidance would be greatly appreciated.

Mac OSX 10.9.1 RStudio 0.98.490

ramnathv commented 10 years ago

Install the dependency base64enc using install.packages('base64enc'). Then install rCharts as before. The dev version might be unstable, so I would recommend sticking with the master.