Can R support data manipulation programming that is available in the SAS
datastep? Specifically, can R support the following:
-Â Â Â Â Â Â Â Â Â Read multiple dataset one record at a time and compare
values from each; then base on if-then logic write to multiple output files
-Â Â Â Â Â Â Â Â Â Load a lookup table and then process a different file;
based on if-then logic, access and lookup values in the table
-Â Â Â Â Â Â Â Â Â Support modular âgosubâprogramming
-Â Â Â Â Â Â Â Â Â Sort files
-Â Â Â Â Â Â Â Â Â Date math and conversions
-Â Â Â Â Â Â Â Â Â Would it be able to support the following type of logic:
o  Start
§ Read Record from File 1
§ Read Record from File 2
§ Match
·        If Key 1 <> Key 2 and Key 1 < Key 2, Write to output file A
·        If Key 1 = Key 2, Write to output file B
·        If Key 1 <> Key 2 and Key 1 > Key 2, Write to output file
C§ Goto Start until File 1 Done
 John Filben
Cell Phone - 773.401.2822
Email - [email protected]
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.