Re: [Rd] install.packages() fails if .libPaths() set

2012-10-30 Thread Winston Chang
It appears that this problem only happens when R_LIBS is specified in ~/.Renviron. When it compiles 'relations', it's somehow not passing along the correct lib paths. This is the test code: dir.create("test") .libPaths("test") install.packages("relations", type = "source") The 'relations' packa

Re: [Rd] install.packages() fails if .libPaths() set

2012-10-30 Thread Hadley Wickham
>> I'm not sure I follow. I thought install.packages() installs into the >> first element of .libPaths(), and indeed I get this message: >> >> Installing package into ‘/Users/hadley/Desktop/test’ >> (as ‘lib’ is unspecified) > > Yes, but "sets" is not there. I'm trying to understand why it's not t

Re: [Rd] install.packages() fails if .libPaths() set

2012-10-30 Thread Uwe Ligges
On 30.10.2012 15:01, Hadley Wickham wrote: * installing *source* package ‘relations’ ... ... ** testing if installed package can be loaded *** arch - i386 Error : package ‘sets’ required by ‘relations’ could not be found Error: loading failed Execution halted *** arch - x86_64 Error : package ‘

Re: [Rd] install.packages() fails if .libPaths() set

2012-10-30 Thread Hadley Wickham
>> * installing *source* package ‘relations’ ... >> ... >> ** testing if installed package can be loaded >> *** arch - i386 >> Error : package ‘sets’ required by ‘relations’ could not be found >> Error: loading failed >> Execution halted >> *** arch - x86_64 >> Error : package ‘sets’ required by ‘r

Re: [Rd] install.packages() fails if .libPaths() set

2012-10-30 Thread Uwe Ligges
On 29.10.2012 23:35, Hadley Wickham wrote: Reproducible example: dir.create("test") .libPaths("test") install.packages("relations", type = "source") Fails with: ... * installing *source* package ‘relations’ ... ... ** testing if installed package can be loaded *** arch - i386 Error : package