[18875] in s-news-athena

home help back first fref pref prev next nref lref last post

[S] S-Plus object and method definition examples

daemon@ATHENA.MIT.EDU (Scott Longmore)
Thu Aug 5 12:27:31 1999

Message-Id: <199908051622.QAA18000@opal.fsl.noaa.gov>
Date: Thu, 5 Aug 1999 10:22:51 -0600 (MDT)
From: Scott Longmore <longmore@fsl.noaa.gov>
Reply-To: Scott Longmore <longmore@fsl.noaa.gov>
To: s-news@wubios.wustl.edu
Mime-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-Md5: T14fXPccTvY+fANGWJgK2A==


Hello,

  I'm fairly new to S-Plus...coming from a C++/Perl programming
background. I am wondering if anyone has a set of example object/method
definitions that I could look at. I have been able to define the
objects but unable to properly set unique methods...i.e. not
redefining system definied functions or "extended" i.e. inherited
methods. 

   Essentially,I want to define objects that have methods with 
unique names that aren't defined anywhere. I read the documentation
on setGeneric but have been unable to implement it properly. Does
anyone have any working examples.

Scott
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Scott Longmore - CIRA Research Associate   \\\\\\\\\\\\    |   ~
~ DOC\NOAA\ERL\FSL\MD\E-Team FSL\RRV Project    \\\\\\\\\  - * - ~
~ 325 Broadway R/E/FS6                            ~\__n__\   |   ~
~ Boulder, CO 80303 USA                             \\\\\\\      ~ 
~ E-mail: longmore@fsl.noaa.gov                       \MMMM\     ~
~ URL: http://www-md.fsl.noaa.gov/~longmore             \\\\\    ~
~ Phone: (303) 497-6443  Fax: (303) 497-3096     \\\\\Dust\Devil/~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In the immortal words of Socrates..."I drank what?" -Chris Knight-

-----------------------------------------------------------------------
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

home help back first fref pref prev next nref lref last post