An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20140224/0834d00e/attachment.pl>
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:
I'm trying to get the chron package into my system (in Windows 7) Using the packages menu, I chose MI chigan
chooseCRANmirror() utils:::menuInstallPkgs()
Then I went to install packages, and clicked on chron from the box that came up. A window popped up and asked "Would you like to use a personal library instead?" I clicked on No, then got these messages Warning in install.packages(NULL, .libPaths()[1L], dependencies = NA, type = type) : 'lib = "C:/Program Files/R/R-3.0.2/library"' is not writable Error in install.packages(NULL, .libPaths()[1L], dependencies = NA, type = type) : unable to install packages How can I get chron? This happened at three different mirrors. Thanks for any help David [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list 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.
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.
---------------------------------------------------------------------------
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.
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.