Open a connection to the file (and leave it open), then just use the cat
function with the file option. Or use append=TRUE argument to cat.
On Tue, Oct 1, 2013 at 8:13 AM, Matthew <sobom.some@univ-fcomte.fr> wrote:
> Hello everybody,
>
> i have to save a 100 iteration computation in a file every 5 iterations
> until the end.
> I first give a vector A of 100 elements for the 100 iterations and i want
> to update A every 5 iterations.
>
> I use "save" but it doesn't work.
> Someone has an idea, i need a help
>
> Cheers.
>
>
>
>
>
> --
> View this message in context:
>
http://r.789695.n4.nabble.com/Save-intermediate-result-in-a-same-file-tp4677350.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Gregory (Greg) L. Snow Ph.D.
538280@gmail.com
[[alternative HTML version deleted]]