[R] building a package under windows

Peter Dalgaard p.dalgaard at biostat.ku.dk
Tue Oct 26 12:21:58 CEST 2004


Gilles GUILLOT <gilles.guillot at inapg.inra.fr> writes:

> After checking paths, it works better.
> But I still have trouble, see  line -5 below : 
> 
> C:\Documents and Settings\guillot\Mes documents\package>R CMD build geneland
> * checking for file 'geneland/DESCRIPTION' ... OK
> * preparing 'geneland':
> * cleaning src
> * removing junk files
> * building 'geneland_1.0.tar.gz'
....
>   setplot                           text    html    latex   example
>   simFmodel                         text    html    latex   example
> make: *** No rule to make target `and'.  Stop.
> *** Installation of geneland failed ***
> 
> Removing 'C:/DOCUME~1/guillot/MESDOC~1/package/GENELA~1.RCH/geneland'
>  ERROR
> Installation failed.

I think the "and" comes from your "Documents and Settings". The
package building instructions probably have something to say about
building in directories with spaces in the name. You might try

cd C:/DOCUME~1/guillot/MESDOC~1/package/GENELA~1.RCH/geneland 

and the rebuild.


-- 
   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




More information about the R-help mailing list