From ripley at stats.ox.ac.uk  Mon Feb  9 15:42:21 2009
From: ripley at stats.ox.ac.uk (Brian D Ripley)
Date: Mon, 9 Feb 2009 14:42:21 +0000 (GMT)
Subject: [Rd] One more note
In-Reply-To: <499039FB.8000602@biostat.ku.dk>
References: <200902091357.n19DvaRn005778@rocky.mayo.edu>
	<499039FB.8000602@biostat.ku.dk>
Message-ID: <alpine.LFD.2.00.0902091439270.29318@toucan.stats.ox.ac.uk>

On Mon, 9 Feb 2009, Peter Dalgaard wrote:

> Terry Therneau wrote:
>>  There are some warnings earlier in the log about my .Rd files (missing a
>> description of weights and subset in a couple).  The only message that I
>> don't completely understand is
>>
>> * checking foreign function calls ... OK
>> * checking R code for possible problems ... NOTE
>> Error in firstlib(which.lib.loc, package) :
>>   Tcl/Tk support is not available on this system
>>
>>  I'm also curious about this.  But I get the same aareg error on the Sun server
>> at work, without the Tcl message, so I know it is not primary.
>
> The most obvious reason would be if Tcl/Tk support is not available on
> your system....
>
> (a) Which system?
> (b) Do you have
>
>> capabilities("tcltk")
> tcltk
> TRUE

Because so many people assume that tcltk is present, those checks look 
for unexplained symbols in package tcltk.  As it is not on your 
system, you will not be able to use the symbols and it does not 
matter. The call is inside try(), so the error is ignored.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
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



[Rd] One more note
Brian D Ripley