import - importing data into r that can not be as numeric -


i use both read.csv , read.table importing data following, it`s not numeric.can me whats problem?

x<-read.csv("d:\\r-files\\mydata1.csv",header=true,dec = ".") > is.numeric(x) [1] false 

or

x<-read.csv("d:\\r-files\\mydata1.txt",header=true,dec = ".") > is.numeric(x) [1] false>  

x <- read.csv(file="d:\\r-files\\mydata1.csv", header=true, sep=",", dec = ".", stringsasfactors = false) x <- as.matrix(x) 

hopefully solve query.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -