> And you have to remember that RStyle is still a work > in progress - it's a > wonderful help but it's not always 100% > accurate...If it's changing MIN to > MINIMUM in your syntax where it's not valid, you > should submit it as a bug > on the R:DCC.
I think that R:Style has never been promoted as a syntax checker -- it doesn't really make any attempt to understand the code it is styling. So, when a keyword, especially and abbreviation, has ambiguous meaning in R:Base, R:Style won't know what to do with it. R:Code and, I believe, the new RBEdit are the same way -- they recognize keywords but can't tell you if they're used properly or not. RBTI has announced a major revision to R:Style in the next release, with a GUI for configuration and so on. It would be nice if they could add a syntax checking step as well. That would increase the number of programmer errors that R:Base could find for you. I don't believe, however, that that would be a very simple addition for them to make, and they probably have a lot on their plate alread. -- Larry
