What version and platform of S-Plus are you using?
In S-Plus 6.1 R1 on Windows, it worked with x of length 15 instead of 1500
and Z<-paste(x[1:10],..etc.). However it failed with your example giving the
error:
Problem: Invalid frame number (0) in set_frame, while calling subroutine
S_unpaste
Use traceback() to see the call stack
Therefore,I'm pretty sure it's a bug.
Cheers,
Bert Gunter
Biometrics Research RY 84-16
Merck & Company
P.O. Box 2000
Rahway, NJ 07065-0900
Phone: (732) 594-7765
mailto: bert_gunter@merck.com
"The business of the statistician is to catalyze the scientific learning
process." -- George E.P. Box
-----Original Message-----
From: Pierre.Ilouga@evotecoai.com [mailto:Pierre.Ilouga@evotecoai.com]
Sent: Friday, November 22, 2002 10:59 AM
To: s-news@lists.biostat.wustl.edu; s-news-owner@lists.biostat.wustl.edu
Subject: [S] A Strange behaviour of "unpaste"
Hi to the Splusers,
my remark will be very short.
Let x<- rep("A", 1500) ; x[5]<- "AB=AB"
1- Z<-paste(x[1:1000] , collapse=" ,")
Z.list<- unpaste( Z , sep= "=") yields a list of length 2 (as
expected)
but
2- Z<-paste(x, collapse=" ,")
Z.list<- unpaste( Z , sep= "=") results to an error with the
following messages:
Terminating S Session: Signal: bad address signal
Warning in restart(first): restart ignored after error (unless clear=T),
while calling subroutine S_unpaste
Warning in restart(first): restart ignored after error (unless clear=T),
while calling subroutine S_unpaste
Warning in restart(first): restart ignored after error (unless clear=T),
while calling subroutine S_unpaste
Warning in restart(first): restart ignored after error (unless clear=T),
while calling subroutine S_unpaste
WHY?
Dr. Pierre Ilouga
EVOTEC OAI
Screening Operations/Discovery Informatics
Schnackenburgallee 114
D-22525 Hamburg
Germany
S-PLUS : Copyright (c) 1988, 2002 Insightful Corp.
S : Copyright Lucent Technologies, Inc.
Version 6.1.2 Release 2 for Linux 2.2.12 : 2002
Working data will be in .Data
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu. To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message: unsubscribe s-news
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may
be confidential, proprietary copyrighted and/or legally privileged, and is
intended solely for the use of the individual or entity named on this message.
If you are not the intended recipient, and have received this message in error,
please immediately return this by e-mail and then delete it.
==============================================================================
|