[R] R debugging options

2006-04-17 Thread Larry Howe
Hello, What options are available for me to debug my R scripts? For example I normally do something like >source("myfunctions.R") >function1("height", "weight") myfunctions.R is a large R source file that contains many functions. function1 is the "main" function in myfunctions.R. It calls many

Re: [R] R debugging options

2006-04-17 Thread Larry Howe
On Monday April 17 2006 19:45, Larry Howe wrote: > Hello, > > What options are available for me to debug my R scripts? For example I > normally do something like > > >source("myfunctions.R") > >function1("height", "weight") > > myfunctions.R is a large R source file that contains many functions. >

Re: [R] R debugging options

2006-04-17 Thread Francisco J. Zagmutt
News http://cran.r-project.org/doc/Rnews/Rnews_2003-3.pdf Cheers Francisco >From: Larry Howe <[EMAIL PROTECTED]> >To: r-help@stat.math.ethz.ch >Subject: Re: [R] R debugging options >Date: Mon, 17 Apr 2006 20:29:47 -0400 > >On Monday April 17 2006 19:45, Larry Howe wrote: > >

Re: [R] R debugging options

2006-04-17 Thread Duncan Murdoch
On 4/17/2006 7:45 PM, Larry Howe wrote: > Hello, > > What options are available for me to debug my R scripts? For example I > normally do something like > >> source("myfunctions.R") >> function1("height", "weight") > > myfunctions.R is a large R source file that contains many functions. > func

Re: [R] R debugging options

2006-04-18 Thread Larry Howe
On Monday April 17 2006 21:08, Francisco J. Zagmutt wrote: > RSiteSearch("debug") or RSiteSearch("debugging") will give you a lot or > relevant information. I personally use library(debug) extensivelly and it > should do all the taks you asked about. There is a nice article describing > the debug

Re: [R] R debugging options

2006-04-18 Thread John Fox
lp@stat.math.ethz.ch > Subject: Re: [R] R debugging options > > On Monday April 17 2006 21:08, Francisco J. Zagmutt wrote: > > RSiteSearch("debug") or RSiteSearch("debugging") will give > you a lot > > or relevant information. I personally use library(

Re: [R] R debugging options

2006-04-21 Thread Spencer Graves
t; Hamilton, Ontario > Canada L8S 4M4 > 905-525-9140x23604 > http://socserv.mcmaster.ca/jfox > > > >>-----Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf Of Larry Howe >>Sent: Tuesday, Apr

Re: [R] R debugging options

2006-04-21 Thread John Fox
/socserv.mcmaster.ca/jfox > -Original Message- > From: Spencer Graves [mailto:[EMAIL PROTECTED] > Sent: Friday, April 21, 2006 11:21 AM > To: John Fox > Cc: 'Larry Howe'; r-help@stat.math.ethz.ch; Philippe Grosjean > Subject:

Re: [R] R debugging options

2006-04-22 Thread Prof Brian Ripley
-- > >> -Original Message- >> From: Spencer Graves [mailto:[EMAIL PROTECTED] >> Sent: Friday, April 21, 2006 11:21 AM >> To: John Fox >> Cc: 'Larry Howe'; r-help@stat.math.ethz.ch; Philippe Grosjean >> Subject: Re: [R] R debugging o

Re: [R] R debugging options

2006-04-22 Thread Prof Brian Ripley
anada L8S 4M4 >> 905-525-9140x23604 >> http://socserv.mcmaster.ca/jfox >> >> >>> -Original Message- >>> From: Spencer Graves [mailto:[EMAIL PROTECTED] >>> Sent: Friday, April 21, 2006 11:21 AM >>> To

Re: [R] R debugging options

2006-04-22 Thread John Fox
th.ethz.ch; 'Spencer Graves' > Subject: Re: [R] R debugging options > > On Sat, 22 Apr 2006, Prof Brian Ripley wrote: > > > On Fri, 21 Apr 2006, John Fox wrote: > > > >> Dear Spencer, > >> > >> I wasn't aware of getFunctions(), though

Re: [R] R debugging options

2006-04-22 Thread Prof Brian Ripley
for some pickiness: what is a 'function'? This lists "$" as a >>> function, which it is, but it is not a closure. Although >>> exists(mode="closure") would appear to be documented to >> differentiate, >>> it does not and so one needed