Skip to content
Prev 75682 / 398502 Next

Image from bytes streams

"M??rcio de Medeiros Ribeiro" <marcinhosbt at gmail.com> wrote in message
news:<76189e25050816063321b42d24 at mail.gmail.com>...
Have you considered in R writing the file to a temporary name (see
?tempfile). When the file is complete, after the dev.off() in R as suggested
by Prof Ripley, you could rename the file [using file.name() in R]. Your
external program can now access the file without worrying about whether it
is complete, since the file appears not to exist until the whole file has
been written.

efg