Re: [R] Installing GO 1.7.0

2005-05-03 Thread Christian Lederer
Hi, is the announced solution for the GO 1.7.0 installation already publicly available? I am running into the same trouble as described in below, using 2.0.1 under Ubuntu Hoary. Thanks, Christian > Seth Falcon wrote: Hi Tom, I'm cc'ing to Bioconductor as that is probably a better place for the dis

[R] Package pixmap breaks try() under circumstances

2005-02-22 Thread Christian Lederer
Dear R users, in some circumstances, try() shows a strange behaviour, when the pixmap package is loaded. The following piece of code works as expected, if it is either sourced in an interactive session or invoked via R CMD BATCH (the try-error is printed). However, if i invoke R using ``R --van

[R] socket problems (maybe bugs?)

2005-02-16 Thread Christian Lederer
Dear R Gurus, for some purpose i have to use a socket connection, where i have to read and write both text and binary data (each binary data package will be preceeded by a header line). When experimenting, i encountered some problems (with R-2.0.1 under different Linuxes (SuSE and Gentoo)). Since

[R] Strange parsing behavior of an else condition

2005-02-07 Thread Christian Lederer
Dear R users, can anybody explain the reason, why the first piece of code below gives a parsing error, while the other two variations work? # Gives a parsing error x <- 1 if (x < 0) { y <- 1 } else # Error occurs at this line { y <- -1 } # This works x <- 1 { if (x < 0) {

Re: [R] Gaussian frailty leads to segmentation fault

2004-07-28 Thread Christian Lederer
disappear. and the model gives reasonable results in my first simulations with normally distributed study effects. Christian Thomas Lumley wrote: We really need a reproducible example to find segmentation faults. Can you make one? -thomas On Wed, 28 Jul 2004, Christian Lederer wrote: Dear R

[R] Gaussian frailty leads to segmentation fault

2004-07-28 Thread Christian Lederer
Dear R gurus, for a simulation concerning study effects and historical controls in survival analysis, i would like to experiment with a gaussian frailty model. The simulated scenario consists of a randomized trial (treatment and placebo) and historical controls (only placebo). So the simulated data

[R] Sloppy argument checking for named arguments

2004-06-02 Thread Christian Lederer
Dear R Gurus, i recently noticed that R does sloppy argument checking for named arguments, if the argument contains a dot. Example: > f <- function(foo.bar=0) { print(foo.bar) } > f(foo=1) [1] 1 I guess, this should be considered as a bug. Anyway, the consequence is that bugs caused by typing error

[R] coxph covariance matrix

2004-05-23 Thread Christian Lederer
Hi, when calculating the Cox model for a factor with n levels (using treatment contrasts), i noticed that the off diagonal elements of the estimated covariance matrix are always nearly (but not exactly) equal. On the one hand, this is plausible to me: If i could obtain estimates x_i, 1<=i<=n, for t

Re: [R] cgi/servlets/httpd in R

2004-05-10 Thread Christian Lederer
s rather than the typical ~2 second R startup time. Thanks for any tips. -Frank -Original Message- From: Christian Lederer [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 10:04 AM To: [EMAIL PROTECTED] Subject: Re: [R] cgi/servlets/httpd in R Hi, if found that the easiest wa

Re: [R] cgi/servlets/httpd in R

2004-05-06 Thread Christian Lederer
Hi, if found that the easiest way for me doing CGI with R was using the RSPerl package. So i could do all the CGI related things in Perl and call R functions from Perl to do the statistics. You can get RSPerl from http://www.omegahat.org. If loading the data each time gives a performance problem, i

[R] Build problems on Linux SuSE 9.1

2004-05-02 Thread Christian Lederer
Hi, did anybody succeed in building R on SuSE Linux 9.1? My compilation failed with the following error messages: make[4]: Entering directory `/home/lederer/Source/R-1.9.0/src/modules/X11' gcc -I. -I../../../src/include -I../../../src/include -I/usr/X11R6/include -I/us r/local/include -DHAVE_CONFI

[R] Confusion about coxph and Helmert contrasts

2004-03-02 Thread Christian Lederer
Hi, perhaps this is a stupid question, but i need some help about Helmert contrasts in the Cox model. I have a survival data frame with an unordered factor `group' with levels 0 ... 5. Calculating the Cox model with Helmert contrasts, i expected that the first coefficient would be the same as if i

[R] package question

2004-01-24 Thread Christian Lederer
Dear R-Gurus, is it possible, to define variables, which are only visible to functions belonging to a certain package? (For a certain package i would like to have something similar to static variables in C, which are only visible to functions defined in the same source file.) In the documentation