[R] install.packages parameters

Liaw, Andy andy_liaw at merck.com
Tue May 17 14:15:33 CEST 2005


Caveat: I know next to nothing about Mac...

That said, my guess is that you installed R from binary, rather than
building from source.  In that case the compilers and flags, etc., are
configured to the machine that the binary is built on.  You can look in
$RHOME/etc/Makeconf to see the settings, and see if changing them helps.

Andy

> From: jerosenb at fas.harvard.edu
> 
> Hello.
> 
> R is having some trouble installing a package because it 
> passed arguments to 
> gcc which were non-existent directories and files.  It also 
> didn't find 
> g77, although it's in a directory in my $PATH;  I tricked it 
> by making a 
> sym link in /usr/bin.
> 
> What file does R get these parameters from?  
> I've looked for the parameters in the package source, the 
> install.packages 
> help pages, and the R preferences menu, all to no avail.
> 
> I am running R 2.1.0 on Mac 10.3.8, and three days ago I installed a
> different package from source where installation involved gcc without
> any problems, and nothing has changed since then.  The packages I'm
> trying to install are Joe Schafer's mix, norm, and cat.
> 
> Thanks,
> 
> Janet
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
> 
>




More information about the R-help mailing list