Re: [R] About installing the lubridate package

2017-03-07 Thread Bert Gunter
Please go to:

http://cran.r-project.org/

and start reading. In particular, how to download packages and other software.

-- 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 11:18 AM, lily li  wrote:
> Thanks, Bert. This website is comprehensive. So for any kind of packages in
> the future, can I just download from this website? I did a search from
> google before.
>
> On Tue, Mar 7, 2017 at 12:14 PM, Bert Gunter  wrote:
>>
>> 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  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.
>
>

__
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.

Re: [R] About installing the lubridate package

2017-03-07 Thread lily li
Thanks, Bert. This website is comprehensive. So for any kind of packages in
the future, can I just download from this website? I did a search from
google before.

On Tue, Mar 7, 2017 at 12:14 PM, Bert Gunter  wrote:

> 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  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.
>

[[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.

Re: [R] About installing the lubridate package

2017-03-07 Thread Bert Gunter
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  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.

__
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.

Re: [R] About installing the lubridate package

2017-03-07 Thread lily li
Or if there is another way to get '', 'mm', and 'dd' from time variable
'dd-mm-'? Thanks very much.


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

[R] About installing the lubridate package

2017-03-07 Thread lily li
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.