R-alpha: Son of R

Paul Gilbert (la-jassine@aix.pacwan.net)
Tue, 04 Mar 1997 04:44:54 -0400

Date: Tue, 04 Mar 1997 04:44:54 -0400
To: R-testers@stat.math.ethz.ch
From: Paul Gilbert <la-jassine@aix.pacwan.net>
Subject: R-alpha: Son of R

An option to warn about code which may not work in "son of R" would be
useful.  A similar  "pedantic" option has been mentioned in other contexts.
This would be a good way to allow application developers a method to develop
code which will be immediately (or at least more quickly) portable. Warnings
about code which might not work in S would also be nice. Some of the things
which might require warnings have already been discussed on this list. I
would guess a partial list is:

   - free variables are used
   - partial matching of arguments and list components is used
   - recycling of components is used

I found my time series library (17,000+  lines of S/R) relatively easy to
clean up so that it should run in both S and R, but this was largely because
I was lucky enough to have avoided a few things like using free variables.
If I had known a few years ago that this would be required for R  then I
would have done it on purpose rather than by luck.

Paul Gilbert

r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch