Displaying 6 results from an estimated 6 matches for "tclfile".
2006 Sep 25
1
Problem with tcltk package: tclfile.dir missing?
Hi,
In R version 2.4.0 beta (2006-09-24 r39502) I'm seeing the following
behavior with the tcltk package:
> library("tcltk")
Loading Tcl/Tk interface ... done
> tkfile.dir()
Error: 'tkfile.dir' is defunct.
Use 'tclfile.dir' instead.
See help("Defunct")
> tclfile.dir
Error: object "tclfile.dir" not found
## But the function is in the package, just not exported?
> tcltk:::tclfile.dir
function (...)
tcl("file", "dir", ...)
<environment: namespace:tcltk>
--...
2008 Jul 24
0
unable to load a library
...llo all,
i'm running R-2.6.1 on solaris 10 (x86). I added the package aplpack
without problems, but when i try to use it, i got errors:
> library(aplpack)
Loading required package: tcltk
Error in namespaceExport(ns, exports) :
undefined exports :addTclPath, as.tclObj, is.tclObj, is.tkwin,
tclfile.dir, tclfile.tail
In addition: Warning message:
S3 methods '$.tclvar', '$<-.tclvar', 'as.character.tclObj',
'as.character.tclVar', 'as.double.tclObj', 'as.integer.tclObj',
'as.logical.tclObj', 'print.tclObj', '[[.tclArray',...
2007 Feb 16
0
R GUI programming
...dataset <- read.csv(file,header=TRUE) # read in .CSV file
to R object
cat(colnames(.dataset))
tclvalue(dataset.header) <- colnames(.dataset)
cat(paste("after assign: ", tclvalue(dataset.header), sep=""))
tclvalue(output.dir) <- tclfile.dir(file)
tkmessageBox(title="Setting Output Directory",
message=paste("Setting output directory to ", tclvalue(output.dir),
sep=" "), icon="info",
type="ok")
#cat(paste("\"The column names are: ", coln...
2007 Jul 05
4
Me again, about the horrible documentation of tcltk
How on Earth can I know what are the arguments of any of the functions of
the tcl/tk package? I tried hard to find, using all search engines
available, looking deep into keywords of R, python's tkinter and tcl/tk, but
nowhere I found anything remotely similar to a help.
For example, what are the possible arguments to tkgetOpenFile?
I know that this works:
library(tcltk)
filename <-
2004 Oct 04
7
R 2.0.0 is released
...package.
o The tcltk package has had the tkcmd() function renamed as
tcl() since it could be used to invoke commands that had
nothing to do with Tk. The old name is retained, but will be
deprecated in a future release. Similarly, we now have
tclopen(), tclclose(), tclread(), tclputs(), tclfile.tail(),
and tclfile.dir() replacing counterparts starting with "tk",
with old names retained for now.
UTILITIES
o R CMD check now checks for file names in a directory that
differ only by case.
o R CMD check now checks Rd files using R code from package tools,
and gives ref...
2004 Oct 04
7
R 2.0.0 is released
...package.
o The tcltk package has had the tkcmd() function renamed as
tcl() since it could be used to invoke commands that had
nothing to do with Tk. The old name is retained, but will be
deprecated in a future release. Similarly, we now have
tclopen(), tclclose(), tclread(), tclputs(), tclfile.tail(),
and tclfile.dir() replacing counterparts starting with "tk",
with old names retained for now.
UTILITIES
o R CMD check now checks for file names in a directory that
differ only by case.
o R CMD check now checks Rd files using R code from package tools,
and gives ref...