[R-sig-Geo] help installing package webmaps

Michael Denslow michael.denslow at gmail.com
Sat Jan 23 19:40:27 CET 2010


Hi Barry!

On Sat, Jan 23, 2010 at 12:55 PM, Barry Rowlingson
<b.rowlingson at lancaster.ac.uk> wrote:
> [list owner: sorry I first sent this with the wrong email address]
>
> On Sat, Jan 23, 2010 at 5:20 PM, Michael Denslow
> <michael.denslow at gmail.com> wrote:
>
>> install.packages("webmaps",
>>        repos="http://R-Forge.R-project.org", dependencies = TRUE, type =
>> 'source') # Mac binary was not found
>
>  There's no Mac binary because there's no rgdal on R-forge. There's
> probably enough spatial packages on there that it wouldn't be a
> reasonable request for them to have it..

Got it and rgdal for Mac OS is a whole other issue....

>
>> trying URL 'http://R-Forge.R-project.org/src/contrib/weather_0.2.tar.gz'
>> Content type 'application/x-gzip' length 8454 bytes
>
>> * installing *source* package ‘weather’ ...
> [...]
>> ** building package indices ...
>> * DONE (weather)
>
>  'weather'? I don't know why my webmaps, or brew, would need that -
> did you mistype 'webmaps'?
>
>  That would explain:
>
>> library(webmaps)
>> Error in library(webmaps) : there is no package called 'webmaps'
>
>> Can anyone help me understand what I am doing wrong here?
>
>  My hypothesis is that you typed 'weather' instead of 'webmaps' :)
> There is a package on r-forge called 'weather'.


This is strange. I would not rule out a misspelling on my part but I
tried the script again after installing all of the needed dependencies
from CRAN and it still installs weather. I also tried to install
webmaps from the Mac GUI and same thing happens. This is even after
restarting R.

So I downloaded the source files and ran in the Terminal

cd ~/Downloads
R CMD INSTALL webmaps_1.2.tar.gz

And all is well. Thanks for your help, I am going through the vignette now.

Michael

>> Also is there a way to tell what the package dependencies are for a
>> package hosted on R forge?
>
>  Look at the DESCRIPTION file in the SCM section:
>
> https://r-forge.r-project.org/plugins/scmsvn/viewcvs.php/pkg/DESCRIPTION?rev=23&root=webmaps&view=markup
>
> For webmaps you'll need:
>
> Depends: sp, rgdal, brew, pixmap
>
> Hope that helps!
>
> Barry
>
>
> --
> blog: http://geospaced.blogspot.com/
> web: http://www.maths.lancs.ac.uk/~rowlings
> web: http://www.rowlingson.com/
> twitter: http://twitter.com/geospacedman
> pics: http://www.flickr.com/photos/spacedman
>



-- 
Michael Denslow

I.W. Carpenter Jr. Herbarium [BOON]
Department of Biology
Appalachian State University
Boone, North Carolina U.S.A.
-- AND --
Communications Manager
Southeast Regional Network of Expertise and Collections
sernec.org

36.214177, -81.681480 +/- 3103 meters



More information about the R-sig-Geo mailing list