Dear william, There must be at least one perfect collinearity (within the numerical accuracy of the computation) among the variables in mydataN; this is not surprising given that there are apparently 923 variables for 982 observations. Do you really want to do an exploratory factor analysis for 923 variables?
John > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of onyourmark > Sent: April-20-09 7:48 PM > To: r-help@r-project.org > Subject: [R] factanal error > > > Hi. I tried running the following code. I don't understand the error. > > mydata <- read.table("C:/dataForR/radiology/wordFrequencies.csv", > header=TRUE, sep=",") > > > dim(mydata) > [1] 982 924 > mydataN<-mydata[,-923] > > dim(mydataN) > [1] 982 923 > > cor(mydataN) > factanal(mydataN, factors=3) > > > Error in solve.default(cv) : > Lapack routine dgesv: system is exactly singular > > Thank you for looking at this! > -- > View this message in context: http://www.nabble.com/factanal-error- > tp23147009p23147009.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.