Re: [R] Compiling a package

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri 01 Sep 2006 - 17:30:34 GMT

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

______________________________________________
R-help@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.
Received on Sat Sep 02 04:44:38 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 07 Sep 2006 - 07:51:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.