From murdoch at stats.uwo.ca  Sat Jan  1 20:04:15 2005
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Sat Jan  1 20:03:29 2005
Subject: [Rd] R-intro
In-Reply-To: <41D6CEC1.1070207@statistik.uni-dortmund.de>
References: <7FFEE688B57D7346BC6241C55900E7300FD043@pollux.bfro.uni-lj.si>
	<41D6CEC1.1070207@statistik.uni-dortmund.de>
Message-ID: <g0tdt0t5890jsli3m2kn8gab87t2jrtjss@4ax.com>

On Sat, 01 Jan 2005 17:24:33 +0100, Uwe Ligges
<ligges@statistik.uni-dortmund.de> wrote:

>Gorjanc Gregor wrote:
>> The problem is that there is no file morley.tab. I belive that for first impression or example session, things should work.
>
>Have you read from the beginning in Appendix A? It says:
>
>"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 ?datasets/data? subdirectory of the default
>R library tree). If you have, proceed."
>
>The point is that we cannot get the file anymore from "datasets/data", 
>because since the days of R-2.0.0 we have the data in package "datasets" 
>lazy loaded and the file "morley.tab" is not available in binary 
>installations. Hence it is a bug.
>
>Possible solution:
>We could copy the file to something like 
>.../src/library/datasets/inst/intro/morley.tab
>
>It would also make sense to simplify the Appendix A stuff in R-intro, 
>because this is (well, has been) a more or less frequently asked 
>question (I wonder why nobody has asked during the last 3 months ....):
>
>
>filename <- file.path(.find.package("datasets"), "intro", "morley.tab"))
>filename
>file.show(filename)
>mm <- read.table(filename)
>
>Uwe Ligges

Good suggestions.  I'll make the changes in R-patched.

Duncan Murdoch


[Rd] R-intro
Duncan Murdoch