[R] Compiling a package

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Sep 1 19:30:34 CEST 2006


Please use Rcmd INSTALL --build and see if that works for you.  It is how 
Uwe Ligges and I build the public repositories.

On just Rcmd INSTALL if you don't want to distribute it.

(R CMD and Rcmd are the same thing, and I prefer the older form which is 
more efficient.)

On Fri, 1 Sep 2006, R Heberto Ghezzo, Dr wrote:

> Hello,
> I am in Win-XP R:2.3.0
> latest rtools and Perl - of today
> I got Rcmdr.HH source code and tried to compile it myself
> copy all directory to R/R-2.3.0/src/library/Rcmdr.HH
> from R/R-2.3.0/src/library
> I typed:
> ..\..\bin\R CMD build --force --binary --auto-zip Rcmdr.HH
> * checking for file 'Rcmdr.HH/DESCRIPTION' ... OK
> * preparing 'Rcmdr.HH':
> * checking DESCRIPTION meta-information ... OK
> * removing junk files
> Error: cannot open file 'Rcmdr.HH/DESCRIPTION' for reading
> 
> file Rcmdr.HH/DESCRIPTION is there,
> 
> Package: Rcmdr.HH
> Type: Package
> Title: Rcmdr support for the introductory course at Temple University.
> Version: 1.2
> Date: 2006-08-04
> Author: Richard M. Heiberger, with contributions from Burt Holland.
> Maintainer: Richard M. Heiberger <rmh at temple.edu>
> Depends: R (>= 2.1.0), Rcmdr, car, multcomp, leaps, lattice, grid
> Description: Our introductory course spends time on several topics
>         that are not yet in the R Commander.  Therefore we wrote the menu
>         items and make them available.
> License: GPL version 2 or newer
> Packaged: Fri Aug  4 03:57:20 2006; rmh
> 
>  is read/write and after all the authors also have a Rcmdr.HH.zip which means that they compiled without errors.
> 
> Can someone suggest why I can not compile the file?
> I have another version with some modifications and additions which is the one I really want to compile, but if I can not compile the original. . . .
> Thanks for any help
> H.Ghezzo
> McGill University
> Canada
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 

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



More information about the R-help mailing list