Error in eval(expr, envir, enclos) : could not find function “GetMap”
:sigh: Didn't know that the program shown here is not complete. http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=RgoogleMaps:RgoogleMaps-package The following needs to be added in the file. library(RgoogleMaps) png(filename="RgoogleMaps-package_%03d_med.png", width=480, height=480)
On 16 July 2012 17:31, Anisha Kaul <born.rebel.83 at gmail.com> wrote:
Greetings, System: openSUSE 11.3 64 bit Here's the content of my file - "mow.R"
____________________________________ MyMap <- GetMap(markers = '40.702147,-74.015794,blues%7C40.711614,-74.012318,greeng%7C40.718217,-73.998284,redc', destfile = "MyTile1.png"); ____________________________________ as shown on: http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=RgoogleMaps:RgoogleMaps-package Now, on executing "mow.R", I get: ____________________________________ source('mow.R') Error in eval(expr, envir, enclos) : could not find function "GetMap" ____________________________________ `Rgooglemaps` is already installed. ____________________________________ linux-y3pi: # R CMD INSTALL RgoogleMaps_1.2.0.tar.gz * installing to library ?/usr/lib64/R/library? * installing *source* package ?RgoogleMaps? ... ** package ?RgoogleMaps? successfully unpacked and MD5 sums checked ** R ** inst ** preparing package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ?RgoogleMaps-intro.Rnw? ** testing if installed package can be loaded * DONE (RgoogleMaps) ____________________________________ What's the point that I am missing? Please guide. -- Anisha Kaul
Anisha Kaul