[R] Problem getting the chron package

Sarah Goslee sarah.goslee at gmail.com
Tue Feb 25 03:21:58 CET 2014


library(chron)

just as for any other package.

Sarah

On Mon, Feb 24, 2014 at 9:18 PM, David Parkhurst <parkhurs at imap.iu.edu> wrote:
> Thanks to Jeff, I seem to have the chron package in my computer now, but how
> do I get R to use it? :
>
> package 'chron' successfully unpacked and MD5 sums checked
>
> The downloaded binary packages are in
> C:\Users\DFP\AppData\Local\Temp\RtmpYLbpgo\downloaded_packages
>> days(Date[1])
> Error: could not find function "days"
>> ?days
> No documentation for 'days' in specified packages and libraries:
> you could try '??days'
>> dates(Date[1])
> Error: could not find function "dates"
>
> David
> On 2/24/2014 8:27 PM, Jeff Newmiller wrote:
>>
>> Don't say no. It is necessary to run R as Administrator in order to
>> install packages into the Program Files directory, but running R as
>> Administrator leads to other problems. The solution is to say yes when it
>> asks if you want to install in a local library. R will always look first in
>> that library, so you won't notice the fact that the Program Files library is
>> not updated.
>>




More information about the R-help mailing list