[R] help files for a function

Erin Hodgess erinm.hodgess at gmail.com
Wed Mar 16 05:38:54 CET 2011


Dear R People:

Suppose I have the following function and I generate the documentation for it:

> f <- function(x) {
+ return(x^2)
+ }
> prompt(f)
Created file named 'f.Rd'.
Edit the file and move it to the appropriate directory.
>

What would be the appropriate directory if I haven't created my new
package yet, please?

Thanks,
Erin


-- 
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com



More information about the R-help mailing list