Or if there is another way to get 'yyyy', 'mm', and 'dd' from time variable
'dd-mm-yyyy'? Thanks very much.


On Tue, Mar 7, 2017 at 11:45 AM, lily li <chocol...@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@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.

Reply via email to