There is a difference between parsed functions and .R files. What you see when
you type the name of a function alone on the R command line is a text
representation of the parsed function that is ready to run in RAM. That has
none of the comments or whitespace from the function as you wrote it.
Since installing R 2.14.0 on my Mac (a Mac Pro running 10.6.8) an issue has
arisen when using the vi editor in conjunction with the edit() command. More
specifically, commented lines disappear from edited functions when using
[functionname.R] <- edit().
That is, if you have created a function c
2 matches
Mail list logo