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

Greg Evans Greg.Evans at datamine.com
Mon Nov 14 01:03:32 CET 2005

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
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,

More information about the R-devel mailing list