[Qgis-developer] manageR plugin: hot wo load R package "sp"

"Peter Löwe" peter.loewe at gmx.de
Fri Nov 19 05:23:28 EST 2010


Hi Barry,

thanks for the quick repsonse.

I am working on an OpenSUSe system (YaST based) with limited admi rights.

Best,
Peter

-------- Original-Nachricht --------
> Datum: Fri, 19 Nov 2010 09:39:17 +0000
> Von: Barry Rowlingson <b.rowlingson at lancaster.ac.uk>
> An: peter.loewe at gmx.de
> CC: qgis-developer at lists.osgeo.org
> Betreff: Re: [Qgis-developer] manageR plugin: hot wo load R package "sp"

> On Fri, Nov 19, 2010 at 8:26 AM,  <peter.loewe at gmx.de> wrote:
> > Hi List,
> >
> > the manageR plugin requires for the action "Import Layer From Canvas"
> the R package "sp".
> >
> > The common way to install sp within the manageR CLI fails:
> >
> >> install.packages("sp")
> > Installing package(s) into
> ‘/home/pel/R/x86_64-unknown-linux-gnu-library/2.12’
> > (as ‘lib’ is unspecified)
> > --- Please select a CRAN mirror for use in this session ---
> > Loading Tcl/Tk interface ... done
> > trying URL 'http://cran.at.r-project.org/src/contrib/sp_0.9-72.tar.gz'
> > Content type 'application/x-gzip' length 535353 bytes (522 Kb)
> > opened URL
> > ==================================================
> > downloaded 522 Kb
> >
> >
> > The downloaded packages are in
> >        ‘/tmp/RtmpOTaSDB/downloaded_packages’
> > Warning message:
> > In install.packages("sp") :
> >  installation of package 'sp' had non-zero exit status
> >
> >
> > Does anybody know a way to solve this one ?
> 
>  What happens when you try this from the R command line from a
> terminal window, rather than manageR? Possibly manageR is hiding some
> diagnostic messages.
> 
>  Since sp is being installed from source, my first suspicion is that
> you don't have the requisite C/Fortran compilers on your system. Is it
> ubuntu/apt-based? Do "sudo apt-get install build-essential" from a
> command line, that should get them.
> 
> Barry

-- 
Dr. Peter Löwe
<peter.loewe at gmx.de>





Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail


More information about the Qgis-developer mailing list