<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Monaco;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-AU link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Dear list members,<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>I am running R on a macbook pro with mac osx lion and trying
to do some spatial modelling with R. I have run into a problem in loading
rgdal. I understand that the installation of rgdal in mac is different from
other packages and followed the instructions given in CRAN rgdal page updated
in last January. The rgdal downloaded successfully but didn’t appear to
get installed successfully and failed to load.  I have copied the screen
print segment below. Is it because of the difference in mac osx version I am
using? I would appreciate if someone could interpret it and suggest what should
I do to get rgdal loaded.  I am desperate to use the functions of this
package.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:blue'>setRepositories(ind=1:2)<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:purple'>></span><span style='font-family:Monaco;color:blue'>install.packages('rgdal')<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:red'>trying URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/macosx/leopard/contrib/2.15/rgdal_0.7-8.tgz'<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:red'>Content type 'application/x-gzip' length 13818239 bytes (13.2 Mb)<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:red'>opened URL<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:red'>==================================================<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:red'>downloaded 13.2 Mb<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:red'><o:p> </o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco'><o:p> </o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco'>The
downloaded binary packages are in<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco'>   
/var/folders/17/452p64r17tj_p4y6gmpw5h4c0000gn/T//Rtmp3v4WEZ/downloaded_packages<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:purple'>></span><span style='font-family:Monaco;color:blue'>library(rgdal)<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:red'>Error in dyn.load(file, DLLpath = DLLpath, ...) : <o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:red'>unable to load shared object '/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/libs/x86_64/rgdal.so':<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:red'>dlopen(/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/libs/x86_64/rgdal.so,
6): Library not loaded: /Library/Frameworks/R.framework/Versions/2.14/Resources/lib/libR.dylib<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:red'>  Referenced from: /Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/libs/x86_64/rgdal.so<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:red'>  Reason: image not found<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:red'>Error: package/namespace load failed for ‘rgdal’<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:Monaco;
color:red'><o:p> </o:p></span></p>

<p class=MsoNormal>**********************************************************<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>thanks<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal style='margin-left:6.35pt;line-height:12.0pt;text-autospace:
none'><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Ahmed Hafi <o:p></o:p></span></b></p>

<p class=MsoNormal style='margin-left:6.35pt;line-height:12.0pt;text-autospace:
none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Senior Economist |   ABARES   |  
Biosecurity and Farm Analysis<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:6.35pt;line-height:120%;text-autospace:
none'><span lang=EN-GB style='font-size:10.0pt;line-height:120%;font-family:
"Tahoma","sans-serif";color:black'><o:p> </o:p></span></p>

<p class=MsoNormal style='margin-left:6.35pt;line-height:120%;text-autospace:
none'><span lang=EN-GB style='font-size:10.0pt;line-height:120%;font-family:
"Tahoma","sans-serif";color:black'>Phone +61 2 6272 2081    <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:6.35pt;line-height:120%;text-autospace:
none'><span style='font-size:8.0pt;line-height:120%;font-family:"Arial","sans-serif";
color:black'>Email <a href="mailto:sally.thorpe@abare-brs.gov.au"
title="blocked::mailto:leanna.tedesco@abare-brs.gov.au"><span style='line-height:
120%;color:blue'>ahmed.hafi@daff.gov.au</span></a></span><span lang=EN-GB
style='font-size:10.0pt;line-height:120%;font-family:"Tahoma","sans-serif";
color:black'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:6.35pt;line-height:120%;text-autospace:
none'><span lang=EN-GB style='font-size:10.0pt;line-height:120%;font-family:
"Tahoma","sans-serif";color:black'><o:p> </o:p></span></p>

<p class=MsoNormal style='margin-left:6.35pt;line-height:120%;text-autospace:
none'><span lang=EN-GB style='font-size:10.0pt;line-height:120%;font-family:
"Tahoma","sans-serif";color:black'>Australian Bureau of Agricultural and
Resource Economics and Sciences<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:6.35pt;line-height:120%;text-autospace:
none'><span lang=EN-GB style='font-size:10.0pt;line-height:120%;font-family:
"Tahoma","sans-serif";color:black'>Department of Agriculture, Fisheries and
Forestry<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:6.35pt;line-height:120%;text-autospace:
none'><span lang=EN-GB style='font-size:10.0pt;line-height:120%;font-family:
"Tahoma","sans-serif";color:black'>18 Marcus Clarke Street, Canberra ACT 2601
Australia<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:6.35pt;line-height:120%;text-autospace:
none'><span lang=EN-GB style='font-size:10.0pt;line-height:120%;font-family:
"Tahoma","sans-serif";color:black'>GPO Box 1563 Canberra ACT 2601 Australia<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:6.35pt;line-height:120%;text-autospace:
none'><span lang=EN-GB style='font-size:10.0pt;line-height:120%;font-family:
"Tahoma","sans-serif";color:black'><o:p> </o:p></span></p>

<p class=MsoNormal style='margin-left:6.35pt;line-height:120%;text-autospace:
none'><span lang=EN-GB style='font-size:10.0pt;line-height:120%;font-family:
"Tahoma","sans-serif";color:black'>daff.gov.au/abares<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:6.35pt;line-height:120%;text-autospace:
none'><span lang=EN-GB style='font-size:10.0pt;line-height:120%;font-family:
"Tahoma","sans-serif";color:black'><o:p> </o:p></span></p>

<p class=MsoNormal style='margin-left:6.35pt'><a
href="http://twitter.com/abares"><b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:blue;text-decoration:none'><img border=0 width=45
height=45 id="Picture_x0020_1" src="cid:image001.jpg@01CD1965.FCF1F8C0"
alt="cid:image001.jpg@01CCA2DD.788388A0"></span></b></a><a
href="http://www.facebook.com/pages/Australian-Bureau-of-Agricultural-Resource-Economics-Sciences-ABARES/157609254289602"><b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue;
text-decoration:none'><img border=0 width=46 height=45 id="Picture_x0020_2"
src="cid:image002.jpg@01CD1965.FCF1F8C0"
alt="cid:image002.jpg@01CCA2DD.788388A0"></span></b></a><span style='font-size:
10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><o:p> </o:p></p>

</div>


<P><br/>------<br/>------<br/>IMPORTANT - This email and any attachments have been issued by the Australian Government Department of Agriculture, Fisheries and Forestry (DAFF). The material transmitted is for the use of the intended recipient only and may contain confidential, legally privileged, copyright or personal information. You should not copy, use or disclose it without authorisation from DAFF. It is your responsibility to check any attachments for viruses and defects before opening or forwarding them.<br/><br/>If you are not an intended recipient, please contact the sender of this email at once by return email and then delete both messages. Unintended recipients must not copy, use, disclose, rely on or publish this email or attachments. DAFF is not liable for any loss or damage resulting from unauthorised use or dissemination of, or any reliance on, this email or attachments. <br/><br/>If you have received this e-mail as part of a valid mailing list and no longer want to receive a message such as this one, advise the sender by return e-mail accordingly.<br/><br/>This notice should not be deleted or altered.<br/><br/>------<br/><br/><br/>------<br/>
</P></body>

</html>