[R-SIG-Mac] Compiling Source packages in Mac OS 10.5.8

Oscar Moreno oscar.moreno at verizon.net
Tue Jul 19 19:02:44 CEST 2011


Thanks Duncan for the instructions.  Will do.
Regards, Oscar
Oscar Moreno
oscar.moreno at verizon.net

On Jul 19, 2011, at 10:45, Duncan Murdoch wrote:

> On 11-07-18 11:02 AM, Oscar A. Moreno wrote:
>> Dear R-SIG-Macers,
>>
>> I am a very newbie for compilation of packages.  I usually rely on
>> binaries in CRAN.  I need to compile a package under Mac OS 10.5.8.
>> My questions are: a) Where do I put the .tar.gz file to compile and  
>> b)
>> What are the exact command line instructions from the R.app GUI? I
>> have RTM and I am lost as to what to do.
>
> Put the .tar.gz file anywhere where R can see it and read it.  For  
> example, after starting R.app if you run getwd() you'll probably see  
> something like
>
> /Users/<yourname>
>
> Putting the tar.gz in that directory is simplest.  Then
>
> install.packages("<path to the .tar.gz>", type="source", repos=NULL)
>
> will attempt to install it.
>
> If it's a simple package, that should just work; if it has compiled  
> C or Fortran code, you may need to install some compilers to get it  
> to work.  See the links from http://cran.r-project.org/bin/macosx/  
> for how to get those for your particular version of OS X.
>
> Duncan Murdoch
>
>>
>> Particulars of my system:
>>
>> Mac PowerPC with 1.8 GHz Processor and 1.5 GB Memory
>> XCode 3.1.4
>> GNU Fortran 4.2.3
>> Tcl/TK latest.
>>
>> Output from sessionInfo()
>>
>> R version 2.13.1 (2011-07-08)
>> Platform: powerpc-apple-darwin9.8.0/ppc (32-bit)
>>
>> locale:
>> [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
>>
>> attached base packages:
>> [1] stats     graphics  grDevices utils     datasets  methods   base
>>
>> Thanks in advance,
>> Oscar A. Moreno
>> oscar.moreno at att.net
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list