Hi, Is there any tool to check if there is update version of a package available? I look for things alike YUM for linux? YD
Are you talking about something other than 'update.packages'? as the help notes Description: These functions can be used to automatically compare the version numbers of installed packages with the newest available version on CRAN and update outdated packages on the fly.> -----Original Message----- > From: Yuandan Zhang [mailto:yzhang4 at turing.une.edu.au] > Sent: Wednesday, 23 March 2005 1:13 PM > To: r-help at stat.math.ethz.ch > Subject: [R] Tool for update > > > Hi, > > Is there any tool to check if there is update version of a package > available? I look for things alike YUM for linux? > > YD > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html >
Hello, Am Mittwoch, 23. M?rz 2005 06:12 schrieb Yuandan Zhang:> Hi, > > Is there any tool to check if there is update version of a package > available? I look for things alike YUM for linux?Start "R --no-save" on a root console and launch "update.packages()" from within R-Enviroment. Surely, this is not like YUM but does a supherb job. Thomas
If you're talking about R itself, I believe the answer is "no". However, the release schedule for R is rather predictable (two major releases per year, one in Spring and another in Fall, with patch releases in between as needed), so the need is not that great, IMHO. Andy> From: Yuandan Zhang > > Hi, > > Is there any tool to check if there is update version of a package > available? I look for things alike YUM for linux? > > YD > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > > >
Is there a way to set a cron job to automatically update packages? Maybe something like this: $unixprompt> R --vanilla update.packages() Alternately, is it possible to use the RSPython plugin to create a cron job. Effectively calling R and update.packages() from a python script? Best, Darren On Wed, 23 Mar 2005 16:12:52 +1100, Yuandan Zhang <yzhang4 at turing.une.edu.au> wrote:> Hi, > > Is there any tool to check if there is update version of a package > available? I look for things alike YUM for linux? > > YD > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
On Thu, 24 Mar 2005, Darren Weber wrote:> Is there a way to set a cron job to automatically update packages? > Maybe something like this: > > $unixprompt> R --vanilla update.packages() >If you put update.packages(repos="http://cran.us.r-project.org", ask=FALSE) in a file update.R you can do R CMD BATCH update.R update.log or even fancier, something like R CMD BATCH update.R update-`date --iso-8601`.log to keep dated log files. -thomas
Seemingly Similar Threads
- simplified Chinese and traditional Chinese translation for R manuals
- Getting R to emit an image file as a pipe or Base64 strea m: Mac OSX 10.3 - R 2.0.1
- write out data in format
- Re : LOOPS
- Getting R to emit an image file as a pipe or Base64 stream: Mac OSX 10.3 - R 2.0.1