similar to: tcltk programming guide

Displaying 20 results from an estimated 900 matches similar to: "tcltk programming guide"

2003 Feb 25
1
Re: A tcltk question
Hi, I am trying to create a light-weight window with no border and title bar. The following code does not work for me. base <- tktoplevel() tkwm.overrideredirect(base, TRUE) (or FALSE) Could someone help me out? Thanks. Jianhua Zhang Department of Biostatistics Dana-Farber Cancer Institute 44 Binney Street Boston, MA 02115-6084
2005 Nov 03
1
Help in expand.grid() (Restricted combination)
Dear Rs: BY having the following code: candidates<-expand.grid(e=c("nearest-neighbor","exaustive"), d=c(70,75,80,85,90,92,94,96,98,99), n=c(20,25,30,35,40)) results in : e d n 1 nearest-neighbor 70 20 2 exaustive 70 20 3 nearest-neighbor 75 20 4 exaustive 75 20 ................ 90 exaustive 90 40 91 nearest-neighbor 92 40 92 exaustive 92 40 93 nearest-neighbor 94 40 94
2006 Sep 12
2
coerce matrix to number
Dear List, how can I coerce a matrix like this [,1] [,2] [,3] [,4] [,5] [,6] [1,] "0" "1" "1" "0" "0" "0" [2,] "1" "0" "1" "0" "0" "0" [3,] "1" "1" "0" "0" "0" "0" [4,] "0" "0"
2007 Aug 16
1
use AnnBuilderSourceUrls with local path insted of ftp adress
Hallo everybody. I want to build my own GO package using the function GOPkgBuilder of AnnBuilder. It uses AnnBuilderSourceUrls to collect data from different ftp sites. These data are not complete for my organism, so I would like to change the ftp adresses to a local one. The changing itself is working but when I run the script I get the following Error: Error in
2013 Feb 01
2
how to setdiff on lists of lists
Dear List, I have a data structure like: > aa [[1]] [1] 1 2 3 [[2]] [1] 4 5 6 > bb [[1]] [1] 3 [[2]] [1] 5 I would like to set differences between "aa" and "bb" and get as result another list of lists like: > res [[1]] [1] 1 2 [[2]] [1] 4 6 I am trying: lapply(aa, setdiff, bb) but I simply get "aa" back as result. Could you please point me in the
2012 May 07
1
wireframe and par(mfrow)
Hello List, I have some plots with the wireframe() function, and I'd like to display them in a single jpeg file. I know that par(mfrow=c(x,y)) will divide my display window in x rows and y columns, and although this works with plot(), it looks like it's not working with wireframe. here's my code: library(lattice) library(Cairo) CairoJPEG("wiley-rank.jpeg", width=960,
2003 Mar 06
1
tkexit
Sorry, my question is if exists a command tkexit in R, i need a command how exit of tcl for close an aplication. How to use him. Thank
2003 Feb 11
3
Tcl/Tk support is not available on this system.
I am trying to get R to run on a Red Hat 8 system, I am running R version 1.6.2 with Tcl/Tk version 8.3.5 installed. When I try to test R from the data_sets directory I get the error message; Error in firstlib(which.lib.loc, package) : Tcl/Tk support is not available on this system Error in fileBrowser(textToShow = "Choose one CDF file" , nSelect = 1, : tcl/tk library not available
2011 Jan 03
4
how to invert the axes in the wireframe() plot
Dear List, I am using the wireframe function in the lattice package, and I am wondering if it is possible to invert the default axes orientation for x and y axes... what parameter should I look for? Best regards, Simone Gabbriellini
2003 Jul 08
7
rbind question
Hi I am trying to replicate a vector in n rows for comparison purposes with another matrix. foo <- c(1,2,3) bar <- rbind(foo,foo) # does the trick for 2 rows bar <- rbind(rep(foo,2)) # does something else How do I generate a matrix with all rows=foo without writing 'foo' n times as arg? Thanks, David
2003 Aug 13
7
Regexpr with "."
I'm trying to use the regexpr function to locate the decimal in a character string. Regardless of the position of the decimal, the function returns 1. For example, > regexpr(".", "Female.Alabama") [1] 1 attr(,"match.length") [1] 1 In trying to figure out what was going on here, I tried the below command: > gsub(".", ",",
2005 Aug 29
1
Rcmdr extensions
Dear List, I am trying to extend Rcmdr with some functions usefult to my study... I have addedd succesfully a menu and some submenu to the GUI, and I have placed a file .R in the /etc folder... I am able to call functions on that file, but I cannot see the results: how can I tell Rcmdr to write the output in the output box? Second question: how can I refer to the actually selected
2007 Mar 08
2
Problems with different mail clients
I use dovecot as my imap server, and everything is ok. I used an IMAP client from Windows XP (Outlook Express) as well as Pocket PC (Windows Mobile 5) and webmail. The problem is that I recently used Windows Vista and its imap client (Windows Mail), and problems began. >From the Windows XP machine, all is ok, but from the Pocket PC a weird thing happens: When I first configure the client,
2010 Oct 20
1
how to connect to a remote PostgreSQL database from R on mac osx
Hello List, I would like to connect to a postgreSQL database on a remote server and I am wondering what is the best package to do that. I have just installed RpgSQL, RPostgreSQL, Rdbi and RODBC. The handiest to me is RPostgreSQL but I don't see how to connect to a remote server with it. For sure I can connect to remote server with RODBC, but since I am on a Mac OSX 10.6, I have quite
2008 Nov 07
5
Agent-based social simulation and R
Do anyone know anything about the use of R for agent-based social simulation? It should be possible, and would be convenient for the simple reason that there are several nice packages containing useful stuff for SNA (Social Network Analysis). Information about packages, web sites, experienced persons in the field, etc. would be very welcome. Tom
2006 Mar 19
1
For developers and users
Hi folks... WineHQ web-site isn't exaustive about "contributing to localized versions of Wine". [quote] "If you're willing to register for work on a certain language, then please sign up with us!" [unquote] OK... How? However, I (hopefully) post my work here. I wrote a WINE-xx/dlls/shell32/shell32_xx.rc in Esperanto and I updated the italian one. Regards
2007 Jun 27
3
exaustive subgrouping or combination
Dear Colleagues, I am looking for a package or previous implemented R to subgroup and exaustively divide a vector of squence into 2 groups. For example: 1, 2, 3, 4 I want to have a group of 1, (2,3,4) (1,2), (3,4) (1,3), (2,4) (1,4), (2,3) (1,2,3), 4 (2,3), (1,4) ... Can someone help me as how to implement this? I get some imaginary problem when the sequence becomes large. Thanks much in
2010 Nov 02
1
subset a data.frame
Hello List, this should be simple, but cannot figure it out. I am trying to subset a data.frame like this: > data4 users time 1 user5 2009-12-01 14:09:58 2 user1 2009-12-01 14:40:16 3 user8 2009-12-04 08:18:37 4 user6 2009-12-04 08:18:37 5 user83 2009-12-04 08:18:37 6 user82 2009-12-04 08:18:37 7 user31 2009-12-04 08:18:37 8
2005 Aug 13
0
tkinsert matrix - how to display a matrix with tcltk
dear list, I have problems with tkinsert I need to display a matrix as a result of my function, but when I use tkinsert(txt, "end", myMatrix, sep="\n") I simply obtain a string. I do: n<-tclVar() tclObj(n)<-matrix(data, ncol=lenght) tkinsert(txt, "end", tclvalue(n), sep="\n") any hints? thank you in advance, simone gabbriellini
2003 Apr 29
1
Re: Unzip gz files in R under Windows
I tried zip.unpack to unzip a gz file under Windows and got "error 1 in extracting from zip file". Did I do something wrong or is there a better way of unziping a gz file in Windows? The gz file is fine as I could unzip it visually throught Windows. Thanks. Jianhua