[R] Automating package updates after major version change
Jeff Newmiller
jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Thu May 14 19:50:58 CEST 2020
Why are you mucking with the system-level library? It is quite unusual to have a use-case in which you should not be adjusting your personal library.
On May 14, 2020 10:05:53 AM PDT, Rich Shepard <rshepard using appl-ecosys.com> wrote:
>On Sun, 26 Apr 2020, Sarah Goslee wrote:
>
>> Not so coincidentally, I just worked thru this for myself.
>> http://numberwright.com/2020/04/clean-and-new/
>
>Sarah,
>
>This isn't working for me on Slackware-14.2/x86_64. My R library is in
>/usr/lib64/R/library/ and I copied the contents to a text file, one
>package
>per line.
>
>Using the filename, packagelist, as an argument to install.packages()
>fails:
>> install.packages(packagelist)
>Error in install.packages(packagelist) : object 'packagelist' not found
>
>Adding quotes didn't help.
>
>Creating a script, newversionupdate.R, containing the line,
>install.packages(packagelist)
>
>and sourcing it also failed.
>
>What might I be doing incorrectly?
>
>Regards,
>
>Rich
>
>______________________________________________
>R-help using 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.
--
Sent from my phone. Please excuse my brevity.
More information about the R-help
mailing list