similar to: tcltk package under Windows

Displaying 20 results from an estimated 10000 matches similar to: "tcltk package under Windows"

2003 Oct 15
1
help with legend()
I am converting some S-PLUS scripts that I use for creating manuscript figures to R so that I can take advantage of the plotmath capabilities. In my S-PLUS scripts I like to use the key() function for adding legends to plots, and I have a couple of questions regarding using the legend() function in R. 1) is there a way to specify different colors for the legend vector of text values? 2) is there
2016 Apr 29
2
tcltk: click and return table cell index
I'm struggling mightily with what should be a simple task...when a user clicks on a cell in a tcltk table widget, I need to know which cell was clicked. One idea that gives a cryptic error: tkbind(table1, "<Button-1>", function(x, y){ tcl(table1, "index", x, y) } # x, y give pixel coordinates; "index" should give cell coordinates, but format must be
2006 Mar 09
2
tcltk loading in R-2.2.1 from src
Hi, Having trouble loading tcltk in R 2.2.1 built from source. ./configure, make, make check, and make install run ok. > library(tcltk) Error in firstlib(which.lib.loc, package) : Tcl/Tk support is not available on this system Error in library(tcltk) : .First.lib failed for 'tcltk' even though it is listed in library() output. I have the same problem even if i compile
2006 Sep 12
4
variables in object names
Is there any way to put an argument into an object name. For example, say I have 5 objects, model1, model2, model3, model4 and model5. I would like to make a vector of the r.squares from each model by code such as this: rsq <- summary(model1)$r.squared for(i in 2:5){ rsq <- c(rsq, summary(model%i%)$r.squared) } So I assign the first value to rsq then cycle through models 2 through
2006 Oct 18
2
Nested source() errors
Does anyone know of any issues with nesting source() calls within multiple scripts? I have at least one script which always finds errors when I source it but runs fine when run on its own. It containd source() calls to other scripts and it seems to fail during the first nested source() command. Ken Kenneth B. Pierce Jr. Research Ecologist Landscape Ecology, Modeling, Mapping and Analysis
2002 Sep 23
3
Problems with tcltk package
Hello listers, I have installed Tcl/Tk v8.4 on my system (Win XP, R 1.5.1). When I try to load the Tcl/Tk package I get this error: > library(tcltk) Error in firstlib(which.lib.loc, package) : TCL_LIBRARY is not set Error in library(tcltk) : .First.lib failed Can someone help me, please? Thanks, Juan -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2010 Oct 07
2
How do I set the dispersion parameter in poisson glm?
Dear R users, I would like to fit a glm with Poisson distribution and log link with a known dispersion parameter. I do not want to estimate the dispersion parameter. I know what it is, so I simply want to fix it at a constant for this and other models to follow. My simple, no covariate model is: Tall.glm<-glm(Seedling~1, family=poisson, offset(log(area)), data=tallPSME.df) I want to
2013 Jul 09
1
[off topic] [research] Interviews for contributors over 50 for Oregon State University research
Hello, Researchers at Oregon State University are striving to conduct research to learn more about the free/open source software community landscape as it relates to older adults. We have identified you as a leader for a free/open source software community. If you?re interested, we will either do an in-person interview (if you are local to the Corvallis or Portland area), or an interview over the
2006 Sep 20
1
problem coercing truncated character vector to levels
Dear R wizes, I have a data.frame of species abundances with column names consisting of 4 letter codes then an underscore and a number like this: abco_1, abco_2, abco_3, psm_1, psme_2, psme_3, etc. I would like to get an identifier for all the abco, and psme and other species etc. I used spec.fact<-substring(names(spec.count),1,4) To make a vector of the first 4 letters of
2007 Sep 07
2
Running a PERL script from R
Is there a way to run a simple perl script from R? Kenneth B. Pierce Jr. Research Ecologist Landscape Ecology, Modeling, Mapping and Analysis Team PNW Research Station - USDA-FS 3200 SW Jefferson Way, Corvallis, OR 97331 ken.pierce@oregonstate.edu 541 750-7393 http://www.fsl.orst.edu/lemma/gnnfire http://www.fsl.orst.edu/R_users/index.php [[alternative HTML version deleted]]
2003 Sep 05
1
Installing R on Red Hat Linux, Tcl/Tk
Hi, I've been trying to install R on Red Hat Linux 9 for some potential users of my R/TclTk application. I tried using the rpm for R 1.7.1 for Red Hat Linux 9. It told me that I needed: libtcl8.3.so so I looked for a binary release of Tcl 8.3.x on http://www.tcl.tk/software/tcltk/8.3.html but found that the link to the Tcl 8.3.x binaries pointed to ActiveTcl 8.4.x . I couldn't see
2001 Dec 17
2
help with library(tcltk)
Hi All, I have tried several times to run this library and I get the following message: > library(tcltk) Error in firstlib(which.lib.loc, package) : invalid command name "tcl_findLibrary" Error in library(tcltk) : .First.lib failed > I have checked either the tcl and tk libraries and they are correctly installed (/usr/lib/). I have other program (Grass) that make
2003 Feb 05
3
tcltk installation problem
Dear all, I want to use GraspeR (on R 1.6.0) and have to install tcltk library. When I try to do this, I get back this error message: Error in firstlib(which.lib.loc, package) : TCL_LIBRARY is not set Error in library(pkg, character.only = TRUE) : .First.lib failed But I have a tcl/tk package (Active TCL 8.4.1.0) correctly install on my PC (Win95) and in the autoexec.bat the
2007 Dec 05
1
Information criteria for kmeans
Hello, how is, for example, the Schwarz criterion is defined for kmeans? It should be something like: k <- 2 vars <- 4 nobs <- 100 dat <- rbind(matrix(rnorm(nobs, sd = 0.3), ncol = vars), matrix(rnorm(nobs, mean = 1, sd = 0.3), ncol = vars)) colnames(dat) <- paste("var",1:4) (cl <- kmeans(dat, k)) schwarz <- sum(cl$withinss)+ vars*k*log(nobs) Thanks
2005 Aug 12
1
Issues with tcltk for Tiger Mac OSX
Dear R-helpers, I have installed the latest version of R 2.1.1 in the Tiger OSX. However, when I load up R and use the following command: > library(tcltk) I encounter the following error: Loading Tcl/Tk interface ... Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library '/Library/Frameworks/R.framework/Resources/library/tcltk/libs/tcltk.so':
2009 May 14
1
Bayesian Model Averaging
Hello R Group, Below is the code I submit: library("BMA") X <- read.table("C:/Documents and Settings/Administrator/Desktop/coding.txt",header=TRUE) Y <- read.table("C:/Documents and Settings/Administrator/Desktop/1DCS.txt",header=TRUE) IGout<- iBMA.glm(X, Y, glm.family= gaussian(), verbose = TRUE, thresProbne0 = 5 ) summary(IGout) IGout I
2004 Jul 22
2
Authentification with PostgreSQL
Hi all, I found Dag Wieers' Fedora Core 2 rpm on http://dag.wieers.com/packages/dovecot/ and installed it. Now dovecot-auth isn't complaining anymore about an unknown userdb type but I can't get authentication working. /etc/dovecot.conf (...) # Authentication process name. auth = default # plain digest-md5 anonymous auth_mechanisms = plain auth_userdb = pgsql
2002 Apr 30
1
Undefined symbols in loading tcltk (PR#1499)
Non of these errors occured in earliers versions of R. > library(tcltk) /usr/lib/dld.sl: Unresolved symbol: Tcl_GetVar2Ex (code) from /opt_local/opt/R/lib/R/library/tcltk/libs/tcltk.sl /usr/lib/dld.sl: Unresolved symbol: Tcl_GetString (code) from /opt_local/opt/R/lib/R/library/tcltk/libs/tcltk.sl /usr/lib/dld.sl: Unresolved symbol: Tcl_SetVar2Ex (code) from
2004 Feb 03
1
Linux installation problem
Hello everyone, I downloaded the latest Linux version of R and tried installing it, but during the installation process I found that this version of R requires tcl 8.3 and tk 8.3. The problem is that I've been unable to find Linux versions of tcl 8.3 and tk 8.3. The only Linux versions of tcl/tk I've been able to find are 8.4. Has anybody been successful in getting R to install on
2006 Feb 03
3
R-2.2.1-INSTALL Issue with TCLTK
Hi I am not able to have a working tcltk library in R-2.2.1 inspite of trying different options suggested in the FAQ's. I am using the following configure option and I do get the tcltk package installed but with a missing libs folder. ./configure -prefix= "~R-2.2.1" --enable-R-shlib --enable-linux-lfs --with-zlib --with-gnu-ld --with-tcltk