[Rd] One more note

Brian D Ripley ripley at stats.ox.ac.uk
Mon Feb 9 15:42:21 CET 2009

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

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

More information about the R-devel mailing list