[R] Summary: t.test

John Miyamoto jmiyamot at u.washington.edu
Thu Nov 1 00:46:22 CET 2001


Dear R-News,

I sent a query to r-help asking why t.test did not exist on my
installation of R.  Thanks to Douglas Bates, Michael Camann, Kjetil
Halvorsen, Ko-Kang Kevin Wang, Peter Dalgaard, and Jonathan Baron who
pointed out that t.test is in the package, ctest, which should be
installed automatically.  I did some checking as to why I had the problem.
First, ctest was not on the search path when I start up R; library(ctest)
gave me access to ctest, thereby solving the problem at a practical level,
but it did not explain why I had the problem.  I found that I had defined
a .First function in the Rprofile file in rw1031\etc.  Apparently this
function masked or otherwise disabled the .First function in
rw1031\library\base\R\Rprofile; the latter .First function loads ctest, so
my .First function in rw1031\etc\Rprofile prevented the loading of ctest.
Once I removed the .First function from rw1031\etc\Rprofile, t.test was
accessible as were other objects in ctest.

Thanks,

John

--------------------------------------------------------------------
John Miyamoto                           |
Department of Psychology, Box 351525    |  If ignorance is bliss,
University of Washington                |  why are so many people
Seattle, WA 98195-1525.                 |  unhappy?
Phone: 206-543-0805, Fax: 206-685-3157  |
Email: jmiyamot at u.washington.edu        |
--------------------------------------------------------------------


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list