Re: [R] processing log file

2009-11-13 Thread Henrique Dallazuanna
how many times > they accessed: > The 'plyr' solution of Karl Ove Hufthammer gives me the exact summary > statistics that I'm looking for. > > Jab > > --- On Fri, 13/11/09, markle...@verizon.net wrote: > > > From: markle...@verizon.net > Subject:

Re: [R] processing log file

2009-11-13 Thread Jabez Wilson
zon.net Subject: Re: Re: [R] processing log file To: jabez...@yahoo.co.uk Date: Friday, 13 November, 2009, 16:36 Hi: I think below does what you want but it doesn't come out formatted very nicely. Maybe someone can show you the formatting ? Good luck. table.users <- read.table(textConne

Re: [R] processing log file

2009-11-13 Thread Karl Ove Hufthammer
On Fri, 13 Nov 2009 11:03:31 + (GMT) Jabez Wilson wrote: > What I want to do is to find out how many unique users logged > on each day, and how many individual machines where accessed per day. Use the 'plyr' package: library(plyr) ddply(table.users, .(Date), summarise, users=length(uniqu

Re: [R] processing log file

2009-11-13 Thread David Winsemius
On Nov 13, 2009, at 6:03 AM, Jabez Wilson wrote: Dear all, I'm trying to process a log file which logs the date, the username and the computer number accessed. The table looks like this: table.users Date UserName Machine 1 2008-11-25 John 641 2 2008-11-25Clive 611

[R] processing log file

2009-11-13 Thread Jabez Wilson
Dear all, I'm trying to process a log file which logs the date, the username and the computer number accessed. The table looks like this: >table.users Date UserName Machine 1  2008-11-25 John 641 2  2008-11-25    Clive 611 3  2008-11-25   Jeremy 641 4  2008-11-25 Walt