Text analysis with irregular telecom logs in R


#1

I have some irregular telecom logs without columns and rows, how can i perform text analysis for such data and how to import such data into R.

The code ive used to import data into R is

logfile <- read.table(“trace.log”, header = TRUE, sep = “”, fill = TRUE)

The error i get is

Error in read.table(“trace.log”, header = TRUE, sep = “”, fill = TRUE) :
duplicate ‘row.names’ are not allowed

could any one suggest me a solution for this!!!


#2

Try the below.

logfile <- read.table(“trace.log”, header = TRUE, sep = “”, fill = TRUE, row.names=NULL)

Here, row.names = NULL is needed as by default the first row is set to the row names.

Hope this helps!


#3

wooo, it helped :grinning:
Thanks Harshita