[Rd] describe function in package Hmisc and function format.dates in chron (PR#13087)

kemphillips at comcast.net kemphillips at comcast.net
Mon Sep 29 17:25:03 CEST 2008


Full_Name: Kem Phillips
Version: 2.7.1 (2008-06-23)
OS: Windows Xp professional
Submission from: (NULL) (98.221.200.108)


The Hmisc function   describe   fails, giving the error message:

   Error in formatDateTime(dd, atx, !timeUsed) : 
     could not find function "format.dates"

Loading the chron package, where function  dates  apparently resides, does not
fix the problem.   Note also that loading  chron  gives a warning.  Earlier
versions of  chron  from the archive failed to load properly.  Please see the
entire session below, with the error message at the bottom.

Thanks.


R version 2.7.1 (2008-06-23)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

[Previously saved workspace restored]

> library(Hdisc)
Error in library(Hdisc) : there is no package called 'Hdisc'
> library(Hmisc)

Attaching package: 'Hmisc'


        The following object(s) are masked from package:base :

         format.pval,
         round.POSIXt,
         trunc.POSIXt,
         units 

Warning message:
package 'Hmisc' was built under R version 2.7.2 
> library(Design)
Loading required package: survival
Loading required package: splines

Attaching package: 'survival'


        The following object(s) are masked from package:Hmisc :

         untangle.specials 

Design library by Frank E Harrell Jr

Type library(help='Design'), ?Overview, or ?Design.Overview')
to see overall documentation.


Attaching package: 'Design'


        The following object(s) are masked from package:survival :

         Surv,
         survfit 


        The following object(s) are masked from package:Hmisc :

         .R.,
         .SV4. 

Warning message:
package 'Design' was built under R version 2.7.2 
> prostate                 NOTE THAT DATA SET prostate exists 
    patno stage              rx dtime                       status age  wt      
            pf hx sbp dbp                               ekg        hg sz
1       1     3 0.2 mg estrogen    72                        alive  75  76     
normal activity  0  15   9                      heart strain 13.798828  2


..

505 13   8.39843750  0  3311
506 NA  22.19921880  1  3428
> describe(prostate)
Error in formatDateTime(dd, atx, !timeUsed) : 
  could not find function "format.dates"
> library(chron)
Warning message:
package 'chron' was built under R version 2.7.2 
> describe(prostate)
Error in formatDateTime(dd, atx, !timeUsed) : 
  could not find function "format.dates"
>



More information about the R-devel mailing list