[R] Principal Components Analysis

Bert Gunter gunter.berton at gene.com
Thu Dec 27 18:15:00 CET 2007

Are there lots of missing values in the data? If so, my guess would be that
na.omit(h1) leaves you with no data. Have you checked this?

Bert Gunter

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of SNN
Sent: Wednesday, December 26, 2007 2:49 PM
To: r-help at r-project.org
Subject: [R] Principal Components Analysis


I do have a file that has 500000 columns and 40 rows. I want to apply PCA on
that data and this is what I did

h1<-read.table("Ccode.txt", sep='\t', header=F) # reads the data from the
file Ccode.txt
but I am getting the following error
"Error in svd(x, nu = 0) : 0 extent dimensions"

I appreciate if someone can help


View this message in context:
Sent from the R help mailing list archive at Nabble.com.

R-help at r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list