search for: unsink

Displaying 3 results from an estimated 3 matches for "unsink".

Did you mean: unlink
2010 Nov 14
6
writing to a file
...a print function for. Thus when I do print(results), the R console shows me a whole bunch of stuff already formatted. What I want to do is to take whatever print(results) shows to console and then put that in a file. I am doing this using the sink command. However, I am unsure as to how to "unsink". Eg, how do I restore output to the normal console? Thanks, Greg
2009 Jul 21
1
Correction.
It has been pointed out to me that I erred in an earlier post. ``Go stick your head in a pig.'' is not the motto of the (entire) Sirius Cybernetics Corporation. It is the motto if the Sirius Cybernetics Corporation ***Complaints Division***. My apologies for the misinformation. cheers, Rolf Turner ###################################################################### Attention:\
2010 Sep 04
2
Function try and Results of a program
Hello, users. Dear users, *******I have a function f to simulate data from a model (example below used only to show my problems) f<-function(n,mean1){ a<-matrix(rnorm(n, mean1 , sd = 1),ncol=5) b<-matrix(runif(n),ncol=5) data<-rbind(a,b) out<-data out} *********I want to simulate 1000 datasets (here only 5) so I use S<-list() for (i in 1:5){ S[[i]]<-f(n=10,mean1=0)}