[R] static analysis tools for R code?

2005-04-11 Thread Vivek Rao
An R script will terminate when one tries to use an undefined variable, with a message such as Error in print(x) : Object x not found This run-time error might occur after the script has already been running for some time. In some cases it would be nice to get such warnings before the script is

Re: [R] static analysis tools for R code?

2005-04-11 Thread Dimitris Rizopoulos
-help@stat.math.ethz.ch Sent: Monday, April 11, 2005 4:18 PM Subject: [R] static analysis tools for R code? An R script will terminate when one tries to use an undefined variable, with a message such as Error in print(x) : Object x not found This run-time error might occur after the script has

Re: [R] static analysis tools for R code?

2005-04-11 Thread Luke Tierney
, April 11, 2005 4:18 PM Subject: [R] static analysis tools for R code? An R script will terminate when one tries to use an undefined variable, with a message such as Error in print(x) : Object x not found This run-time error might occur after the script has already been running for some time

Re: [R] static analysis tools for R code?

2005-04-11 Thread Prof Brian Ripley
Look at Luke Tierney's codetools package. https://stat.ethz.ch/pipermail/r-devel/2003-July/027103.html It is useful, and has been run over R itself several times. On Mon, 11 Apr 2005, Vivek Rao wrote: An R script will terminate when one tries to use an undefined variable, with a message such as