Re: [R] help files for a function

2011-03-15 Thread Joshua Wiley
Hi Erin, There is no "appropriate directory" until you have a package. Until the package is built, R will not access and use the help documentation. So I guess the answer is, "wherever it is convenient for you to find and edit as your function develops until the time when you put it in one of yo

[R] help files for a function

2011-03-15 Thread Erin Hodgess
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 ne