From Greg.Evans at datamine.com  Mon Nov 14 01:03:32 2005
From: Greg.Evans at datamine.com (Greg Evans)
Date: Mon, 14 Nov 2005 13:03:32 +1300
Subject: [Rd] Help finding some code in the R source code
Message-ID: <3D39BB5C5071174C8F25FC1EDC3B7D6E1CD186@postie.datamine.co.nz>

Hi,
 
I'm trying to write some Python code to check if a string text contains
a complete R statement.  I'm hoping someone will be able to point me to
the right place in the R source code, so I can use it as a starting
point.
 
For example, In the R console.
 
> x <- 1
> plot(
+ x
+ 
+ )
> 
 
If I type "plot(", the console adds a "+" until the ")" is entered.  I'm
looking for the place in the source code that adds the "+" symbol.
 
Thanks in advance,
Greg



[Rd] Help finding some code in the R source code
Greg Evans