[R] how to do java-like hashtables in R, R from a java programmer's p onit of view
M. Edward (Ed) Borasky
znmeb at aracnet.com
Wed Apr 25 22:44:24 CEST 2001
On Wed, 25 Apr 2001, Chris Marshall wrote:
I do some *very* similar things, except that I do the data structuring in
Perl and create comma-separated value files that I can read directly into
R with "read.csv". The basic data structure in R is the data frame, and most
of my Perl code simply builds data frames.
I have actually processed sniffer-like data. In the specific case, I simply
built a list indexed by time stamp in milliseconds (column 1). Column 2 is the
"from" IP address, column 2 is to "to" IP address, column 3 is the byte count
and column 4 is the protocol. In actuality, my data came from Microsoft SMS
NetMon rather than from a sniffer. Then all I have to do is read the data into
a statistics package (when I did this I used Minitab, not R) and I can easily
do analysis on packets by source, destination, protocol, etc. Contact me off-
list for more details.
znmeb at aracnet.com (M. Edward Borasky) http://www.aracnet.com/~znmeb
How to Stop A Folksinger Cold # 3
"If you miss the train I'm on..."
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help