Re: [Rd] How to organized code in the R/ directory of a package?

From: Tobias Verbeke <>
Date: Thu, 10 Dec 2009 23:22:49 +0100

Peng Yu wrote:
> I'm making a package, Current, I put all R files in the R/ directory
> in the package (without using subdirectory). This will become a
> problem when there are many files in the directory. I'm wondering how
> to use subdirectories in R/?

The standard solution is (I would think) to organize the code such that functions belonging together are grouped in one file.


> Does 'R CMD INSTALL' install the files in the subdirectories automatically?
> ______________________________________________
> mailing list
> mailing list Received on Thu 10 Dec 2009 - 22:26:45 GMT

This archive was generated by hypermail 2.2.0 : Fri 11 Dec 2009 - 13:21:04 GMT