Skip to content

Compiling a package

2 messages · R Heberto Ghezzo, Dr, Brian Ripley

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