From: "Gunter, Bert" <bert_gunter@merck.com>
Date: Sun, 23 Dec 2001 12:27:11 -0500
You do not say what version of S-Plus you are using, but I'd guess 6.0 for
Linus/Unix. In S-Plus 6.0 for Windows, I went to the Help> Contents
tab,Character Data Operations> Concatenate Data... and at the botton of the
paste() listing, found unpaste(), which is what you need. This took me one
minute and seemed reasonable even though I did know the answer.
Oops. Yes - Splus 6.0 on unix.
In this version, the string unpaste is not mentioned with paste and
does not occur anywhere under Splus/library.
Alas, however, unpaste is undocumented in SP2000 (although it's there) and
missing in earlier versions, I believe. splitString() is an undocumented S4
construct to support the string class. However, Splus tells us in its
documentation -- and David Smith has repeated on this list, I believe --
that string types are not fully supported (and may never be), so that
splitString() is risky.
I'm not sure that I understand exactly how unsupported strings are,
but some level of support is absolutely necessary. The minimum level
of string functions may already be implemented.
Nevertheless, I would agree that the S6.0 documentation is rather poor and
that the Help files are quite problematic in their documentation of S4
language features. I would hope that cleaning this up has a high priority
for Insightful.
Specifically, I was looking for something like table 2.2 'elementary
functions' and table 2.3 'summary functions' in the s-plus 6
programmer's guide (for unix/linux). Eg just a table of string
functions and a brief description.
I'll mail insightful.
Does anybody have a reasonably complete list of string functions?
-jeff
-jeff
|