I've loaded R-0.50-a1 but when I try to apply the patches it cannot find the files to apply patches to. [9] gilp/R0.50 : patch <R-0.50-a1.patch1 Looks like a new-style context diff. File to patch: [10] gilp/R0.50 : [10] gilp/R0.50 : [10] gilp/R0.50 : cd R-0.50-a1 [11] gilp/R0.50/R-0.50-a1 : ls CHANGES RESOURCES configure.mac* COPYING TASKS configure.win* COPYRIGHTS TASKS.OLD data/ INSTALL VERSION_DATE demos/ MIRROR-SITES bin/ dvi/ Makefile cmd/ etc/ Makefile.in config.cache help/ PLATFORMS config.log html/ PROJECTS config.site lib/ R-0.50-a1.patch1 config.status* library/ R.1 configure* mansrc/ README configure.in src/ [12] gilp/R0.50/R-0.50-a1 : patch <R-0.50-a1.patch1 Looks like a new-style context diff. File to patch: This happens in both Solaris and Linux, but did not happen with patches to previous versions (at least under Linux). There does not appear to be any junk in the patch file. Does anyone know what's wrong? Paul Gilbert =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Oh, now I see : You are in the WRONG directory when applying the patch. Your cd R-0.50-a1 should come BEFORE you do patch < R-0.50-a1.patch1 -- Martin =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
pgilbert at bank-banque-canada.ca (Paul Gilbert) writes:> > I've loaded R-0.50-a1 but when I try to apply the patches it cannot find the files to apply patches to. > > [9] gilp/R0.50 : patch <R-0.50-a1.patch1 > Looks like a new-style context diff. > File to patch:1) Questions about alpha versions belong on r-devel... 2) the way to apply patches is cd R-0.50-a1 gunzip -c R-0.50-a1.patch1.gz | patch -p0 Not having the -p option is asking for trouble and *will* make trouble with patch2 (guess how I know...), but shouldn't do it with patch1. I don't know why it goes wrong for you, it might be related to your having a different directory name. Hum, but my own directory is still R-0.50-a1 and the 2nd patch refers to R-0.50-a2 and I did get it patched up to alpha-3, using -p0. Strange. As I read the man page, -p2 should have been necessary.... -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=