|
1 | 1 | % File src/library/tcltk/man/TclInterface.Rd |
2 | 2 | % Part of the R package, https://www.R-project.org |
3 | | -% Copyright 1995-2020 R Core Team |
| 3 | +% Copyright 1995-2025 R Core Team |
4 | 4 | % Distributed under GPL 2 or later |
5 | 5 |
|
6 | 6 | \name{TclInterface} |
@@ -257,13 +257,17 @@ system is active; if \code{FALSE}, only the Tcl interpreter is available. |
257 | 257 | to add the directory where they are found to the Tcl search path with |
258 | 258 | \code{addTclPath}. The return value is a class \code{"tclObj"} object |
259 | 259 | 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, |
261 | 262 | use: \preformatted{ |
262 | 263 | strsplit(tclvalue('auto_path'), " ")[[1]] |
263 | 264 | } |
| 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. |
264 | 267 |
|
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.) |
267 | 271 | } |
268 | 272 | \note{ |
269 | 273 | Strings containing unbalanced braces are currently not handled |
|
0 commit comments