R-beta: R 0.50 alpha
Ennapadam Venkatraman (VENKAT@biosta.mskcc.org)
25 Jul 97 12:02:00 EST
Message-Id: <199707251602.SAA13750@hypatia.math.ethz.ch>
Date: 25 Jul 97 12:02:00 EST
From: "Ennapadam Venkatraman" <VENKAT@biosta.mskcc.org>
Subject: R-beta: R 0.50 alpha
To: "r-help" <r-help@stat.math.ethz.ch>
The new code seems to have broken various things.
Autoloading of libraries doesn't seem to work:
> library(survival4)
Autoloading required library: splines
Error in pos.to.env(pos) : invalid "pos" argument
> search()
[1] ".GlobalEnv" "library:survival4" "library:date"
[4] "library:base"
The coxph function the the library survival4 doesn't seem to work. It just
crashes R. See the example below:
--------------------------------------------------------------------------
R : Copyright 1997, Robert Gentleman and Ross Ihaka
Version 0.50 Alpha-1 (July 22, 1997)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type "license()" for details.
[Previously saved workspace restored]
> runif(1)
[1] 0.05205324
> .Random.seed
[1] 4721 5660 21509
> library(splines)
> library(survival4)
> xx <- NULL
> xx$ftim <- exp(-runif(100))
> xx$ctim <- 2*runif(100)
> xx$sts <- 1*(xx$ftim <= xx$ctim)
> xx$otim <- xx$sts*xx$ftim + (1-xx$sts)*xx$ctim
> xx$z1 <- runif(100)
> xx$z2 <- runif(100)
> survfit( Surv(otim,sts) ~ 1,xx)
Call: survfit(formula = Surv(otim, sts) ~ 1, data = xx)
n events mean se(mean) median 0.95CI 0.95CI
100.0000 65.0000 0.6854 0.0223 0.7294 0.6418 0.7864
> coxph( Surv(otim,sts) ~ z1 + z2, data=xx)
--------------------------------------------------------------------------
It crashed the moment I hit return.
E. S. Venkatraman
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=