Skip to content
Prev 1792 / 398506 Next

errores

On Thu, 7 Jan 1999, Peter B. Mandeville wrote:

            
Not so. It works for the MASS library, for example, in that version of R.
I really think I am wasting my time trying to help R users. In the VR
bundle from which you got the Sitka data (even though you claim
data(Sitka) did not work) is a set of scripts modified to run under R,
and there are on-line complements for `R'. PLEASE USE THEM.

You cannot reasonably expect a book about S-PLUS to work unchanged on R,
especially one finished in 1996 to work on R as it has become in 1999.
There is a fair chance that the 1999 3rd edition will work with 
minimal changes on current R.
That example is for S-PLUS, not R. See the scripts for the changes. Doug
Bates has pointed out one way to do: this is one of those cases where
lme-2.9 has a different interface from any S version (2.1 or 3.0).
Yes, an R scoping problem.  The example works, though.  Current S-PLUS is
clever enough to know that a function is required, so one never gets that
warning.
Uh Oh. Try reading the cover once again.
Please read the instructions (on page 357, or in the R version of the
scripts): you need library(MASS) loaded after library(survival4),
to make sure MASS is found first.
Put them in .Rprofile: see our on-line complements for one source of info.
As it says

If there are commands that you want to have invoked for each session
(like \sfn{library(MASS)}, of course), you can put these in a file
called \sfn{.Rprofile}. This searched for first in the current
directory then in the user's home directory, but only the first file
found (if any) is read in.

That is true for rw0631 too: earlier Windows versions used Rprofile.


Peter, we have repeated ask you for a signature, as your reply address
is invalid. My patience at having to post replies to you is wearing 
rather thin. Please be a good net citizen and give us a valid reply
address.