Displaying 20 results from an estimated 2000 matches similar to: "eval and tcltk : target of assignment expands to non-language object"
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 Jul 29
1
fancier plotting
Hi
thank you for talking the time to help me with this.
I have a sequence of numbers in a file and an equal sequence of various character, say(a b c d) each occurs more than once. I need to plot the numbers so that numbers corresponding to a in the other sequence would have green dots, those corresponding to b a red dot, nothing on c and blue square for d. i.e
2 a show a green dot
4 b show a
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
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
2016 Feb 03
2
[buildSchedGraph] memory dependencies
Hi,
(This only concerns MISNeedChainEdge(), and is separate from D8705)
I found out that the MIScheduler (pre-ra) could not handle a simple test
case (test/CodeGen/SystemZ/alias-01.ll), with 16 independent load / add
/ stores.
The buildSchedGraph() put too many edges between memory accesses, because
1) There was no implementation of areMemAccessesTriviallyDisjoint() for
SystemZ.
2) Type
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
2008 Aug 11
3
tkentry that exits after RETURN?
I can set up an entry widget (thanks to an old
post by Barry Rowlingson) that gets a password and
exits when the user clicks on the "OK" button.
Anyone have any clever ideas for returning/
destroying the window when the user types a carriage
return/ENTER in the text window? I've messed around
a little with validate, validatecommand, but don't
see any obvious way to do it ...
2009 Oct 19
1
Problem with geometry manager in TclTK
Hello, everyone.
I have the following problem with TclTk: I create some windows and want to
change their position with geometry manage (sometimes they will be centered,
sometimes not).
If the toplevel is created and its dimensions are gathered via 'tkwinfo', I
get (usually) correct values. However, if this window is created by a
function (in the following example, by 'ask.format')
2003 Aug 15
1
menubutton don´t work
Why the variable archOp does not take the value that be chosen in the
menubutton?, therefore always remains as a white one, I intend to charge
the direccion of open files in a vector and then to elect with the
menubutton with which to work but not functions thanks.Ruben
library(tcltk)
arch<-tclVar(init=" ")
archOp<-tclVar(init=" ")
vectPath<-c()
2008 Mar 19
1
Radio Buttons or similars
Hello companions!!!
I have a function that creates a Radio Buttons, and I need that this
function return the selected value in the Radio Buttons. I would like that,
if somebody know as I could return the value, you say me as do it.
Next, I show the function
function1<-function(){
require(tcltk)
tt <- tktoplevel()
rb1 <- tkradiobutton(tt)
rb2 <- tkradiobutton(tt)
rbValue <-
2003 Sep 09
1
charge a vector with variables and to use as variable in a checkbutton?
hello, how i cant to charge in form dynamic a checkbutton, try to do it
with a vector be charged automaticamente but not
works, for example
library(tcltk)
tt<-tktoplevel()
f<-tkframe(tt)
tkpack(f)
i<-2
if (i==1) {b1<-tkcheckbutton
(f,text="b1",variable="b1",relief="raised");tkpack(b1);print(tclvalue
("b1"))}else if (i==2) {b1<-tkcheckbutton
2003 Jan 10
1
tclVar Question
Hi All...
In an attempt to read data from a file and feed it into a tcltk entry box,
I've run into difficulties. The following hopefully describes my dilemma:
tclvalue(x.var) <- 5
Works fine.
tclvalue("x.var") <- 5
Does not work. [Error: Target of assignment expands to non-language object]
tclvalue(eval(parse(text="x.var"))) <- 5
Also, does not work.
Any
2010 Jun 11
1
Windows, OSX and Linux: updating a graphic device and double buffering
Hello there,
I'm struggling with the base graphics system on different
operating systems.
I would like to get an animation effect by re-plotting with the plot
function. See the attached code example: move the slider
quick from one side to the other.
I experience different levels of success, depending on which OS I use.
- Linux (Ubuntu >9.10, R 2.9.2-3): Each plot command gets
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello,
On Mac OS X, certain Aqua/Quartz UI functionality requires an
application to be launched from within an app bundle, or
(alternatively) requires a Carbon application with a resource fork.
Playing with the wxWidgets distribution, I discovered that it is quite
easy and transparent to make such a Carbon app from (I guess) any
command line application. When applied to the R executable called
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello,
On Mac OS X, certain Aqua/Quartz UI functionality requires an
application to be launched from within an app bundle, or
(alternatively) requires a Carbon application with a resource fork.
Playing with the wxWidgets distribution, I discovered that it is quite
easy and transparent to make such a Carbon app from (I guess) any
command line application. When applied to the R executable called
2006 Jan 27
3
Search/advanced search
Hello,
How do you handle advanced searches in Rails, i.e., anything more than
one field?
I searched the archives but wasn''t able to find a good example of this.
[I also noticed the forum itself has no advanced search yet!]
This is another of those common scenarios--like advanced lookup
functionality--that I''d address if I was inventing a Web framework.
I''ve been
2006 Apr 17
0
autoscall the y-axis
Dear R users
I need to auto scale the left y axis in the code below, so that when
I scroll left or right the left y-axis scale changes to accumulate the
range of the displayed data with in the max hight of the y-axis.
also how can I make the crosshair horizontal since it is only
vertical in this code. this code with a kind help from
"Gregory (Greg) L. Snow Ph.D."
just
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
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',