Skip to content

Commit 70dfffc

Browse files
author
ripley
committed
expanded explanations
git-svn-id: https://svn.r-project.org/R/trunk@88270 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 09b2b0a commit 70dfffc

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/library/tcltk/man/TclInterface.Rd

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/tcltk/man/TclInterface.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2020 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{TclInterface}
@@ -257,13 +257,17 @@ system is active; if \code{FALSE}, only the Tcl interpreter is available.
257257
to add the directory where they are found to the Tcl search path with
258258
\code{addTclPath}. The return value is a class \code{"tclObj"} object
259259
if it succeeds, or \code{FALSE} if it fails (when a warning is
260-
issued). To see the current search path as an \R character vector,
260+
issued unless \code{warn} is false). To see the current search path
261+
as an \R character vector,
261262
use: \preformatted{
262263
strsplit(tclvalue('auto_path'), " ")[[1]]
263264
}
265+
Note that a report of \sQuote{not found} will be given if the package is
266+
found but is not compatible with the Tcl/Tk version in use.
264267
265-
The Tcl version (including patch level) is returned as a character
266-
string (such as \code{"8.6.3"}).
268+
\code{tclVersion} returns the Tcl version as a character string such
269+
as \code{"8.6.16"} or \code{"9.0.1"}). (This uses the Tcl command
270+
\code{info patchlevel} and so includes the patch level.)
267271
}
268272
\note{
269273
Strings containing unbalanced braces are currently not handled

0 commit comments

Comments
 (0)