Chris Marshall
2001-Apr-26 19:47 UTC
[R] how to do java-like hashtables in R, R from a java progra mmer's p onit of view
It sounds like we are kindred spirits. I am using an old PC, with linux installed, running tcpdump as my packet sniffer. I will experiment with data frames as you suggest to get the hang of R some more before worrying about hashtables again. Chris Marshall -----Original Message----- From: M. Edward (Ed) Borasky To: Chris Marshall Cc: r-help at stat.math.ethz.ch Sent: 4/25/01 4:44 PM Subject: Re: [R] how to do java-like hashtables in R, R from a java programmer's p onit of view On Wed, 25 Apr 2001, Chris Marshall wrote: [snip] 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..." Tough. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._._._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._