Dear all I am trying to create a package in R 1.9.0 and I a getting an error message which I do not understand. (I am using R in Windows XP and 2000) For example the following works well in 1.8.1 C:\Program Files\R\rw1081\src\gnuwin32>make pkg-gamlss ---------- Making package gamlss ------------ adding build stamp to DESCRIPTION installing inst files installing indices not zipping data installing help >>> Building/Updating help pages for package 'gamlss' Formats: text html latex example adding MD5 sums but not in 1.9.0 C:\Program Files\R\rw1090\src\gnuwin32>make pkg-gamlss ---------- Making package gamlss ------------ adding build stamp to DESCRIPTION installing inst files FIND: Parameter format not correct make[2]: *** [C:/PROGRA~1/R/rw1090/library/gamlss/inst] Error 2 make[1]: *** [all] Error 2 make: *** [pkg-gamlss] Error 2 Can anyone help? Thanks Mikis
Note the capitalized FIND, which is a Windows command. See file readme.packages, which says To avoid frustration, please use our tool set, and make sure it is at the front of your path (including beofre the Windows system directories). I believe you haven't done so. On Tue, 20 Apr 2004, Dimitrios Stasinopoulos wrote:> Dear all > > I am trying to create a package in R 1.9.0 and I a getting an > error message which I do not understand. (I am using R in Windows > XP and 2000) > > For example the following works well in 1.8.1 > > C:\Program Files\R\rw1081\src\gnuwin32>make pkg-gamlss > > ---------- Making package gamlss ------------ > adding build stamp to DESCRIPTION > installing inst files > installing indices > not zipping data > installing help > >>> Building/Updating help pages for package 'gamlss' > Formats: text html latex example > adding MD5 sums > > but not in 1.9.0 > > C:\Program Files\R\rw1090\src\gnuwin32>make pkg-gamlss > > ---------- Making package gamlss ------------ > adding build stamp to DESCRIPTION > installing inst files > FIND: Parameter format not correct make[2]: *** > [C:/PROGRA~1/R/rw1090/library/gamlss/inst] Error 2 make[1]: *** > [all] Error 2 make: *** [pkg-gamlss] Error 2 > > Can anyone help? > > Thanks > > Mikis > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > >-- 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
On Tue, 20 Apr 2004 16:12:07 +0100, Dimitrios Stasinopoulos <d.stasinopoulos at londonmet.ac.uk> wrote:>Dear all > >I am trying to create a package in R 1.9.0 and I a getting an >error message which I do not understand. (I am using R in Windows >XP and 2000) > >For example the following works well in 1.8.1 > > C:\Program Files\R\rw1081\src\gnuwin32>make pkg-gamlssThat's not the normal way to build a user's package, that's the way to build one of the packages in the R distribution. It should probably work, only if you have the full setup to build R itself. Can you try R CMD INSTALL gamlss while you are in the parent directory of the package?>FIND: Parameter format not correct make[2]: *** >[C:/PROGRA~1/R/rw1090/library/gamlss/inst] Error 2 make[1]: *** >[all] Error 2 make: *** [pkg-gamlss] Error 2My guess would be that you're not putting the R tools first in your path, so it's finding some incorrect version of one of them. See "readme.packages" for full directions. Duncan Murdoch