[R] RDQ about making packages summary

Erin Hodgess hodgess at uhddx01.dt.uh.edu
Thu Mar 23 01:33:08 CET 2000

Dear R People:

Here are the answers, received before I could say "Miniature

Thanks to Prof. B, and Dr. E!


From: Douglas Bates <bates at stat.wisc.edu>
Date: 22 Mar 2000 17:28:17 -0600

Erin Hodgess <hodgess at uhddx01.dt.uh.edu> writes:

> Hi R People:
> I am on a UNIX operating system, with R 1.0.0, Digital UNIX V4.0D
> I was able to configure from source very easily.
> Now here is a Really Dumb Question(RDQ):
> In src/library, I have a directory called my.package
> That directory, in turn, has an R and a src directory.
> The src directory has some FORTRAN code in it.
> My RDQ is:  how do I make the package, please?

You don't really need to have the package in the src/library
directory.  Any directory will do but you have to have the package
configured properly with a DESCRIPTION file.

See "Writing R Extensions".  You can make a PostScript or PDF copy for
yourself in the directory called doc/manual or you can download the
PDF from any CRAN site.

There is now a convenient facility of
 R CMD build <package-name>
to build the tar file that creates the package.

Let me know if you run into trouble.  These instructions are rather

--Doug Bates

From: Dirk Eddelbuettel <edd at debian.org>
To: Erin Hodgess <hodgess at uhddx01.dt.uh.edu>

There is truly comprehensive documentation in the "R Extensions" manual. You
can build .info, .dvi, .pdf, ... from the source files.  The web site for R
might have .ps versions too.

Debian users even get a seperate r-doc-pdf package.  


According to the latest figures, 43% of all statistics are totally worthless.

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list