Message-ID: <19450595.post@talk.nabble.com>
Date: 2008-09-12T07:02:55Z
From: pgseye
Subject: Save object summary to file
In-Reply-To: <19447000.post@talk.nabble.com>
Thanks Yihui and to others who replied privately.
Very helpful information.
Regards,
Paul
pgseye wrote:
>
> Hi,
>
> Am wanting to save the summary of a PCA to file.
>
> Have tried:
>
>> write.table(summary(PCA), file="PCAvar.txt", sep="\t")
>
> but receive:
>
> Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors =
> stringsAsFactors) :
> cannot coerce class "summary.princomp" into a data.frame
>
> What am I doing wrong?
>
> Thanks
>
>
>
--
View this message in context: http://www.nabble.com/Save-object-summary-to-file-tp19447000p19450595.html
Sent from the R help mailing list archive at Nabble.com.