Hi All, Does anyone know if there are plans to have rgdal compile correctly on the CRAN Mavericks machine? I?ve really been enjoying the binaries that have been available as building from source is a non-trival hassle. http://www.r-project.org/nosvn/R.check/r-release-osx-x86_64-mavericks/rgdal-00check.html Best, Ian
rgdal on mac os 10.9
9 messages · Simon Urbanek, 美彦 馬場, Manuel Spínola +3 more
On Apr 29, 2014, at 5:08 PM, Ian Fellows <ian.fellows at stat.ucla.edu> wrote:
Hi All, Does anyone know if there are plans to have rgdal compile correctly on the CRAN Mavericks machine? I?ve really been enjoying the binaries that have been available as building from source is a non-trival hassle.
.. and that is also the reason why it's not on or 10.9 just yet. I hope to get to building the necessary dependencies in the next week or so. Cheers, Simon
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Ian, 2014/04/30 6:08?Ian Fellows <ian.fellows at stat.ucla.edu> ?????
Hi All, Does anyone know if there are plans to have rgdal compile correctly on the CRAN Mavericks machine? I?ve really been enjoying the binaries that have been available as building from source is a non-trival hassle. http://www.r-project.org/nosvn/R.check/r-release-osx-x86_64-mavericks/rgdal-00check.html
I am using Fink version or R 3.1 and rgdal and so far with no problem. See my test. http://www.uclmail.net/users/babayoshihiko/fink/r/cran/cran-rgdal/index.html ? BABA Yoshihiko Ritsumeikan University
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20140430/c728d7bb/attachment.pl>
If I remember correctly, the installation from source was quite easy: apart from the usual compilers, you need gdal installed, which installs easily via homebrew [1]. After this, installation of rgdal from source worked without any additional configurations? Rainer Ian Fellows <ian.fellows at stat.ucla.edu> writes:
Hi All, Does anyone know if there are plans to have rgdal compile correctly on the CRAN Mavericks machine? I?ve really been enjoying the binaries that have been available as building from source is a non-trival hassle. http://www.r-project.org/nosvn/R.check/r-release-osx-x86_64-mavericks/rgdal-00check.html Best, Ian
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Footnotes: [1] http://brew.sh/
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer at krugs.de Skype: RMkrug PGP: 0x0F52F982 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 494 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20140430/f602d06f/attachment.bin>
On 30/04/2014 13:56, Rainer M Krug wrote:
If I remember correctly, the installation from source was quite easy: apart from the usual compilers, you need gdal installed, which installs easily via homebrew [1]. After this, installation of rgdal from source worked without any additional configurations?
No, not really. 1) for a portable package you will need static GDAL. 2) GDAL can make use of a wide range of external software to read raster files: without quite a lot of the optional ones it is not much use for rgdal and other R packages. Simon needs to build that for Mavericks, and statically too. However, Fellows has ignored all the advice to use the Snow Leopard package of R 3.1.0 if he wants rgdal. That is in the current manual (http://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-R-under-OS-X) and was posted to this list recently (https://stat.ethz.ch/pipermail/r-sig-mac/2014-April/010835.html). That is by far the easiest solution.
Rainer Ian Fellows <ian.fellows at stat.ucla.edu> writes:
Hi All, Does anyone know if there are plans to have rgdal compile correctly on the CRAN Mavericks machine? I?ve really been enjoying the binaries that have been available as building from source is a non-trival hassle. http://www.r-project.org/nosvn/R.check/r-release-osx-x86_64-mavericks/rgdal-00check.html Best, Ian
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Footnotes: [1] http://brew.sh/
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:
On 30/04/2014 13:56, Rainer M Krug wrote:
If I remember correctly, the installation from source was quite easy: apart from the usual compilers, you need gdal installed, which installs easily via homebrew [1]. After this, installation of rgdal from source worked without any additional configurations?
No, not really. 1) for a portable package you will need static GDAL. 2) GDAL can make use of a wide range of external software to read raster files: without quite a lot of the optional ones it is not much use for rgdal and other R packages. Simon needs to build that for Mavericks, and statically too.
Sorry - I was talking of installing it in R via type="source" not on CRAN. For CRAN it is definitely a different issue. Rainer
However, Fellows has ignored all the advice to use the Snow Leopard package of R 3.1.0 if he wants rgdal. That is in the current manual (http://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-R-under-OS-X) and was posted to this list recently (https://stat.ethz.ch/pipermail/r-sig-mac/2014-April/010835.html). That is by far the easiest solution.
Rainer Ian Fellows <ian.fellows at stat.ucla.edu> writes:
Hi All, Does anyone know if there are plans to have rgdal compile correctly on the CRAN Mavericks machine? I?ve really been enjoying the binaries that have been available as building from source is a non-trival hassle. http://www.r-project.org/nosvn/R.check/r-release-osx-x86_64-mavericks/rgdal-00check.html Best, Ian
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Footnotes: [1] http://brew.sh/
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer at krugs.de Skype: RMkrug PGP: 0x0F52F982 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 494 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20140430/61b14021/attachment.bin>
Thanks for the replies everyone,
@Simon: Thank you. That will be most useful, especially for those of us with dependent packages and (shall we say) a less sophisticated user base.
@Brian: Thank you for pointing that out, though I think ?ignored" is a inappropriate word. My main concern is not for myself (I can certainly figure out how to build and install rgdal and its dependancies), but for the users of my packages that depend on rgdal.
It is good to hear that the snow leapord binaries work. I was a little hesitant to use them as your linked e-mail lists rgdal in both the ?it?s okay to use the binaries? category, and the ?it?s missing for good reason? category so I wasn?t entirely sure if a subtle binary incompatibility might crop up.
@BABA and @Rainer: I?ve had (let?s say) mixed success with fink and homebrew. Thanks for sharing your experiences.
Best,
Ian
p.s. For reference, you can install rgdal from the snow leapord repo with:
download.file("http://cran.r-project.org/bin/macosx/contrib/3.1/rgdal_0.8-16.tgz","rgdal_0.8-16.tgz?)
install.packages("sp?)
install.packages("rgdal_0.8-16.tgz",.libPaths()[1],NULL)
On Apr 30, 2014, at 9:07 AM, Rainer M Krug <Rainer at krugs.de> wrote:
Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:
On 30/04/2014 13:56, Rainer M Krug wrote:
If I remember correctly, the installation from source was quite easy: apart from the usual compilers, you need gdal installed, which installs easily via homebrew [1]. After this, installation of rgdal from source worked without any additional configurations?
No, not really. 1) for a portable package you will need static GDAL. 2) GDAL can make use of a wide range of external software to read raster files: without quite a lot of the optional ones it is not much use for rgdal and other R packages. Simon needs to build that for Mavericks, and statically too.
Sorry - I was talking of installing it in R via type="source" not on CRAN. For CRAN it is definitely a different issue. Rainer
However, Fellows has ignored all the advice to use the Snow Leopard package of R 3.1.0 if he wants rgdal. That is in the current manual (http://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-R-under-OS-X) and was posted to this list recently (https://stat.ethz.ch/pipermail/r-sig-mac/2014-April/010835.html). That is by far the easiest solution.
Rainer Ian Fellows <ian.fellows at stat.ucla.edu> writes:
Hi All, Does anyone know if there are plans to have rgdal compile correctly on the CRAN Mavericks machine? I?ve really been enjoying the binaries that have been available as building from source is a non-trival hassle. http://www.r-project.org/nosvn/R.check/r-release-osx-x86_64-mavericks/rgdal-00check.html Best, Ian
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Footnotes: [1] http://brew.sh/
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
-- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer at krugs.de Skype: RMkrug PGP: 0x0F52F982
On Apr 30, 2014, at 12:42 PM, Ian Fellows <ian.fellows at stat.ucla.edu> wrote:
Thanks for the replies everyone,
@Simon: Thank you. That will be most useful, especially for those of us with dependent packages and (shall we say) a less sophisticated user base.
@Brian: Thank you for pointing that out, though I think ?ignored" is a inappropriate word. My main concern is not for myself (I can certainly figure out how to build and install rgdal and its dependancies), but for the users of my packages that depend on rgdal.
It is good to hear that the snow leapord binaries work. I was a little hesitant to use them as your linked e-mail lists rgdal in both the ?it?s okay to use the binaries? category, and the ?it?s missing for good reason? category so I wasn?t entirely sure if a subtle binary incompatibility might crop up.
@BABA and @Rainer: I?ve had (let?s say) mixed success with fink and homebrew. Thanks for sharing your experiences.
Best,
Ian
p.s. For reference, you can install rgdal from the snow leapord repo with:
download.file("http://cran.r-project.org/bin/macosx/contrib/3.1/rgdal_0.8-16.tgz","rgdal_0.8-16.tgz?)
install.packages("sp?)
install.packages("rgdal_0.8-16.tgz",.libPaths()[1],NULL)
Maybe more simply
install.packages('rgdal',type='mac.binary')
Use at your own risk, the binary builds use different compilers and ABIs so they are not guaranteed to be compatible. We make an effort to not make them unnecessarily incompatible, but that still doesn't guarantee compatibility.
Cheers,
Simon
On Apr 30, 2014, at 9:07 AM, Rainer M Krug <Rainer at krugs.de> wrote:
Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:
On 30/04/2014 13:56, Rainer M Krug wrote:
If I remember correctly, the installation from source was quite easy: apart from the usual compilers, you need gdal installed, which installs easily via homebrew [1]. After this, installation of rgdal from source worked without any additional configurations?
No, not really. 1) for a portable package you will need static GDAL. 2) GDAL can make use of a wide range of external software to read raster files: without quite a lot of the optional ones it is not much use for rgdal and other R packages. Simon needs to build that for Mavericks, and statically too.
Sorry - I was talking of installing it in R via type="source" not on CRAN. For CRAN it is definitely a different issue. Rainer
However, Fellows has ignored all the advice to use the Snow Leopard package of R 3.1.0 if he wants rgdal. That is in the current manual (http://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-R-under-OS-X) and was posted to this list recently (https://stat.ethz.ch/pipermail/r-sig-mac/2014-April/010835.html). That is by far the easiest solution.
Rainer Ian Fellows <ian.fellows at stat.ucla.edu> writes:
Hi All, Does anyone know if there are plans to have rgdal compile correctly on the CRAN Mavericks machine? I?ve really been enjoying the binaries that have been available as building from source is a non-trival hassle. http://www.r-project.org/nosvn/R.check/r-release-osx-x86_64-mavericks/rgdal-00check.html Best, Ian
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Footnotes: [1] http://brew.sh/
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
-- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer at krugs.de Skype: RMkrug PGP: 0x0F52F982
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac