R-alpha: Re: R-beta: R FAQ v0.60
Thomas Lumley
thomas@biostat.washington.edu
Thu, 11 Dec 1997 09:05:25 -0800 (PST)
On Thu, 11 Dec 1997, Paul Gilbert wrote:
> >However, keep in mind that in the long run, all R SOURCE files will need
> >to have a `.R' extension (as of 0.60, this is already a must for data).
>
> Does this mean that files like, for example, ../R/library/mva/R/mva should be
> called ../R/library/mva/R/mva.R or does it mean that in R when I use source()
> the file name must end in .R?
It only applies to package source code: so
src/library/SOMEPKG/R/file should be
src/library/SOMEPKG/R/file.R and
src/library/SOMEPKG/data/datafile should be
src/library/SOMEPKG/data/datafile.R
for the installer to install them.
Similarly, the documentation must be in .Rd files
This has the benefit of ignoring things like emacs backup files while you
are developing a package, and of making packages easier to understand
(possibly).
-thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._