Thank you to Prof Braian D Ripley and Christian Keller.
This is the summary about "meta-database" and CHAPTER command,
I missed page 6 "Getting Started".
On Tue, 27 Apr 1999 07:19:32 +0100 (BST)
Prof Brian D Ripley <ripley@stats.ox.ac.uk> wrote:
> > Now I'm reading "PROGRAMMING WITH DATA", with accessing to S-PLUS 5.0
> > on Solaris. Then, I have some question.
> > As mentioned on page 34, I tried to implement a method for a function named
> > > > "whatis",
> >
> > >setMethod("whatis","vector",function(object)
> > paste(class(object),"vector of length", length(object))
> >
> > But I got an error message as a result,
> > What is the best way to solve this problem?
>
> You did not create your working directory properly (with Splus5 CHAPTER).
>
> > What is the "meta-database"?
>
> Your .Data should looks something like
>
> auk% ls -aR S5work
> ./ ../ .Data/
>
> /home/ripley/S5work/.Data:
> ./ ../ .Audit .Last.value __Help/ __Meta/
>
> /home/ripley/S5work/.Data/__Help:
> ./ ../
>
> /home/ripley/S5work/.Data/__Meta:
> ./ ../
>
> Metadata are objects stored in .Data/__Meta, containing information about
> classes, etc. Try the index of `Programming with Data' for pointers to
> more information.
On Tue, 27 Apr 1999 08:37:05 +0200
Christian Keller <ckeller@aicos.com> wrote:
> You should also read Chapter 1.2 (p.6) in "Programming with Data"
> and the release notes to S-PLUS 5.0 or the manual "Getting started
> with S-PLUS 5.0".
>
> To learn more about "meta-database" take a look at the index and
> find out that there is an entry "metadata, what it really means"
> on page 88.
>
> >> After I made a directory named "__Meta" under .Data, I reached
> >> to implement a method for the function.
>
> The prefered way is to use the CHAPTER command to create these
> directories.
> mkdir mynewfuns
> cd mynewfuns
> Splus5 CHAPTER
> Splus5
>
> Btw. Also a directory named "__Help" will be created."
>
> >> But why?
>
> Why not?! (see page 88)
>
> Greetings.
> -- Christian
Mika
Mika Nakazono
Mathmatical Systems Inc., Japan/
-----------------------------------------------------------------------
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
|