<html><body><div><div>Hi, </div><div><br></div><div>Could you - or any other mac users who've been successful installing rgdal - elaborate how you did it? </div><div><br></div><div>I'm trying to install rgdal in my iMac (os X 10.6.7). I have latest Mac R app. version 2.13.0. </div><div>I downloaded the GDAL framework 1.8 and its dependencies from the kyngchaos site -- under the GDAL section of the page: </div><div><br></div><div><blockquote type="cite" style="padding-top: 0px; border-left-width: 2px; border-left-style: solid; border-left-color: rgb(0, 51, 153); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-right: 12px; padding-bottom: 8px; padding-left: 12px; color: rgb(0, 51, 153); " _mce_style="padding-top: 0px; border-left-width: 2px; border-left-style: solid; border-left-color: #003399; padding-right: 12px; padding-bottom: 8px; padding-left: 12px; color: #003399; margin: 0px;"><div class="msg-quote"><div class="_stretch" style="font-family: Helvetica, Arial, Verdana, sans-serif; font-size: 13px; max-width: 100%; " _mce_style="font-family: Helvetica, Arial, Verdana, sans-serif; font-size: 13px; max-width: 100%;"><a href="http://www.kyngchaos.com/software/frameworks" _mce_href="http://www.kyngchaos.com/software/frameworks" style="color: rgb(10, 141, 233); " _mce_style="color: #0a8de9;">http://www.kyngchaos.com/software/frameworks</a></div></div></blockquote></div><div><br></div><div><div><br></div><div>But not sure the that the installation has put it in the right configuration, path for loading into R.</div><div><br></div><div>In R, I installed and loaded library 'sp' which rgdal needs..</div><div><br></div><div>Then tried to install the GDAL package - I go to the R Package Installer, select 'Local Binary Package' from the popup, then click 'Install...'. </div><div>I was able to locate and select the rgdal tarball to install and load it for use in R, but get error message:</div></div></div><div><pre style="font-family: Helvetica,Arial,sans-serif; font-size: 13px" _mce_style="font-family: Helvetica,Arial,sans-serif; font-size: 13px;">1: 'tar' returned non-zero exit code 1
2: In filerename(file.path(tmpDir, pkgname), instPath) :
cannot rename file '/Users/robinhunnewell/Library/R/2.13/library/file3af03e3f/GDAL' to '/Users/robinhunnewell/Library/R/2.13/library/GDAL', reason 'No such file or directory'
3: unable to move temporary installation '/Users/robinhunnewell/Library/R/2.13/library/file3af03e3f/GDAL' to '/Users/robinhunnewell/Library/R/2.13/library/GDAL'
</pre><div><br></div><div>Is it because GDAL is not in the right place? Thanks v much if anyone can anyone help!</div><pre style="font-family: Helvetica,Arial,sans-serif; font-size: 13px" _mce_style="font-family: Helvetica,Arial,sans-serif; font-size: 13px;">Robin</pre></div><div><br>On 02 May, 2011,at 11:23 AM, Christopher Fusting <cfusting@gmail.com> wrote:<br><br></div><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch">I had a similar problem. The port under the GDAL section of this page<br>
worked for me:<br>
<br>
<a href="http://www.kyngchaos.com/software/frameworks" _mce_href="http://www.kyngchaos.com/software/frameworks">http://www.kyngchaos.com/software/frameworks</a><br>
<br>
_Chris<br>
<br>
2011/5/2 Ant�nio M. Rodrigues <<a href="mailto:amcrgrodrigues@gmail.com" _mce_href="mailto:amcrgrodrigues@gmail.com" onclick="return false;">amcrgrodrigues@gmail.com</a>><br>
<br>
> Hi,<br>
><br>
><br>
> I'm trying to instal library rgdal in my macbook (os X 10.6.7).<br>
><br>
><br>
> I have installed the latest R package (R-2.13.0.pkg).<br>
><br>
><br>
> I have gdal 1.8 install. Also, I have loaded library sp which rgdal needs.<br>
><br>
><br>
> I downloaded rdgal_0.6-33.tgz and using R Package installer, I located and<br>
> installed the Local Binary Package.<br>
><br>
><br>
> When trying to load rgdal ( >library(rgdal)in the R prompt) I get the<br>
> error:<br>
><br>
><br>
> -----<br>
><br>
> Error : .onLoad failed in loadNamespace() for 'rgdal', details:<br>
><br>
> call: fun(...)<br>
><br>
> error:<br>
><br>
> GDAL Error 1: dlopen(/Library/Application<br>
> Support/GDAL/1.8/PlugIns/gdal_GRASS.dylib, 1): Library not loaded:<br>
> /Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib<br>
><br>
> Referenced from: /Library/Application<br>
> Support/GDAL/1.8/PlugIns/gdal_GRASS.dylib<br>
><br>
> Reason: image not found<br>
><br>
><br>
> Error: package/namespace load failed for 'rgdal'<br>
><br>
> -----<br>
><br>
><br>
> Any help will be much appreciated.<br>
><br>
> thanks,<br>
><br>
> Ant�nio<br>
><br>
> [[alternative HTML version deleted]]<br>
><br>
><br>
> _______________________________________________<br>
> R-sig-Geo mailing list<br>
> <a href="mailto:R-sig-Geo@r-project.org" _mce_href="mailto:R-sig-Geo@r-project.org" onclick="return false;">R-sig-Geo@r-project.org</a><br>
> <a href="https://stat.ethz.ch/mailman/listinfo/r-sig-geo" _mce_href="https://stat.ethz.ch/mailman/listinfo/r-sig-geo">https://stat.ethz.ch/mailman/listinfo/r-sig-geo</a><br>
><br>
><br>
<br>
<br>
-- <br>
Christopher W. Fusting<br>
<br>
GIS Consulting<br>
Predictive Modeling<br>
Remote Sensing<br>
<br>
Cell:<br>
828-772-0012<br>
<br>
[[alternative HTML version deleted]]<br>
<br>
</div><div class="_stretch">_______________________________________________<br>
R-sig-Geo mailing list<br>
<a href="mailto:R-sig-Geo@r-project.org" _mce_href="mailto:R-sig-Geo@r-project.org" onclick="return false;">R-sig-Geo@r-project.org</a><br>
<a href="https://stat.ethz.ch/mailman/listinfo/r-sig-geo" _mce_href="https://stat.ethz.ch/mailman/listinfo/r-sig-geo">https://statethz.ch/mailman/listinfo/r-sig-geo</a><br>
</div></div></blockquote></div></body></html>