Skip to content
Prev 177616 / 398503 Next

system is exactly singular

Hi. I have a csv file. I imported it with
 mydata<-read.table("C:/dataForR/radiology/WordFrequency.csv", header=TRUE,
sep=",")
[1] 982 925

The first column had the doc numbers like doc1, doc2, etc.  so I did 
mydataNum<-mydata[,-1]
[1] 982 924

The second to last column was also not numeric and so I did
[1] 982 923

when I checked
I got
'data.frame':   982 obs. of  923 variables:

and then a list of all the variables and it said they were int and num.

I tried
Error in solve.default(cv) : 
  Lapack routine dgesv: system is exactly singular

Any idea why this is happening?
Thanks.