yes that was intentional and present in 1.9.0 as well and also 
explained in the FAQ (see section: Where are the packages I've 
installed?)

The idea behind "was": instead of using ~/.R to put anything 
R-specific, se use ~/Library (~/Application Support would have also 
been acceptable).

But we are working on that these days to allow more flexible library 
tree specification from the GUI directly.

stefano

On Oct 23, 2004, at 5:31 PM, [EMAIL PROTECTED] wrote:

> It stems from the following code in src/library/profile/Rprofile.unix
>
> if(.Platform$GUI == "AQUA") {
> ...
>     if( !file.exists("~/Library/R") )
>         dir.create(path.expand("~/Library/R"))
>     if( !file.exists("~/Library/R/library") )
>         dir.create(path.expand("~/Library/R/library"))
>     .libPaths(path.expand("~/Library/R/library"))
> }## end "Aqua"
>
> which looks quite intentional, and looks like it was done for 1.9.0.
>
> I suggest this section is conditionalized on
>
> if(!length(Sys.getenv("R_LIBS")) {  # note the simpler form!
> }
>
> since presumbably the intention is to have a local library tree for
> install.binaries() to use, and it is wrong to override the standard 
> system
> setting via R_LIBS (which has in fact been ignored).
>
> David: edit library/base/R/Rprofile if you want a quick fix on a binary
> installation.
>
>
> On Sat, 23 Oct 2004 [EMAIL PROTECTED] wrote:
>
>> Full_Name: David Firth
>> Version: 2.0.0
>> OS: Mac OS 10.3.5
>> Submission from: (NULL) (81.178.234.156)
>>
>>
>> When running R in R Cocoa GUI 1.0 (v2004-10-14), I have
>>
>>> Sys.getenv()[["R_LIBS"]]
>> [1] "/Users/david/Library/R"
>>> .libPaths()
>> [1] "/Users/david/Library/R/library"
>> [2] "/Library/Frameworks/R.framework/Resources/library"
>>
>> The pasting of "/library" after "/Users/david/Library/R" is 
>> unexpected: I did
>> not find it documented, and it does not happen when I run the same R 
>> version by
>> other means, for example through Terminal.app.
>>
>> Version info below.
>>
>> Best regards,
>> David
>>
>>> version
>>          _
>> platform powerpc-apple-darwin6.8
>> arch     powerpc
>> os       darwin6.8
>> system   powerpc, darwin6.8
>> status
>> major    2
>> minor    0.0
>> year     2004
>> month    10
>> day      04
>> language R
>>
>> ______________________________________________
>> [EMAIL PROTECTED] mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>>
>
> -- 
> Brian D. Ripley,                  [EMAIL PROTECTED]
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to