[R] Problems with R setup

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jun 19 13:28:18 CEST 2001


On Tue, 19 Jun 2001, Dr. Stephan Martin Rudolfer wrote:

> As a first-time user, I have just installed R1.2.3 under Windows 98,
> and have encountered the following problems:
>
> (1)  When I got to the command
>
> file.show("morley.tab")
>
> in the session of Appendix A (A sample session) of An Introduction to
> R, I got the warning  message
>
> file.show(): file morley.tab does not exist
>
> although this dataset _is_ listed among datasets known to R.

You do need to follow the instructions!  That appendix starts:

  ... This is written for the UNIX user. Those using Windows will need to
  adapt the discussion appropriately.

  Login, start your windowing system. You should also have the file
  morley.tab in your working directory. If not, seek the local expert (or
  get it yourself from the base/data subdirectory of the default R library
  tree). If you have, proceed.

Depending exactly how your system was installed, there may be a file
...\rw1023\library\base\data\morley.tab.  Copy it to your working
directory.  If not, seek the local expert.


> (2)  I have downloaded the 'foreign' package and put it in the
> directory
>
> c:\Program Files\R\rw1023\library\foreign
>
> What is the command to  find out whether it is recognised by R?
>
> With a view to (1), how do I ensure that 'foreign' is recognised by
> R?

library(foreign)
search()

will load the library and tell you it has been loaded.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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