Hi again, I've just uninstalled R2.01 and installed the new R2.10 on my WindowsXP machine. I then attempted to install the vegan package from source files, as I learned to do last week, with the help of some of you. I have updated my path variable to the new R directory (R/rw2010/bin instead of R/rw2001pat/bin), and I've still got the HTMLHelpWorkshop files installed, as well as Perl and the MinGW compiler. I didn't change anything in those files, and everything is stored in directories without spaces in the name. I had trouble with the install, so I deleted the rtools folder and reinstalled it. Still, the package won't install. Following R CMD INSTALL vegan I get the error: "no rule to make target 'C:/R/rw2001pat/include/R.h', needed by 'goffactor.o'. Stop." So it looks like I've still got something pointing to the old rw2001pat directory, instead of the new rw2010 directory. Can anyone tell me what I've overlooked? I have also gone into Mkrules and updated all the paths that I could. Thanks again, Tyler -- Tyler Smith PhD Candidate Department of Plant Science McGill University tyler.smith at mail.mcgill.ca
On Mon, 25 Apr 2005, Tyler Smith wrote:> I've just uninstalled R2.01 and installed the new R2.10 on my WindowsXP > machine. I then attempted to install the vegan package from source > files, as I learned to do last week, with the help of some of you. I > have updated my path variable to the new R directory (R/rw2010/bin > instead of R/rw2001pat/bin), and I've still got the HTMLHelpWorkshop > files installed, as well as Perl and the MinGW compiler. I didn't change > anything in those files, and everything is stored in directories without > spaces in the name. I had trouble with the install, so I deleted the > rtools folder and reinstalled it. > > Still, the package won't install. Following R CMD INSTALL vegan I get > the error: "no rule to make target 'C:/R/rw2001pat/include/R.h', needed > by 'goffactor.o'. Stop." So it looks like I've still got something > pointing to the old rw2001pat directory, instead of the new rw2010 > directory. Can anyone tell me what I've overlooked? I have also gone > into Mkrules and updated all the paths that I could.Create a file in the 'vegan' package directory named '.Rbuildignore' and add the text 'Makedeps' on a line by itself. See if that fixes your problem. You're picking up the dependencies from previous version's last compilation. You could also delete this file since it'll be recreated anyway. IMO, the file 'Makedeps' should be added to the list of files R ignores by default. ---------------------------------------------------------- SIGSIG -- signature too long (core dumped)
Thanks! I tried adding the .Rbuildignore file, but that didn't work out. So I found the Makedeps file in the vegan/src folder and deleted it. That solved the problem. Tyler -- Tyler Smith PhD Candidate Department of Plant Science tyler.smith at mail.mcgill.ca
Reasonably Related Threads
- R 2.1.0 for Windows installation error? atanh not in R.dll?
- DOH! RE: R 2.1.0 for Windows installation error? atanh not in R.dll?
- Cannot find ldfortran (R on Cygwin)
- RWinEdt, other text editors and R2.01 a problem in pasting commands
- contrib pkg install problem on Windows with R2.2.0