On Thu, 26 Feb 2004 08:21:05 -0800 (PST), Nathan Whitehouse
<[EMAIL PROTECTED]> wrote :

>Dear R-devel,
>
>  Is there a way to find the size in bytes of a save()
>command --before-- the file has been saved?

I don't think so, though you can guess:  integers are stored in 4
bytes, floats in 8, etc.

One way to solve this problem would be to create a connection that did
nothing except keep track of a file position, then do the save to that
connection.  However, it's not easy to define new connection types.
Might be a nice package to write to allow such a thing.

Duncan Murdoch

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Reply via email to