Re: [R] Passing Command to Optim in factanal

2009-11-03 Thread Ravi Varadhan
lf Of Ali Torkamani Sent: Tuesday, November 03, 2009 1:30 PM To: r-help@r-project.org Subject: [R] Passing Command to Optim in factanal Hi, I am currently trying to execute the following command: f<-factanal(factors=k$Components$nparallel,covmat=m,n.obs=2287,rotation="var imax",contro

[R] Passing Command to Optim in factanal

2009-11-03 Thread Ali Torkamani
Hi, I am currently trying to execute the following command: f<-factanal(factors=k$Components$nparallel,covmat=m,n.obs=2287,rotation="varimax",control=list(opt=list(method=c("BFGS" but keep getting the error: L-BFGS-B needs finite values of 'fn' I can't figure out what I am doing wrong here,