Hi,

On Sat, Apr 6, 2013 at 5:57 AM, Marc Girondot <marc_grt@yahoo.fr> wrote:

> I posted my question in R-help Mailing list but Brian Ripley answers that
> it was not the good place to ask for it.
> Since R 3.0.0, compiled version of maptools package is no more available
> as a binary in cran. Brian Ripley answers me that I must build it from
> source... ok. But how. That is my question.
> He gives me the trick that rgeos must be installed first:
> I do it from http://r.research.att.com/**libs/<http://r.research.att.com/libs/>
>
> Then how to build maptools package ? I am lost.
>

It would be helpful to know what version of osx you are running. In the
meantime, you will need to install gcc on your system, do you have it
already?

Run `gcc --version` from the command line and let us know what the output
is.

If you do not have gcc installed, you will have to do that first. Depending
on the version of your OS there maybe be more than one way to do it. Google
"how to install gcc on YOUR OS VERSION" -- that should pop up lots of
results.

Did you install rgeos from the link you sent?

Once these things are done, it might be as easy as running
"install.packages('maptools', type='source')" from inside R to install your
package.

If you have all of the external dependencies installed that I mentioned
above and the install.packages command fails, please copy/paste the error
that it gives you here.

HTH,
-steve

-- 
Steve Lianoglou
Defender of The Thesis
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact

	[[alternative HTML version deleted]]

