[R] Export Results to a txt file applying a function to a list

2010-08-31 Thread Evgenia
Dear users, ***I have a function f to simulate data from a model (example below used only to show my problem) 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) s

Re: [R] Export Results

2010-06-28 Thread Tal Galili
Do you have an open word file ? Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) --

Re: [R] Export Results

2010-06-28 Thread Pedro Mota Veiga
Thanks for your sugestions. But when I do "wdGet(T)" I have de next message. > wdGet(T) Error in if (!(tmp[["ActiveDocument"]][["Name"]] == filename)) tmp$Open(paste("path", : argument is of length zero What is happen? Thaks for all -- View this message in context: http://r.789695.n4.nabb

Re: [R] Export Results

2010-06-26 Thread Liviu Andronic
On Sat, Jun 26, 2010 at 7:42 AM, Tal Galili wrote: > And there are also the "brew", and "Sweave" packages (as Henrique > mentioned). > Also, odfWeave and Sweave via LyX. I believe that this is FAQed. Liviu __ R-help@r-project.org mailing list https://st

Re: [R] Export Results

2010-06-25 Thread Tal Galili
See ?pdf ?png ?sink There is also R2wd (about which I wrote here: http://www.r-statistics.com/2010/05/exporting-r-output-to-ms-word-with-r2wd-an-example-session/ ) And there are also the "brew", and "Sweave" packages (as Henrique mentioned). Best, Tal Contact Details:-

Re: [R] Export Results

2010-06-25 Thread Henrique Dallazuanna
See ?Sweave On Fri, Jun 25, 2010 at 12:58 PM, Pedro Mota Veiga wrote: > > Hi R users, > How can I automatically export results and graphs to a file? > Thanks in advance > > Pedro Mota Veiga > > -- > View this message in context: > http://r.789695.n4.nabble.com/Export-Results-tp2268622p2268622.htm

[R] Export Results

2010-06-25 Thread Pedro Mota Veiga
Hi R users, How can I automatically export results and graphs to a file? Thanks in advance Pedro Mota Veiga -- View this message in context: http://r.789695.n4.nabble.com/Export-Results-tp2268622p2268622.html Sent from the R help mailing list archive at Nabble.com. ___

[R] export results

2010-02-25 Thread Wendy
Hi all, I am looping through a function for 100 time in the middle of my code, and I want to output the results from this function. Is there a way to write the results into a txt or csv fil? For example, I write the results from the first loop to the first column of a spreadsheet and the results