[R] package relsurv

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Feb 24 20:00:42 CET 2012


On 24/02/2012 16:30, Annalisa Orenti wrote:
> Dear R-Users,
> I've recently used relsurv package for relative survival analysis. In particular I've tried to reproduce the examples proposed in the R-documentation about rsadd, rsmul and rstrans functions in R latest version (R 2.14.1). These examples don't run and the error message is always the following:
>
> data(slopop)
> data(rdata)
> rsadd(Surv(time,cens)~sex+as.factor(agegr)+ratetable(age=age*365,sex=sex,year=year),ratetable=slopop,data=rdata,int=5)
> Errore in .Call("pyears3b", as.integer(death), as.integer(rfac), as.integer(atts$dim),  :
>   C symbol name "pyears3b" not in DLL for package "survival"
>
> However I've tried to reproduce the same examples in R oldest version (R 2.9.2) and they correctly run.
> Do you have any suggestions?

1) Read and follow the posting guide.

2) Update your relsurv, from the sources if necessary.  It needed an 
update to the current version of survival (way later than R 2.14.1).

> Thank you for your help.
> Best regards.
> Annalisa
>
> 	[[alternative HTML version deleted]]

It is contemptuous to send HTML when expressly asked not to ...

> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list