thnaks for comment
countsTable<-read.table("EF_new.txt",header=TRUE,stringsAsFactors=FALSE,row.names=1)
i used this but name is still vanishing and when i used
mydata3 <- data.frame(sapply(mydata2, as.integer(as.character(mydata2))))
so getting this error Error in match.fun(FUN) : 'as.integer(as.character(mydata2))' is not a function, character or symbol In addition: Warning message: In match.fun(FUN) : NAs introduced by coercion