[Rd] strange warning: data() error?
wdunlap at tibco.com
Tue Apr 17 00:32:37 CEST 2018
data(package="survival") gives, in part,
cgd Chronic Granulotomous Disease data
cgd0 (cgd) Chronic Granulotomous Disease data
colon Chemotherapy for Stage B/C colon cancer
flchain Assay of serum free light chain for 7874
genfan Generator fans
heart Stanford Heart Transplant data
jasa (heart) Stanford Heart Transplant data
jasa1 (heart) Stanford Heart Transplant data
The 'name1 (name2)' entries indicate that 'name'; is in the file
labelled name2. If you run data(cgd) you get both cgd and cdg0
in .GlobalEnv; if you run data(heart) you get heart, jasa, and jasa1.
I don't think this has changed recently, although it might be nice
if the names were handled more symmetrically, like alias entries
in help files.
On Mon, Apr 16, 2018 at 2:58 PM, Therneau, Terry M., Ph.D. via R-devel <
r-devel at r-project.org> wrote:
> A user asked me about this and I can't figure it out.
> tmt% R
> R Under development (unstable) (2018-04-09 r74565) -- "Unsuffered
> Copyright (C) 2018 The R Foundation for Statistical Computing
> Platform: x86_64-pc-linux-gnu (64-bit)
> > library(survival)
> > data(cgd0)
> Warning message:
> In data(cgd0) : data set ‘cgd0’ not found
> The data set is present and can be manipulated: data() is not required.
> Other data sets in the survival package don't generate this message.
> Terry T.
> R-devel at r-project.org mailing list
[[alternative HTML version deleted]]
More information about the R-devel