Re: [Rd] R 3.0.1: wrong MD5 checksums for Windows?
On May 17, 2013, at 20:01 , Tal Galili wrote: > Hello dear R-devel, > > I am not sure if this issue is tracked or not, but in case it isn't: > It appears that R 3.0.1 reproduces the error reported for R 3.0.0 here: > http://r.789695.n4.nabble.com/R-3-0-0-wrong-MD5-checksums-for-Windows-td4663348.html > > That is, that when installing R 3.0.1 on Windows 7, and then running: > > require(tools) > checkMD5sums(dir=R.home()) > > It produces the error: > files ‘etc/Rconsole’, ‘etc/Rprofile.site’ have the wrong MD5 checksums > [1] FALSE As has been pointed out before, it is pretty much a non-issue. The Windows installer ships with md5 sums for some local configuration files and if they are locally configured or touched by the installer, the checksums will not match. checkMD5sums is for package checking, it is not documented to be used for checking R.home(). Perhaps the Windows maintainer could strip those files from the checksums, but I wouldn't put it on high priority. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] R 3.0.1: wrong MD5 checksums for Windows?
Thanks for the response Peter. I am dealing with this since I'm trying to indicate to the user if they had their R installed properly or not, when upgrading R through the installr package. I think I'll simply remove these checks manually in the installr package. Still, for the long run, it makes more sense to me to do as you propose and simply stip those files from the checksums. With regards, Tal Contact Details:--- Contact me: tal.gal...@gmail.com | Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) -- On Sat, May 18, 2013 at 12:11 PM, peter dalgaard wrote: > > On May 17, 2013, at 20:01 , Tal Galili wrote: > > > Hello dear R-devel, > > > > I am not sure if this issue is tracked or not, but in case it isn't: > > It appears that R 3.0.1 reproduces the error reported for R 3.0.0 here: > > > http://r.789695.n4.nabble.com/R-3-0-0-wrong-MD5-checksums-for-Windows-td4663348.html > > > > That is, that when installing R 3.0.1 on Windows 7, and then running: > > > > require(tools) > > checkMD5sums(dir=R.home()) > > > > It produces the error: > > files âetc/Rconsoleâ, âetc/Rprofile.siteâ have the wrong MD5 > > checksums > > [1] FALSE > > As has been pointed out before, it is pretty much a non-issue. The Windows > installer ships with md5 sums for some local configuration files and if > they are locally configured or touched by the installer, the checksums will > not match. checkMD5sums is for package checking, it is not documented to be > used for checking R.home(). > > Perhaps the Windows maintainer could strip those files from the checksums, > but I wouldn't put it on high priority. > > -- > Peter Dalgaard, Professor, > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 2000 Frederiksberg, Denmark > Phone: (+45)38153501 > Email: pd@cbs.dk Priv: pda...@gmail.com > > > > > > > > > [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] R CMD config for R >= 3.0.1
On 18/05/2013 07:54, Berwin A Turlach wrote: Dear all, When installing the usual packages that I use, after installing R 3.0.1, I noticed that the installation of some packages that query R about its configuration did not succeed. The problem is exemplified by: berwin@bossiaea:~$ R-3.0.1 CMD config CC /opt/R/R-3.0.1/lib/R/bin/config: 222: .: Can't open /opt/R/R-3.0.1/lib/R/etc/Renviron Prior to R 3.0.1 such commands worked fine: berwin@bossiaea:~$ R-3.0.0 CMD config CC gcc -std=gnu99 I noticed now that my installations of the development and patched version of R have the same problem (since I usually do not install packages in those versions that query the configuration, I hadn't noticed the issue earlier). The problem seems to be line 222 of `R RHOME`/bin/config (when R is R 3.0.1) which reads: . ${R_HOME}/etc/Renviron The file ${R_HOME}/etc/Renviron does not necessarily exists if one has opted for 32/64-bit builds and installed both as sub-architectures, which I have. In my installation ${R_HOME}/etc/32/Renviron and ${R_HOME}/etc/64/Renviron exist, but no ${R_HOME}/etc/Renviron. Is it necessary for R >= 3.0.1 to have one build as "main"-architecture and the other one as sub-architecture? I could not find anything in the NEWS file or the Admin manual that indicated that this would now be necessary. Not exclusively, but as the Mac build no longer uses this, we do need people who do to test pre-releases. One of us needs to build such a setup and test it Cheers, Berwin For completeness: I am running an Ubuntu 12.04 system and: berwin@bossiaea:~$ echo "sessionInfo()" | R-3.0.1 --slave R version 3.0.1 (2013-05-16) Platform: x86_64-unknown-linux-gnu/64 (64-bit) locale: [1] C attached base packages: [1] stats graphics grDevices utils datasets methodsbase __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Brian D. Ripley, rip...@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] R 3.0.1: wrong MD5 checksums for Windows?
On 13-05-17 2:01 PM, Tal Galili wrote: Hello dear R-devel, I am not sure if this issue is tracked or not, but in case it isn't: It appears that R 3.0.1 reproduces the error reported for R 3.0.0 here: http://r.789695.n4.nabble.com/R-3-0-0-wrong-MD5-checksums-for-Windows-td4663348.html That is, that when installing R 3.0.1 on Windows 7, and then running: require(tools) checkMD5sums(dir=R.home()) It produces the error: files ‘etc/Rconsole’, ‘etc/Rprofile.site’ have the wrong MD5 checksums [1] FALSE Technically speaking, that's just a message, not an error. Those files were changed by the installer, so the information is correct. From a user point of view, it does look like an error. We could avoid the message in several ways: don't bother checking those files, or compute the MD5 checksums on default installed versions of those files, or recompute the checksums after installation. I think the third choice is too hard, so it's not something I'd do. I don't know which of the other two is better. A malicious attacker could do a lot of damage by messing with the Rprofile.site file; maybe a user would want to know if that had happened. So that suggests the second choice. But then users who don't choose whatever default the installer picks will always get the message. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel