Displaying 20 results from an estimated 900 matches similar to: "Problem Installing a Package"
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
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))
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
2004 Apr 23
4
Tcl Tk table
Hi
I've a problem with the following example:
library(tcltk)
.Tcl("array unset tclArray")
myRarray <- matrix(1:1000, ncol=20)
for (i in (0:49))
for (j in (0:19))
.Tcl(paste("set tclArray(",i,",",j,") ",myRarray[i+1,j+1],sep=""))
tt<-tktoplevel()
table1 <- tkwidget(tt,"table",variable="tclArray",
2009 Jan 20
1
tclarray with embedded spaces in data
I would like to use a tclArray:
mytkarray <- tclArray()
as the variable for a table:
table1 <- tkwidget(f1, 'table', variable= mytkarray)
but if I include character strings with embedded spaces, I get braces
appearing in the table.
I can remove them using a non-R tclarray, (the difference between the
first example of
http://www.sciviews.org/_rgui/tcltk/Tktable.html
and
2005 Oct 24
1
tk problem with R 2.2.0 on wine/linux
Actually I am trying to run sciview-R and encounted some problems with
tk, and I thought I'll check the basic library(tcltk) functionallity,
just to be sure. Anybody seen that '[tcl] bad window path name ".1".'
message before?
Prof. Philippe Grosjean: yes, I have managed to load most of
sciview-R under Wine, except the tcltk library!
===================
R : Copyright 2005,
2008 Oct 30
1
tklistbox selection
Hi,
I'm posting yet another question about tcltk since I'm still struggling
with the package. I'm trying to create a tklistbox and a ttkcombobox on
the same parent and am having a problem. Here's an example:
library(tcltk)
tt <- tktoplevel()
tcl1 <- tclVar()
tcl2 <- tclVar()
tclObj(tcl1) <- letters[1:5]
tclObj(tcl2) <- LETTERS[1]
tb1 <- tklistbox(tt,
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
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
2003 Oct 22
1
Core dump when calling tclvalue (PR#4724)
Full_Name: Neil McKay
Version: 1.8.0
OS: Linux (RedHat 7.1)
Submission from: (NULL) (129.124.42.210)
I get a core dump when executing the following code:
> library("tcltk")
> zzz<-tclArray()
> tclvalue(zzz)
Running under gdb gives this output:
Program received signal SIGSEGV, Segmentation fault.
makeRTclObject (tclobj=0x0) at tcltk.c:48
48
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
2008 Oct 27
1
ttkcombobox
Hi, all,
(sessionInfo at the end)
I've been struggling with the tcltk package and can't seem to get the
ttkcombobox to work. Here's an example:
library(tcltk)
p <- tktoplevel()
l <- tclVar()
## I don't know if I'm even calling it correctly
cb <- ttkcombobox(p, values = letters[1:4], textvariable = l)
tkpack(cb)
1. How do I know when the value of the combobox has
2011 Feb 07
2
package ChemometricsWithR
Dear all;
Does anyone knows where can I find the package "ChemometricsWithR" mentioned
in
http://www.springer.com/life+sciences/bioinformatics/book/978-3-642-17840-5?
Thanks for any hint
PM
[[alternative HTML version deleted]]
2015 Jan 14
2
Is the tcltk failure in affylmGUI related to R bug 15957
I maintain the package affylmGUI. It works when installed on many
previous versions of R. I have today tested exactly the same code under
R-2.15.3, R-3.0.2, R-3.1.0, R-3.1.1, R-3.1.2 and R-devel.
I have also tested the versions of affylmGUI downloaded by biocLite for
each version of R and the same result applies.
I have no errors under 2.15.3, 3.0.2, 3.1.0 and 3.1.1. The following
error
2015 Jan 14
0
Is the tcltk failure in affylmGUI related to R bug 15957
Seems unlikely that that particular bug is involved. I seem to recall some change related to inadvertent variable capture in .TkRoot$env (?). At any rate, we currently have
> parent.env(.TkRoot$env)
<environment: R_EmptyEnv>
which used to be
> parent.env(.TkRoot$env)
<environment: R_GlobalEnv>
as a result, this won't work any more because R_EmptyEnv has no operators and
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 Jan 24
4
Virus Infection in colorspace_1.1-1.zip (R x64 2.14.1)
I keep finding the Win32\Huer virus in colorspace_1.1-1.zip for R x64 2.14.1
running MS Windows 7. As a result I am not able to use rattle or
ChemometricsWithR. I have tried several different mirrors with the same
result. Fortunately AVG has caught and quarantined the problem, but the
colorspace package is not available.
I can use the package on my Linux OS, but, of course, Linux
2015 Jan 18
1
Is the tcltk failure in affylmGUI related to R bug 15957
Thanks Peter and Dan for your replies.
After learning a bit more about tcltk and environments etc. I have replaced
Try(n <- evalq(TclVarCount <- TclVarCount + 1, .TkRoot$env))
with
Try(n <- .TkRoot$env$TclVarCount <- .TkRoot$env$TclVarCount +1L)
as you suggest.
It now works for both R-3.1.1 and R-3.1.2+
(My understanding is that the Try function is there to put a GUI box
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