I cannot find the solutions in the mannual about "import and export of data".
For example, I run 
>chisq.test(x,p=probs)
    chi-squared.....

.........

How can I write the output into a file? Is there some file operations in R?
Actually, I only want to save the P-value. But I don't know how I can extract the P-value field only from the output
of chisq.test. So, I think I would better save all the output. I tried cat/write....They cannot do this.

Thanks in advance.

	[[alternate HTML version deleted]]

