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

From: Tobias Verbeke <tobias.verbeke_at_openanalytics.be>
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.

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



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel 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