Re: [S] warning on the use of unpaste

Patrick Connolly (PConnolly@grunt.marc.cri.nz)
Fri, 23 Oct 1998 08:08:07 +1300 (NZDT)


According to \"\"William Q. Meeker\"\":
|>
|>
|>
|> Now that unpaste() has been uncovered, users should be warned about
|>
|> unpaste(NULL)
|>
|> and
|>
|> unpaste(numeric(0))
|>
|> either of which will suddenly and unpleasantly kill your S-Plus
|> session on
|>
|> Version 3.4 Release 1 for IBM RS/6000, AIX 3.2.5 : 1996
|> Version 3.4 Release 1 for DEC alpha, Digital UNIX (OSF/1) V3.2 : 1996
|> Version 3.4 Release 1 for Sun SPARC, SunOS 5.3 : 1996

Not on this system:

S-PLUS : Copyright (c) 1988, 1996 MathSoft, Inc.
S : Copyright AT&T.
Version 3.4 Release 1 for Sun SPARC, SunOS 5.3 : 1996
Working data will be in .Data

> unpaste(NULL)
list()
> unpaste(numeric(0))
list()
>

Perhaps our setup has something that prevents it happening. Now it
has me wondering again why it sometimes crashes doing contours when
other people don't seem to have the same problem.

It would appear there is a stochastic element in these setups.

BTW: Is there a way to make the .Data message at startup add the
working directory as well? As it is, it is next to useless -- something
like the "You are in a helicopter" joke. I know I can do it with a
print(unix("pwd")) line in the .First function.

Patrick
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news