Browse files

show how to find tcl search path

git-svn-id: https://svn.r-project.org/R/trunk@62416 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information...
1 parent 9902762 commit 1f7f51adb27b92e32cbdc9d59e5dd8bab4c04ec1 ripley committed Mar 26, 2013
Showing with 12 additions and 3 deletions.
  1. +6 −0 doc/NEWS.Rd
  2. +6 −3 src/library/tcltk/man/TclInterface.Rd
View
6 doc/NEWS.Rd
@@ -826,6 +826,12 @@
\item \code{.find.package()} and \code{.path.package()} are
deprecated: only the public versions without the dot have ever
been in the API.
+
+ \item In a package's \file{DESCRIPTION} file, \preformatted{ License: X11}
+ is deprecated, since it includes
+ \sQuote{Copyright (C) 1996 X Consortium} which cannot be
+ appropriate for a current \R package. Use \sQuote{MIT} or
+ \sQuote{BSD_2_clause} instead.
}
}
View
9 src/library/tcltk/man/TclInterface.Rd
@@ -1,6 +1,6 @@
% File src/library/tcltk/man/TclInterface.Rd
% Part of the R package, http://www.R-project.org
-% Copyright 1995-2007 R Core Team
+% Copyright 1995-2013 R Core Team
% Distributed under GPL 2 or later
\name{TclInterface}
@@ -249,9 +249,12 @@ tclRequire(package, warn = TRUE)
Tcl packages can be loaded with \code{tclRequire}; it may be necessary
to add the directory where they are found to the Tcl search path with
\code{addTclPath}. The return value is a class \code{"tclObj"} object
- if it succeeds, or \code{FALSE} if it fails (when a warning is issued).
+ if it succeeds, or \code{FALSE} if it fails (when a warning is
+ issued). To see the current search path as an \R character vector, use
+\preformatted{strsplit(tclvalue('auto_path'), " ")[[1]]}.
}
-\note{ Strings containing unbalanced braces are currently not handled
+\note{
+ Strings containing unbalanced braces are currently not handled
well in many circumstances.
}
\seealso{

0 comments on commit 1f7f51a

Please sign in to comment.