From tobias.verbeke at openanalytics.be  Thu Dec 10 23:22:49 2009
From: tobias.verbeke at openanalytics.be (Tobias Verbeke)
Date: Thu, 10 Dec 2009 23:22:49 +0100
Subject: [Rd] How to organized code in the R/ directory of a package?
In-Reply-To: <366c6f340912101356j1be51766lba30bc00de72e52f@mail.gmail.com>
References: <366c6f340912101356j1be51766lba30bc00de72e52f@mail.gmail.com>
Message-ID: <4B2174B9.1050807@openanalytics.be>

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.

Best,
Tobias

> 
> Does 'R CMD INSTALL' install the files in the subdirectories automatically?
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
>



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