search for: oldver

Displaying 3 results from an estimated 3 matches for "oldver".

Did you mean: older
2010 Sep 16
1
a reliable way to check the latest version of R on CRAN?
...CRAN webpages (kind of nasty approach...): x = readLines("http://cran.r-project.org/sources.html") # the version number is in the next line of 'The latest release' rls = x[grep("latest release", x) + 1L] newver = gsub("(.*R-|\\.tar\\.gz.*)", "", rls) oldver = paste(getRversion(), collapse = ".") # new version available? compareVersion(newver, oldver) == 1L Thanks! Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA
2010 Sep 18
1
Check for updates under Windows (Was: a reliable way to check the latest version of R on CRAN?)
...CRAN webpages (kind of nasty approach...): x = readLines("http://cran.r-project.org/sources.html") # the version number is in the next line of 'The latest release' rls = x[grep("latest release", x) + 1L] newver = gsub("(.*R-|\\.tar\\.gz.*)", "", rls) oldver = paste(getRversion(), collapse = ".") # new version available? compareVersion(newver, oldver) == 1L Thanks! Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA
2015 Jun 27
4
Old and new package version numbers during RPM update
Hi CentOS folk, In an RPM post-install script, is it possible to know the previous version number, and the new version number of a package if it's an update? I need to know this, because for a certain package, if updating from version 1.x to 2.x, I need to run a program to convert the config file of the package from version 1.x format to version 2.x format. I've looked at SPEC file