Re: [R] sink with R-code

2007-03-08 Thread Bojanowski, M.J. \(Michal\)
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cooley, Scott K Sent: Thursday, March 08, 2007 1:37 AM To: r-help@stat.math.ethz.ch Subject: [R] sink with R-code I have the same question that Eusebio had: Is there a function similar to sink that redirect also R code to a file

[R] sink with R-code

2007-03-07 Thread Cooley, Scott K
I have the same question that Eusebio had: Is there a function similar to sink that redirect also R code to a file that is: sink(R001) x - c(2,-6,-4,8,5,4,1,3,4,-9,0,1) A - matrix(x, ncol=3) A A.prima - t(A) A.prima dim(A) dim(A.prima) sink() create a file R001 with contents