I tried to develop hands-on materials for R with dashDB. I want to use ggmap package to work with geospatial data, so I typed "install.packages("ggmap")" on RStudio provided by Bluemix.
I got the following result. I found the pre-installed package "ggplot" was older than that ggmap required.
install.packages("ggmap")
:
Loading required package: rpart
Loading required package: rpart.plot
Loading required package: ggplot2
* installing *source* package ‘ggmap’ ...
** package ‘ggmap’ successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Error : package ‘ggplot2’ 1.0.1 is loaded, but >= 2.0.0 is required by ‘ggmap’
ERROR: lazy loading failed for package ‘ggmap’
* removing ‘/mnt/blumeta0/home/dash101482/R/x86_64-redhat-linux-gnu-library/3.2/ggmap’
Warning in install.packages :
installation of package ‘ggmap’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmps0c2yk/downloaded_packages’
Cloud anyone please tell me how to solve or avoid this error?