When compiling R on Windows, I am getting the following error. Does anyone have any suggestions? ---------- Making package datasets ------------ adding build stamp to DESCRIPTION installing R files installing data files preparing package datasets for lazy data loading Error in load(zfile, envir = envir) : input has been corrupted, with LF replaced by CR Execution halted make[4]: *** [lazydata] Error 1 make[3]: *** [all] Error 2 make[2]: *** [pkg-datasets] Error 2 make[1]: *** [rpackage] Error 1 make: *** [all] Error 2 Thanks, Chad Jenness Electronic Payment Business Services Office: 612-667-9782 Email: Chad.P.Jenness@WellsFargo.com "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" [[alternative HTML version deleted]]
On Tue, 28 Jun 2005 Chad.P.Jenness at wellsfargo.com wrote:> When compiling R on Windows, I am getting the following error. Does > anyone have any suggestions?Yes, it seems you have corrupted the files during unpacking. Did you use the version of tar in the Rtools.zip? Whatever you used to unpack the files has changed LF to CR line endings. Winzip is notorious for doing things like that. Only a very few tools will unpack that tar file (which contains symbolic links) correctly. Which is why we provide one, and issue a warning in the R Installation and Administration manual.> ---------- Making package datasets ------------ > adding build stamp to DESCRIPTION > installing R files > installing data files > preparing package datasets for lazy data loading > Error in load(zfile, envir = envir) : input has been corrupted, with LF > replaced > by CR > Execution halted > make[4]: *** [lazydata] Error 1 > make[3]: *** [all] Error 2 > make[2]: *** [pkg-datasets] Error 2 > make[1]: *** [rpackage] Error 1 > make: *** [all] Error 2 > > > Thanks, > Chad Jenness > Electronic Payment Business Services > Office: 612-667-9782 > Email: Chad.P.Jenness at WellsFargo.com > > "This message may contain confidential and/or privileged information. > If you are not the addressee or authorized to receive this for the > addressee, you must not use, copy, disclose, or take any action based on > this message or any information herein. If you have received this > message in error, please advise the sender immediately by reply e-mail > and delete this message. Thank you for your cooperation" > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > >-- Brian D. Ripley, ripley at 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, UK Fax: +44 1865 272595
Thanks, I got this resolved. Now to embed the R.dll into a C application, do I need to compile R with any shared library flags set? Chad Jenness Electronic Payment Business Services Office: 612-667-9782 Email: Chad.P.Jenness at WellsFargo.com "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" -----Original Message----- From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] Sent: Tuesday, June 28, 2005 7:47 AM To: Chad.P.Jenness at wellsfargo.com Cc: r-devel at r-project.org Subject: Re: [Rd] Error in compiling R On Tue, 28 Jun 2005 Chad.P.Jenness at wellsfargo.com wrote:> When compiling R on Windows, I am getting the following error. Does > anyone have any suggestions?Yes, it seems you have corrupted the files during unpacking. Did you use the version of tar in the Rtools.zip? Whatever you used to unpack the files has changed LF to CR line endings. Winzip is notorious for doing things like that. Only a very few tools will unpack that tar file (which contains symbolic links) correctly. Which is why we provide one, and issue a warning in the R Installation and Administration manual.> ---------- Making package datasets ------------ > adding build stamp to DESCRIPTION > installing R files > installing data files > preparing package datasets for lazy data loading > Error in load(zfile, envir = envir) : input has been corrupted, with > LF replaced by CR > Execution halted > make[4]: *** [lazydata] Error 1 > make[3]: *** [all] Error 2 > make[2]: *** [pkg-datasets] Error 2 > make[1]: *** [rpackage] Error 1 > make: *** [all] Error 2 > > > Thanks, > Chad Jenness > Electronic Payment Business Services > Office: 612-667-9782 > Email: Chad.P.Jenness at WellsFargo.com > > "This message may contain confidential and/or privileged information. > If you are not the addressee or authorized to receive this for the > addressee, you must not use, copy, disclose, or take any action based > on this message or any information herein. If you have received this > message in error, please advise the sender immediately by reply e-mail> and delete this message. Thank you for your cooperation" > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > >-- Brian D. Ripley, ripley at 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, UK Fax: +44 1865 272595