From gregor.gorjanc at bfro.uni-lj.si  Fri Mar  9 11:25:14 2007
From: gregor.gorjanc at bfro.uni-lj.si (Gregor Gorjanc)
Date: Fri, 09 Mar 2007 11:25:14 +0100
Subject: [Rd] fortune() in .Rprofile conflicts with R CMD INSTALL
In-Reply-To: <17900.35746.713592.701130@mithrandir.hornik.net>
References: <45EAB839.9090203@bfro.uni-lj.si>	<m2tzx19e3l.fsf@ziti.local>	<loom.20070304T230316-753@post.gmane.org>	<17899.65192.532067.867254@mithrandir.hornik.net>
	<17900.35746.713592.701130@mithrandir.hornik.net>
Message-ID: <45F1360A.20602@bfro.uni-lj.si>

Kurt Hornik wrote:
>>>>>> Kurt Hornik writes:
 >> Well, r-devel's src/scripts/INSTALL.in now has
> 
>> if test -z "${lib}"; then
>>   lib=`echo "cat(.libPaths()[1])" | \
>>     R_DEFAULT_PACKAGES=NULL "${R_EXE}" --no-save --slave`
>>   message "Installing to library '$lib'"
> 
>> so we need to find a way to "just get" the result of cat(.libPaths()[1])
>> into $lib as intended.
> 
>> One idea might be ensuring that this gets into the last line on its own,
>> and then taking $lib as the last line of what we got ...
> 
> I think I found (and committed) a solution for this.

Yep, looks OK now.

Thanks, Gregor



[Rd] fortune() in .Rprofile conflicts with R CMD INSTALL
Gregor Gorjanc