On Tue, 30 Nov 2004 [EMAIL PROTECTED] wrote:
This summer I and a colleague built a package for R v 1.9.1 containing C-code under Windows. That only worked for us when R was installed in c:\program files\R. Now I have R v 2.0.1 and the same package won't build. I get the following
C:\Program Files\R\rw2001\bin>rcmd check "c:\program files\r\rw2001\src\library\ sag" * checking for working latex ...latex: not found NO * using log directory 'C:/Program Files/R/rw2001/bin/sag.Rcheck' * checking for file 'sag/DESCRIPTION' ... OK * checking if this is a source package ... OK
installing R.css in C:/PROGRA~1/R/rw2001/bin/SAG~1.RCH
---------- Making package sag ------------ adding build stamp to DESCRIPTION making DLL ... ... DLL made installing DLL installing R files installing man source files installing indices installing help >>> Building/Updating help pages for package 'sag' Formats: text html latex example chm Fstat text html latex example
# I delete some of the list of functions
samrocn text html latex samrocnboot text html latex example
Microsoft HTML Help Compiler 4.74.8702
Compiling c:\PROGRA~1\r\rw2001\src\library\sag\chm\sag.chm
Compile time: 0 minutes, 1 second 40 Topics 78 Local links 9 Internet links 1 Graphic
Created c:\PROGRA~1\r\rw2001\src\library\sag\chm\sag.chm, 54,723 bytes Compression decreased file by 51,513 bytes. preparing package sag for lazy loading Error in findpack(package, lib.loc) : There is no package called 'sag' Execution halted make: *** [lazyload] Error 1 *** Installation of sag failed ***
Removing 'C:/PROGRA~1/R/rw2001/bin/SAG~1.RCH/sag' ERROR Installation failed.
What happened?
See the advice about not installing R into a path with spaces in. Not that we can reproduce this: I have tried a lot of combinations with spaces in and all work for me.
I suspect
cd C:\Program Files\R\rw2001\src\library ..\..\bin\rcmd check sag
will work.
-- Brian D. Ripley, [EMAIL PROTECTED] 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
______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel