Re: [R] R tcl/tk

From: Prof Brian Ripley <>
Date: Mon 23 Oct 2006 - 15:48:16 GMT

On Mon, 23 Oct 2006, Alberto Monteiro wrote:

> This must be dumbest question ever asked, but...
> When I ask"tcltk"), I get a reference to tcltk-package.
> When I ask help("tcltk-package"), I get "rtfm(s) in 'R_HOME/Tcl/doc'".
> But then when I ask"R_HOME"), I get nothing.
> Is something missing here in those help pages?

R_HOME is an environment variable: use Sys.getenv("R_HOME") to find its value (the same as R.home()), which will be the top-level directory of that particular R installation.

BTW, you have not been as careful as you require of others: your comments are only true if preceded by the missing 'library(tcltk)' and only if you are running on Windows.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue Oct 24 12:23:59 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 24 Oct 2006 - 02:30:13 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.