Hello dear R-devel, When installing R 3.0.0 on Windows 7, and then running: require(tools) checkMD5sums(dir=R.home()) I get the following massage: files ‘etc/Rconsole’, ‘etc/Rprofile.site’ have the wrong MD5 checksums [1] FALSE This happens when using the 32 and the 64 bit version of R. And was also reported by 2 other users on other machines, as can be seen in the comments to this post: http://www.r-statistics.com/2013/04/r-3-0-0-is-released-whats-new-and-how-to-upgrade/ The R version was downloaded from this mirror: http://cran.rstudio.com/bin/windows/base/ And installed on both the C and D drive on different computers (to rule-out any permission issues during installation). I hope I didn't miss anything, Tal ----------------Contact Details:------------------------------------------------------- Contact me: Tal.Galili@gmail.com | Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) ---------------------------------------------------------------------------------------------- [[alternative HTML version deleted]]
I can reproduce this (same setup):> require(tools); > checkMD5sums(dir=R.home());It's a '\n' -> '\r\n' issue:> filename <- "etc/Rconsole"; > md5 <- readLines(file.path(R.home(), "MD5")); > md5 <- grep(filename, md5, value=TRUE); > md5 <- gsub(" .*", "", md5); > print(md5);[1] "35d6d6cf7957492f78f50c435e36f08e"> pathname <- file.path(R.home(), filename); > md5a <- md5sum(pathname); > print(md5a);C:/PROGRA~1/R/R-3.0.0patched/etc/Rconsole "7436c369255f36aeacca8ab88b5f96c4"> bfr <- readChar(pathname, nchars=1e6); > bfr <- gsub("\r\n", "\n", bfr, fixed=TRUE); > writeChar(bfr, eos=NULL, con="foo.txt"); > md5b <- md5sum("foo.txt") > print(md5b);foo.txt "35d6d6cf7957492f78f50c435e36f08e"> md5b == md5foo.txt TRUE /Henrik On Thu, Apr 4, 2013 at 11:38 AM, Tal Galili <tal.galili at gmail.com> wrote:> Hello dear R-devel, > > When installing R 3.0.0 on Windows 7, and then running: > > require(tools) > checkMD5sums(dir=R.home()) > > I get the following massage: > files ?etc/Rconsole?, ?etc/Rprofile.site? have the wrong MD5 checksums > [1] FALSE > > This happens when using the 32 and the 64 bit version of R. > And was also reported by 2 other users on other machines, as can be seen in > the comments to this post: > http://www.r-statistics.com/2013/04/r-3-0-0-is-released-whats-new-and-how-to-upgrade/ > > The R version was downloaded from this mirror: > http://cran.rstudio.com/bin/windows/base/ > And installed on both the C and D drive on different computers (to rule-out > any permission issues during installation). > > > > I hope I didn't miss anything, > Tal > > ----------------Contact > Details:------------------------------------------------------- > Contact me: Tal.Galili at gmail.com | > Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | > www.r-statistics.com (English) > ---------------------------------------------------------------------------------------------- > > [[alternative HTML version deleted]] > > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >
On 04/04/2013 2:38 PM, Tal Galili wrote:> Hello dear R-devel, > > When installing R 3.0.0 on Windows 7, and then running: > > require(tools) > checkMD5sums(dir=R.home()) > > I get the following massage: > files ???etc/Rconsole???, ???etc/Rprofile.site??? have the wrong MD5 checksums > [1] FALSERprofile.site is likely to be changed when you install R. It's pretty easy to change Rconsole as well. So perhaps the bug is that we are running checksums on those at all. Duncan Murdoch> > This happens when using the 32 and the 64 bit version of R. > And was also reported by 2 other users on other machines, as can be seen in > the comments to this post: > http://www.r-statistics.com/2013/04/r-3-0-0-is-released-whats-new-and-how-to-upgrade/ > > The R version was downloaded from this mirror: > http://cran.rstudio.com/bin/windows/base/ > And installed on both the C and D drive on different computers (to rule-out > any permission issues during installation). > > > > I hope I didn't miss anything, > Tal > > ----------------Contact > Details:------------------------------------------------------- > Contact me: Tal.Galili at gmail.com | > Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | > www.r-statistics.com (English) > ---------------------------------------------------------------------------------------------- > > [[alternative HTML version deleted]] > > > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel