Re: [Rd] developing a package: increase the number of functions

From: Prof Brian Ripley <>
Date: Mon, 30 Jul 2007 08:31:26 +0100 (BST)

On Mon, 30 Jul 2007, Coster, Albart wrote:

> Dear list,
> I am trying to develop a package. I used the function package.skeleton
> to make the directory tree of the package and then build and compiled
> the package as described (I hope). Now, I would like to increase the
> number of functions in the package without overwriting the existing
> package directory tree, so I put these new functions in the directory R
> of the tree. When I then build and install the package, I can not find
> the new functions, so apparently they are omitted from the installation.

What file name(s) did you use? See 'Writing R Extensions' for allowed names, and also remember you need to add documentation for those functions.

Do you have a NAMESPACE?

> My question is: why does this occur? What should I do to get these new
> functions also installed?
> (I am using R 2.4.1)

Why? R 2.5.1 is current.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Mon 30 Jul 2007 - 07:36:01 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 31 Jul 2007 - 14:37:16 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.