On 13 May 2004 at 16:30, Brittany Erin Laine wrote:

> Is there any way that I can see the step by step code for functions in
> the base package? For instance the dexp function. I am a student
> working on writing my own function for something that is similar to
> this dexp function and I would like to see the step by step code.
> 

Then a useful way is to say 
debug(dexp)
and then step through the code, thiugh I think that function rapidly 
disappears into internal C code.
>From within a debug() session, tou can use ? (help)
and other functions to investigate the objects, readinfg the help for 
function you see used, and so on.

Kjetil Halvorsen

> Brittany Laine
> GTA WVU Statistics Department
> 331 Hodges
> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to