[R] Hmisc describe error
David Winsemius
dwinsemius at comcast.net
Mon Oct 1 18:53:03 CEST 2012
On Oct 1, 2012, at 9:33 AM, Bond, Stephen wrote:
> Describe fails for me with a message similar to what was an issue in 2008 and got fixed according to posts.
>
> R version 2.15.0 (2012-03-30)
> Copyright (C) 2012 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> Platform: i386-pc-mingw32/i386 (32-bit)
>
> # output truncated
>
>> options(chmhelp = FALSE, help_type = "text")
>> .help.ESS <- help
>> options(STERM='iESS', editor='gnuclient.exe')
>> load('prostate.sav')
>> library(rms)
> Loading required package: Hmisc
> Loading required package: survival
> Loading required package: splines
> Hmisc library by Frank E Harrell Jr
>
> Type library(help='Hmisc'), ?Overview, or ?Hmisc.Overview')
> to see overall documentation.
>
> NOTE:Hmisc no longer redefines [.factor to drop unused levels when
> subsetting. To get the old behavior of Hmisc type dropUnusedLevels().
>
>
> Attaching package: 'Hmisc'
>
> The following object(s) are masked from 'package:survival':
>
> untangle.specials
>
> The following object(s) are masked from 'package:base':
>
> format.pval, round.POSIXt, trunc.POSIXt, units
>
>
> Attaching package: 'rms'
>
> The following object(s) are masked from 'package:survival':
>
> Surv
>
>> describe(prostate)
> Error in format(dates(x)) : could not find function "dates"
>>
>
Iget anerror when I use that code.
Error in describe(prostate) : object 'prostate' not found
And when I attempt loading it get:
data(prostate)
So you must have a different set of objects or packages loaded on your installation than I do.
David Winsemius, MD
Alameda, CA, USA
More information about the R-help
mailing list