Dear S-users,
Just before I posted a question concerning "setMethod", and I found one
solution,
> 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,
>
> >Problem in initMethods(where): database ".Data" has no meta-database; can't
> be used for methods/classes
After I made a directory named "__Meta" under .Data, I reached to
implement a method for the function.
But why?
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
|