Thanks Mike-
Installing gdal seems to have done the trick as you say.  Thins link was
helpful in building gdal (and proj4) for my Ubuntu 10.04 (Lucid) system.
Best regards,
Tim

On Mon, Jun 7, 2010 at 3:21 PM, Michael Sumner <mdsum...@gmail.com> wrote:

> Hi Tim,
>
> Presumably you don't have GDAL installed - which you need for rgdal to
> build from source on Linux.
>
> (On Windows the binary rgdal comes packaged with all the required
> dependencies, because of substantial efforts by the rgdal and R
> maintainers. )
>
> There is a readme in the source package for rgdal in rgdal\inst\README
>
> Cheers, Mike.
>
>
>
> On Tue, Jun 8, 2010 at 11:09 AM, tsippel <tsip...@gmail.com> wrote:
> > Hi-
> > I've just switched from Windows to Linux, and am encountering a problem
> with
> > installing rgdal in R.
> >
> >> install.packages('rgdal')
> > Warning in install.packages("rgdal") :
> >  argument 'lib' is missing: using
> > '/home/au/R/x86_64-pc-linux-gnu-library/2.10'
> > --- Please select a CRAN mirror for use in this session ---
> > Loading Tcl/Tk interface ... done
> > trying URL 'http://cran.stat.ucla.edu/src/contrib/rgdal_0.6-27.tar.gz'
> > Content type 'application/x-tar' length 1417523 bytes (1.4 Mb)
> > opened URL
> > ==================================================
> > downloaded 1.4 Mb
> >
> > * installing *source* package ‘rgdal’ ...
> > gdal-config: gdal-config
> > ./configure: line 1311: gdal-config: command not found
> > Error: gdal-config not found
> > The gdal-config script distributed with GDAL could not be found.
> > If you have not installed the GDAL libraries, you can
> > download the source from  http://www.gdal.org/
> > If you have installed the GDAL libraries, then make sure that
> > gdal-config is in your path. Try typing gdal-config at a
> > shell prompt and see if it runs. If not, use:
> >  --configure-args='--with-gdal-config=/usr/local/bin/gdal-config' echo
> with
> > appropriate values for your installation.
> >
> > ERROR: configuration failed for package ‘rgdal’
> > * removing ‘/home/au/R/x86_64-pc-linux-gnu-library/2.10/rgdal’
> >
> > The downloaded packages are in
> > ‘/tmp/RtmprMw6kD/downloaded_packages’
> > Warning message:
> > In install.packages("rgdal") :
> >  installation of package 'rgdal' had non-zero exit status
> >
> > My sessionInfo is:
> >
> >> sessionInfo()
> > R version 2.10.1 (2009-12-14)
> > x86_64-pc-linux-gnu
> >
> > locale:
> >  [1] LC_CTYPE=en_US.utf8       LC_NUMERIC=C
> >  [3] LC_TIME=en_US.utf8        LC_COLLATE=en_US.utf8
> >  [5] LC_MONETARY=C             LC_MESSAGES=en_US.utf8
> >  [7] LC_PAPER=en_US.utf8       LC_NAME=C
> >  [9] LC_ADDRESS=C              LC_TELEPHONE=C
> > [11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C
> >
> > attached base packages:
> > [1] stats     graphics  grDevices utils     datasets  methods   base
> >
> > loaded via a namespace (and not attached):
> > [1] tcltk_2.10.1 tools_2.10.1
> >
> > Any advice on this would be appreciated.
> >
> > Thanks,
> >
> > Tim
> >
> >        [[alternative HTML version deleted]]
> >
> >
> > _______________________________________________
> > R-sig-Geo mailing list
> > R-sig-Geo@stat.math.ethz.ch
> > https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> >
> >
>

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to