s-news
[Top] [All Lists]

Re: string functions

To: Jeff Mincy <jeff@delphioutpost.com>
Subject: Re: string functions
From: Carlisle Thacker <thacker@aoml.noaa.gov>
Date: Wed, 26 Dec 2001 09:37:13 -0500 (EST)
Cc: s-news@wubios.wustl.edu
In-reply-to: <15399.21135.225375.628060@delphioutpost.com>
Jeff's point can be generalized beyond string functions.  

What has impressed me most about S-Plus is its depth.  Unlike most
software, S-Plus offers much more capability than is advertised.  Much
is not documented, e.g. unpaste().  

Jeff's suggestion of offering lists of functions, perhaps with
caveats, could be extended to embrace ALL functions.


********************************************************
* William Carlisle Thacker                             *
*                                                      *
* Atlantic Oceanographic and Meteorological Laboratory *
* 4301 Rickenbacker Causeway                           *
* Miami, Florida 33149 USA                             *
* Office:  (305) 361-4323                              *
* Fax:     (305) 361-4392                              *
********************************************************

On Mon, 24 Dec 2001, Jeff Mincy wrote:

>    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


<Prev in Thread] Current Thread [Next in Thread>