
Dear All,

I have many files in my directory. I want to transfer each data into one which is readable.
They have so many possibilities, i have collected(manually and visually) all possibilities and represent them as different numbers.

Rep[grep('context_log',log1$Remain[1:length(log1$Date)]),]<-"2"
Rep[grep('gs',log1$Remain[1:length(log1$Date)]),]<-"5"
Rep[grep('ClockApp',log1$Remain[1:length(log1$Date)]),]<-"6"
Rep[grep('mce',log1$Remain[1:length(log1$Date)]),]<-"7"
......
I manually collect all possibilities contained in all files!!!(manually and visually: this process is so time-consuming, can i have better ideal to collect all possibilities by computer rather than by myself?)

The programs are fine, but each file doesn't match all possibilities, whenever there are non-matched items with above, then warning information come ups:
31: In max(i) ... : no non-missing arguments to max; returning -Inf
32: In max(i) ... : no non-missing arguments to max; returning -Inf
33: In max(i) ... : no non-missing arguments to max; returning -Inf
they returns non-matched items.

How to vanish those warnings?

Thanks a lot.

Tammy

_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
	[[alternative HTML version deleted]]


