Skip to content
Prev 85798 / 398506 Next

srt --- slope text with function?

On 2/5/2006 4:28 PM, ivo welch wrote:
There's going to be a new section on debugging in the R 2.3.0 "Writing R 
Extensions" manual (written by Brian Ripley).  You can see it now if you 
build R-devel (or download a binary build from CRAN; I put Windows 
builds there approximately daily).  I also put together a 
Windows-oriented debugging page at 
http://www.stats.uwo.ca/faculty/murdoch/software/debuggingR/.
ls.str() includes an option to select only functions.  You could also 
write your own filter for ls() output.
I don't think so, but sys.call() gets close.  Watch out though:  the 
name you see will be the name used by the caller, which may not be the 
name used when the function was written.  For example, in a function 
called from apply(), you'll see FUN, not the original name.  Objects 
don't know their own names in general, because they keep getting passed 
around.
The ? operator is already used as a prefix and infix operator (for the 
help system), so this seems unlikely.
I don't understand the question.  dump() produces R code that can 
reconstruct a dataset; is that what you want?
I'd guess most people learn about functions from the Intro to R manual 
rather than the "function" man page, but this is a good suggestion.

Duncan Murdoch