Skip to content
Prev 6244 / 63424 Next

Several R vs S-Plus issues

On Thu, Oct 04, 2001 at 11:31:52AM -0700, Thomas Lumley wrote:
One more (at least :-))

3) fix saveload.c to preserve NA status in strings.

Right now we have
[1] "NA" "NA" "NA"
[1]  TRUE  TRUE FALSE
[1] "NA" "NA" "NA"
[1] FALSE FALSE FALSE

It's easy enough to fix in principle--just add another case to
NewSaveSpecialHook and NewLoadSpecialHook.  Unfortunately this means
workspace files that contain string NA's written with this new
convention won't be readable by older versions of R (I think it will
generate an "unknown type" error) (and probably leave the file
opened).

luke
Message-ID: <20011004142528.A6487@nokomis.stat.umn.edu>
In-Reply-To: <Pine.A41.4.33.0110041124310.100374-100000@homer38.u.washington.edu>; from tlumley@u.washington.edu on Thu, Oct 04, 2001 at 11:31:52AM -0700