From ligges at statistik.tu-dortmund.de  Tue Oct 30 15:03:42 2012
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Tue, 30 Oct 2012 15:03:42 +0100
Subject: [Rd] install.packages() fails if .libPaths() set
In-Reply-To: <CABdHhvGB+-Hx1a_K6g7YnEYvNTP1DhgAGtPNfErP0ZtueJo9Hw@mail.gmail.com>
References: <CABdHhvHhi_paqqK1wUhqcg0KqOeh2YTHX-FszNHwhFYbZfb5wg@mail.gmail.com>
	<508FDC6A.30502@statistik.tu-dortmund.de>
	<CABdHhvGB+-Hx1a_K6g7YnEYvNTP1DhgAGtPNfErP0ZtueJo9Hw@mail.gmail.com>
Message-ID: <508FDE3E.7060501@statistik.tu-dortmund.de>



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 ?sets? required by ?relations? could not be found
>>> Error: loading failed
>>> Execution halted
>>> ERROR: loading failed for ?i386?, ?x86_64?
>>>
>>> If I don't set .libPaths() it installs without error.
>>
>>
>> Yes, since your package set is installed in a library that is not "test".
>> And you have omitted that library from the search path by changing
>> .libPaths().
>
> 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.

Uwe

>
> Hadley
>
>



[Rd] install.packages() fails if .libPaths() set
Uwe Ligges