[R] About installing the lubridate package

Bert Gunter bgunter.4567 at gmail.com
Tue Mar 7 20:14:42 CET 2017


Huh?

I just installed the Mavericks binary on my OSX Sierra without problems:

install.packages("lubridate", repos='https://cran.revolutionanalytics.com')

A google search would have found this essentially instantly!

As for native R functions for parsing dates: of course!

?strptime

Again, a google search would have found this (e.g. on "parse dates in
R"). Please make a minimal effort to search before posting such "where
do I find" queries here.

Cheers,
Bert


Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Tue, Mar 7, 2017 at 10:45 AM, lily li <chocold12 at gmail.com> wrote:
> Hi R users,
>
> I'd like to ask that where to find the 'lubridate' package for Mac Sierra?
> I downloaded one version for OS X Mavericks binaries, but it does not work.
>
> The error message is as below:
>> install.packages("~/Downloads/lubridate_1.6.0.tar.gz", repos = NULL, type
> = "source")
> ERROR: dependency ‘stringr’ is not available for package ‘lubridate’
> * removing
> ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/lubridate’
> Warning in install.packages :
>   installation of package
> ‘/Users/qinghuan/Downloads/lubridate_1.6.0.tar.gz’ had non-zero exit status
>
> How to install the proper package? Thanks for your help.
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.



More information about the R-help mailing list