[R-sig-Geo] help installing package webmaps

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Sat Jan 23 18:55:19 CET 2010


[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..

> 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'.

> 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



More information about the R-sig-Geo mailing list