Hi,
one solution is to use sink. Check ?sink to see explanation and following
example.

sink("sink-examp.txt")
i <- 1:10
outer(i, i, "*")
sink()

Andrija

On Tue, Nov 1, 2011 at 10:43 AM, AlexC <alexandre.chausson@unil.ch> wrote:

> Hello,
>
> Thank you for your replies.  I cannot run the function rcor.test even when
> having loaded package ltm.  Perhaps it has to do with the fact that I am
> using the latest version of R and this package wasn't created under that
> version
>
> The function corr.test in package psych works fine.  Is there anyway to
> export the results in a txt or csv file?  Since it isn't in a data frame
> format it cannot simply be exported using write.table
>
> Alexandre
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/Correlation-Matrix-in-R-tp3938274p3962939.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.
>

	[[alternative HTML version deleted]]

