s-news
[Top] [All Lists]

creating a function in a library

To: s-news@lists.biostat.wustl.edu
Subject: creating a function in a library
From: "Gilliam, Reid" <rbgilliam@att.com>
Date: Mon, 19 May 2003 16:52:57 -0400
Hi all,

I have an S-PLUS function that is in a library, and I need to change it.  We
call this function using Java/Connect.  I've tried doing this using the
following procedure:

Within S-PLUS 6.1:
1. > library(new) #Attach to the library called "new"

2. Set the library to read/write access in the object explorer search path

3. > func1 #Execute the function 

4. > search() #Get the number of the library for the session

5. > assign("func1", get("func1"),where=#)

The result of doing this is that not only does the function no longer work,
but all of a sudden my ability to import data via ODBC within S-PLUS is
eliminated!  It has disasterous effects.  I can't replace the function
through Windows to get it to work or anything.  Does anyone know how to
successfully update an S-PLUS function in a library? 

Thanks,
Reid Gilliam

<Prev in Thread] Current Thread [Next in Thread>
  • creating a function in a library, Gilliam, Reid <=