[R] permutations

Eiger c_cb at hotmail.it
Sun Oct 11 13:04:34 CEST 2009



jholtman wrote:
> 
> try this to get the column output:
> 
> cat(x, sep='\n', file='/tempxx.txt')
> 
> 

Thanks for your answer.
I've tried the command "cat" , but give me this error:

> x<-permn(c(2,3,5,7))

> cat(x, file="/my_path/filename.txt","\n")

Error in cat(list(...), file, sep, fill, labels, append) : 
  argument 1 (type 'list') cannot be handled by 'cat'

-- 
View this message in context: http://www.nabble.com/permutations-tp25834463p25842437.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list