[R-SIG-Mac] install.packages default type change?

Jan de Leeuw deleeuw at stat.ucla.edu
Sat Jul 23 05:46:20 CEST 2005


if you have the dev tools put options(pkgtype="source") in your  
Rprofile.site

but I agree that it is generally a good idea to have R compiled with the
same compilers that build your packages

so that means that you should use source packages if, and only if,  
you build and
regularly update your own R

On Jul 22, 2005, at 20:38 , Bill Northcott wrote:

> On 22/07/2005, at 8:00 PM, Simon Urbanek wrote:
>
>>> In the past, I believe that MacOS X users could use
>>> install.packages()
>>> successfully without any package 'type' specification, even though
>>> there
>>> is no .tgz file, but now it seems that they need to explicitly say:
>>>
>>> install.packages(..., type="source")
>>>
>>> Right?
>>>
>>> Is this a permanent change?
>>>
>>>
>> yes
>>
>>
>>> Is this a permanent change?
>>>
>>>
>>
>> FWIW: strictly speaking this is not a new change - the documentation
>> was describing exactly this behavior for a while - it was merely a
>> bug that the package installation implementation wasn't really
>> following the documentation.
>>
>> The main reason for this behavior is that unlike other unix systems
>> OS X comes by default without development tools, so you simply cannot
>> use type="source". Therefore the default is to use binary packages
>> which is the recommended way.
>>
>
> I am not sure this is a good decision.  MacOS X is always supplied
> with the Xcode development tools, which is not true of all the UNIXen
> I have dealt with.  It is really only Linux that I know to install
> developer tools as part of the default install and even then it is
> usually necessary to install header packages to actually build
> anything.  Finally I doubt that there are many R users on MacOS X who
> do not have the Developer Tools installed, after all, they need X11
> which is also an optional install.  Indeed you supply g77 as part of
> the CRAN binary, and that is useless if you don't have the Developer
> Tools.
>
> Bill Northcott
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>

==========================================================
Jan de Leeuw, 11667 Steinhoff Rd, Frazier Park, CA 93225, 661-245-1725
==========================================================
                                      Und die Einen sind im Dunkeln
                                      Und die Andern sind im Licht
                                      Und man siehe die im Lichte
                                      Die im Dunklen sieht man nicht
                                                                         
                                  Brecht



More information about the R-SIG-Mac mailing list