Skip to content

Problem getting the chron package

4 messages · Jeff Newmiller, David Parkhurst, Sarah Goslee

#
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.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.
On February 24, 2014 4:14:51 PM PST, 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:
#
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: