[R] its dates masked by chron
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Oct 27 22:26:42 CEST 2005
On Thu, 27 Oct 2005, Uwe Ligges wrote:
> Peter Dalgaard wrote:
>
>> Omar Lakkis <uofiowa at gmail.com> writes:
>>
>>
>>> To redescribe the problem; I need to use dates from its
>>> its depends on Hmisc
>>> Hmisc depends chron
>>> dates in chron masks dates in its
>>
>>
>> So use its::dates ...
>
> ... or ask the package maintainer (which might be a hard task: the
> package currently appears to be more or less unmaintained) to fix this
> probably unintended behaviour.
If he can reproduce it: I cannot.
Hmisc does not say it depends on chron according to its DESCRIPTION file,
so I don't see where the idea comes from. A misreading of
http://cran.r-project.org/src/contrib/Descriptions/Hmisc.html ?
Certainly Hmisc does not load chron (or anything else) on any of my
systems. Further, dependencies are loaded *before* the package in
question. After
> library(its)
I get
> search()
[1] ".GlobalEnv" "package:its" "package:Hmisc"
[4] "package:methods" "package:stats" "package:graphics"
...
One way out would be to load chron, Hmisc and then its in that order,
but are these really the current its (1.0.9) and Hmisc (3.0-7)?
>>> ---------- Forwarded message ----------
>>> From: Omar Lakkis <uofiowa at gmail.com>
>>> Date: Oct 27, 2005 11:47 AM
>>> Subject: its dates masked by chron
>>> To: r-help at stat.math.ethz.ch
>>>
>>>
>>> I built R 2.2.0 from source on my debian machine yesterday and updated
>>> all packages. My problem is that "dates" function from its, that my
>>> code heavely uses is now masked by "dates" from chron.
>>> How can I specify tehat I want to use dates from its or how can I
>>> prevent it from being masked?
>>>
>>>
>>>> library(its)
>>>
>>> Loading required package: Hmisc
>>> 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:stats :
>>>
>>> ecdf
>>>
>>>
>>> Attaching package: 'chron'
>>>
>>>
>>> The following object(s) are masked from package:its :
>>>
>>> dates
>>>
>>> ______________________________________________
>>> R-help at stat.math.ethz.ch mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>>>
>>
>>
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
--
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