search for: tkttest

Displaying 18 results from an estimated 18 matches for "tkttest".

Did you mean: tkstest
2001 Feb 09
1
demo(tkttest) exits with error messages
I've just installed tcl version 8.3 for windows for use with rw1021, running on win95 (4.00.950). demo(tkttest) gives the following error messages. > require(tcltk) || stop("tcltk support is absent") Loading required package: tcltk Error in firstlib(which.lib.loc, package) : TCL_LIBRARY is not set Error in eval.with.vis(expr, envir, enclos) : tcltk support is absent Can'...
2001 Oct 06
1
tcltk
HI, (1) ...thanks for the last comments to tcltk & Win2000. (2) - i'm newbie in tcl/tk but would like learn fast and develop (learning by doing) a tcl/tk clusterAnalysis application which combine some clusterMethods from different Rpackages. i use the tkttest.R example as "reference" and become not finished for my "first" step???? (3) how is it possible that the code from the tkttest.R example would be execute and not only print to the screen; (4) Have somebody further "small" Rtcltk statistical sourceCode example's as...
2005 Oct 24
1
tk problem with R 2.2.0 on wine/linux
...bw.sav <- 1.000000 replot <- function(...) { if (is.null(y)) re .... [TRUNCATED] Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] bad window path name ".1". > demo(tkttest) demo(tkttest) ---- ~~~~~~~ Type <Return> to start : > require(tcltk) || stop("tcltk support is absent") [1] TRUE > require(stats) [1] TRUE > local({ dialog.t.test <- function() { tt <- tktoplevel() tkwm.title(tt, &...
2001 Apr 18
0
Re: R installation with tcltk
...ith-tcl-config=/opt/local/lib/tclConfig.sh --with-tk-config=/opt/local/lib/tkConfig.sh My local libraries are all in /opt/local/lib area. Everything was compiled normally without error and I got R and R.bin execs. Now, I have the following error even I put the correct library path. > demo('tkttest') demo(tkttest) ---- ~~~~~~~ Type <Return> to start : > require(tcltk) || stop("tcltk support is absent") Loading required package: tcltk Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "/opt/pkg/R...
2002 Mar 06
3
Loading tcltk package fails on WinMe/Cygwin but works with Rgui
I am investigating how well R/tcltk is supported on different system and I ran into the same problem as Christian Schulz reported on February 7, 2002. I am using [R] v1.4.1 on WinMe and ActiveTcl 8.3.2. Loading tcltk within Rgui works just fine and both demo(tkdensity) and demo(tkttest) works as expected. However, when I start R from my Cygwin terminal dyn.load() fails to load the library: % R --vanilla > library(tcltk) Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "C:/PROGRA~1/R/RW1041/library/tcltk/libs/tcltk.dll"...
2000 Aug 09
2
tcltk_example
...gui. My search for R code which utilizes these two functions has come up empty. Currently, I am attempting to translate pure "Tcl/Tk" code to R with little to no success. So far, the most helpful tool for learning the tcltk R commands has been the "tkdensity()" and "tkttest()" examples, included in the tcltk package. Any other (simple) examples of gui construction utilizing the tkmenubutton() or tklistbox() functions would be greatly appreciated. Jason Fisher ________________________________________________________________________ Get Your Private, Free E-mai...
2001 May 02
1
(PR#931)
Hi I have installed the R package on my NT machine, but I cannot get the TCL demos to work, like demo(tktttest). There was nothing in the install about this Atique Malik + -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or
2003 Feb 27
0
R-devel/R-patched crossed with Xterm/IDLE
..., because the windows do not accept events (cannot be brought to the front). I know why this does not work (Terminal.app is the frontmost application and it does not know anything about those windows). IDLE/Rpy with R-devel can do some of the tcltk demos (tkcanvas, tkdensity, tkfaq) but not all (tkttest,tkfindfile). And, surprisingly enough, IDLE/Rpy with R-patched can do the same demos (and fails on the same demos), although its tcltk is compiled using fink's X11 based tk. No X server is running in these cases. I have no idea why some demos work and others don't. It's interesting...
2002 Feb 11
0
read.table in TCL/TK interface
...at occur the difference run tcl/tk code in R-Winedt , i get the results only when i use paste ! $ source("D:/Statsoft/rw1041/code/TCL-TK.R") ****************************************************** The source for this demo can be found in the file: D:/Statsoft/rw1041/library/tcltk/demo/tkttest.R ****************************************************** ### Command executed via Tk ### t.test(Ozone[Month == 5], Ozone[Month == 8], alternative = "two.sided", var.equal = FALSE) ### ----- ...what is happen here ? Thanks for advance and suggestions regards Christian Schulz tktree...
2000 Jul 19
1
How to use tcltk?
Hallo Tk experts, the Tcl/Tk package allows to define very nice widgets for starting R functions, for printing results and for interactive parameter input. tkdensity.R and tkttest.R demonstrate this and both demos explain how some of the tk functions can be used. For constructing new widgets I would like to see further examples showing Tcl/Tk package in action. Therefore my question: Is there a pool of well designed applications of tk functions? / Have you created a beautifu...
2012 May 18
4
Menus - best practices?
Hello, I need to design a fairly simple front-end for someone to use an R script system that I've built. My thought was to just use the text based menus available in the base R package, perhaps in some kind of loop. How have other people done this? Any "best practices" that you can recommend? Thanks! -- Noah Silverman UCLA Department of Statistics 8117 Math Sciences Building
2000 Sep 28
1
tcltk package functionality
Hello, I wrote a function in R which uses tcltk package .... essentially I wanted to give within that function, a widget with 2 radiobuttons to choose between plotting Precip and Temperature plots. After the user has chosen one of the radiobuttons there is another widget that asking him to identify outliers. However, I am having a lot of problems...what R does is evaluate the whole function
2001 Sep 19
2
tcltk: Difficulties creating menus
I am struggling with adding menus to a tcltk application. The following example (from the O'Reilly book on Perl/Tk) works fine: #!/usr/bin/perl -w use Tk; my $mw = MainWindow->new; $menub = $mw->Menubutton(-text => "Color")->pack(); foreach (qw/red yellow green blue grey/) { $menub->radiobutton(-label => $_, -command => \&set_bg,
2000 Jun 15
4
R-1.1.0 is released
...ith buttons and entry fields and so forth in very few lines of code. It is still somewhat experimental so don't go churning out thousands of lines of GUI code and then blame us for changing the API later on. It does not currently work with GNOME because of event loop differences. See demo(tkttest) and demo(tkdensity). o Internally using global R_Expressions [getOption("expressions")] dramatically speeds up eval.c. o The X11 support code is now in a separate shared library, and flag --gui=none will run R without X11 support (and so x11() and data.entry() will not be a...
2000 Jun 15
4
R-1.1.0 is released
...ith buttons and entry fields and so forth in very few lines of code. It is still somewhat experimental so don't go churning out thousands of lines of GUI code and then blame us for changing the API later on. It does not currently work with GNOME because of event loop differences. See demo(tkttest) and demo(tkdensity). o Internally using global R_Expressions [getOption("expressions")] dramatically speeds up eval.c. o The X11 support code is now in a separate shared library, and flag --gui=none will run R without X11 support (and so x11() and data.entry() will not be a...
2002 Jan 30
3
R version 1.4.1 is released
...te. (As requested in PR#1210) o read.table() is no longer very slow in processing comments: moved to C code and fewer lines checked. o type.convert() could give stack imbalance warnings if used with as.is = TRUE. o predict.mlm ignored newdata (PR#1226) and also offsets. o demo(tkttest) was inadvertently changed in 1.4.0 so that it would evaluate the requested test, but not display the result. o stars(scale = TRUE) (the default) now works as documented (and as S does). Previously it only scaled the maximum to 1. (PR#1230) o d0 <- data.frame(a = 0); data.matrix(d0[...
2002 Jan 30
3
R version 1.4.1 is released
...te. (As requested in PR#1210) o read.table() is no longer very slow in processing comments: moved to C code and fewer lines checked. o type.convert() could give stack imbalance warnings if used with as.is = TRUE. o predict.mlm ignored newdata (PR#1226) and also offsets. o demo(tkttest) was inadvertently changed in 1.4.0 so that it would evaluate the requested test, but not display the result. o stars(scale = TRUE) (the default) now works as documented (and as S does). Previously it only scaled the maximum to 1. (PR#1230) o d0 <- data.frame(a = 0); data.matrix(d0[...
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...e()' for distribution details. R is a collaborative project with many contributors. Type `contributors()' for more information. Type `demo()' for some demos, `help()' for on-line help, or `help.start()' for a HTML browser interface to help. Type `q()' to quit R. > demo(tkttest,package="tcltk") demo(tkttest) ---- ~~~~~~~ Type <Return> to start : > > require(tcltk) || stop("tcltk support is absent") Loading required package: tcltk Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared...