On Sun, 26 Oct 2003, Leeds, Mark wrote:
> does anyone know if it is possible to read and write from a file ( table
> ) inside
> the same Splus program. In other words, can I use write.table and
> read.table using the same file in the same program ? My guess is NO.
YES in current S-PLUS (>= 5, I guess).
file() connections can be opened for reading and writing, and using
anonymous files (just file()) is pointless unless you do that.
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
|