similar to: tkinsert matrix - how to display a matrix with tcltk

Displaying 20 results from an estimated 2000 matches similar to: "tkinsert matrix - how to display a matrix with tcltk"

2008 Jul 24
0
unable to load a library
hello 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',
2011 Dec 05
0
Problemas al cargar Rcmdr
Buenas a todos en la lista. Aunque los sigo de cerca nunca he participado mas allá de algunas ocasión. Ahora me surgió este problema. Hasta hace poco solo había usado distros Debian-like o Arch pero hace unos días se me dio por probar Sabayon, puesto que andaba en busca de algo rolling release y no quería Arch. La cosa, para hacerla corta, es que instalé Sabayon con KDE. Conseguí arreglar un
2010 Aug 11
0
R and TK Error "can't find objects"
Dear R People, I?m trying to link R and TK. I?m using R 2.11.1 with Tinn-R 1.17.2.4. For simple examples like the following one it?s working (see the initiation of the variables, the handler and the link to the function which multiply Zahl, Exponent and Factor) : require(tcltk) Ergebnis<-tclVar(c(0,0,0,0,0,0)) Zahl<-tclVar(c(0,0,1,1,1,0)) Exponent<-tclVar(c(1,1,1,1,1,1))
2012 Aug 29
1
Problem Installing a Package
I have just installed the latest version of R on a openSUSE 12.1 system running on an ORacle VM VirtualBox and have encountered a problem with installing ChemometricsWithR. Here is the output: > library("compiler") > install.packages("ChemometricsWithR") Installing package(s) into ?/home/computation/R/x86_64-unknown-linux-gnu- library/2.15? (as ?lib? is unspecified)
2012 Aug 24
1
Error while installing gsubfn_0.6-4.tar.gz for R 2.15.1
Hi, I am getting the follwoing error while installing gsubfn_0.6-4.tar.gz library for R. R version is 2.15.1 and i am installing on Redhat linux version 2.6.18-238.9.1.el5 (mockbuild at x86-002.build.bos.redhat.com<mailto:mockbuild at x86-002.build.bos.redhat.com>) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) * installing to library ?/home/mapred/installables/R/library? * installing
2006 Jun 21
0
Some R-Tcl/Tk-BWidget newbie questions.
Dear list, Could somebody who is more experienced with the Tcl/Tk interface from R please help me clarify the issues I've put below with ### --> tags? Several things go wrong, and it's probably because of messy code, but I have a difficult time finding out what is the cause. Thanks very much, JeeBee. require(tcltk) || stop("Package tcltk is not available.") # Add path to
2005 Apr 01
0
Selections from tcltk list boxes
Dear r-devel list members, I've experienced the following problem in getting a selection from a Tk list box using tcltk. This is a long-standing problem, but I've finally decided to tackle it. Consider the following: Library(tcltk) top <- tktoplevel() listbox <- tklistbox(top, height="10", width="2", exportselection="FALSE",
2004 Jun 30
1
help with tclVar
Hi, I can' t load a variable tcltk declared with tclVar, why is this?, the exmple above explain me ,Thanks Ruben a<-tclVar(init="") > f<-function(){ + a<<-"pipo" + } > f() > a [1] "pipo" > tclvalue(a) Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class = "tclObj") : [tcl] can't
2012 Sep 24
1
eval and tcltk : target of assignment expands to non-language object
Hi everyone, I have a problem to assign a value with tcl/tk ths is the code ( it should be simple to understand) : library(tcltk) valA<-tclVar("0") valB<-tclVar("0") valC<-tclVar("0") id<-"A" out<-"1" out2<-"2" print(paste("tclvalue(val",id,")",sep="")) # ok
2006 Aug 11
2
tkinsert
Dear List, I'm looking for some informations about the function "tkinsert()". I d'like to write lot of command in my text window and after to evaluate it with a button "Submit" for example, but i have some problems: here a exemple of my code: 1) My first problem tt=tktoplevel() txt=tktext(tt,height=40) tkpack(txt) var1=paste("x=2")
2006 Jun 26
1
Some tcltk-related packages not loading (OS X)
Dear r helpers, In my exploration of the tcltk facilities of R I've had some success but some failures, and wonder if someone could point me to a solution. To begin: ****************************************************** > sessionInfo() Version 2.3.1 (2006-06-01) powerpc-apple-darwin8.6.0 attached base packages: [1] "tcltk" "methods" "stats"
2000 Sep 29
1
Two tcltk questions and Re: tcltk package functionality
Sorry, for my mail from last night contains no subject. Therefore, I send it again and two tcltk questions are appended. ---------------------------------------------------------------------------- Prasad wrote: > 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
2002 Feb 11
0
read.table in TCL/TK interface
hello, i would like program userfriendly tcl/tk widgets like the t-test example in a more complex way ! (1) Is it not possible to combine tk_getOpenFile with the R function read.table to select in userfriendly way data sets ? (I'm newbie and take code-parts from t-test example and scripting example.) (2) Is it possible to use a variableSelection widget to select a special variable which i
2003 Sep 25
1
tkinsert (PR#4289)
In R-1.7.1, I used to be able to append a character vector to a 'tklistbox' with e.g. listio <- tklistbox( tktoplevel(), font='Courier', height=20, width=20, setgrid=TRUE) tkinsert( listio, 'end', letters[1:3]) tkpack( listio,side='left', expand=TRUE, fill='both') and three items would be added to 'listio'. This doesn't work in R-devel-- it
2008 Mar 24
2
as.numeric with tclvalue redux
Hi again R People: This works fine: > library(tcltk) > a <- tclVar("4.5") > as.numeric(tclvalue(a)) [1] 4.5 > #But if you have: > b <- tclVar("pi") > as.numeric(tclvalue(b)) [1] NA Warning message: NAs introduced by coercion > Is anyone aware of a way around this, please? thanks, Erin -- Erin Hodgess Associate Professor Department of Computer
2006 May 22
1
rerender tcltk toplevel
Hi everybody, I am trying to write a simple progress display based on a tcltk toplevel. My first approach was to use the progressBar widget from the BWidget library but since this is not available on every system (missing on at least almost all windows systems, I guess...) I wanted to have a backup there. So my second strategy was to use a simple toplevel with a label and update the tclvariable
2003 Oct 01
0
curious error with tkcheckbutton
Hello, the following code produces an error when executing it, it is a code that produces 6 checkbutton that at the beginning are empty, when selecting the first checkbox he says that doesn't know the second variable tcl, he say: [1] "1" Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class = "tclObj") : [tcl] can't
2003 Oct 09
0
curious mistake in tkradiobutton
Hello, the following code produces an error when executing it, it is a code that produces 6 checkbutton that at the beginning are empty, when selecting the first checkbox he says that doesn't know the second variable tcl, he say: [1] "1" Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class = "tclObj") : [tcl] can't
2010 Aug 12
2
accessing tcl variables within R and tcl
Dear R users, I have some troubles with dealing with tclObj objects. I try to explain it with a toy example: Say I define the following tcl procedure which just prints out each list element library(tcltk) .Tcl('proc test {myList} { foreach i $myList { puts stdout $i } }') and I call it with: > tcl('test',letters[1:5]) # Works as expected Now say I define
2010 Aug 05
1
Error in as.environment(pos): using 'as.environment(NULL)' is defunct
Hello, I?m using R 2.11.1 with Tinn-R 1.17.2.4. I hope the given informations are enough (it?s my first entry here) The as.environment(pos) error appears in using the following code which should open a function in an other R-file. Here some extractions of the code: .... HZ<-tclVar(seq(length=a,from=1,by=0)) #(a is defined by a tkentry-element) VZ<-tclVar(seq(length=a,from=1,by=0))