[R] *.R files for user libraries

Agustin Lobo
Fri, 22 Jun 2001 12:15:20 -0000

Hi!

The Writing R Extensions document (R-exts.pdf) states that,
for creating an R library,

""
The `R'' subdirectory contains R code files. The code files to be
installed
must start with
a (lower or upper case) letter and have one of the extensions `.R'',
`.S'',
`.q'', `.r'', or `.s''.
""

Does this mean that each function sould go into
a separate *.R file?

I understand that I can save a given function as

save(test,file="R/test.R")

But I have many functions, should I make that each function
go to a separate file? Is there any utility for doing
this?

Thanks

Agus