Re: [Rd] R-intro

2005-01-01 Thread Duncan Murdoch
On Sat, 01 Jan 2005 17:24:33 +0100, Uwe Ligges
[EMAIL PROTECTED] 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

__
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


RE: [Rd] R-intro

2005-01-01 Thread Gorjanc Gregor
Nice. So, I was successfull afterall!

Thanks again to all R developers for such a usefull program. Happy new
year with small number of bugs and many new functions ;)

--
Lep pozdrav / With regards,
Gregor GORJANC

---
University of Ljubljana
Biotechnical Faculty   URI: http://www.bfro.uni-lj.si
Zootechnical Departmentemail: gregor.gorjanc at bfro.uni-lj.si
Groblje 3  tel: +386 (0)1 72 17 861
SI-1230 Domzalefax: +386 (0)1 72 17 888
Slovenia
---



-Original Message-
From: Duncan Murdoch [mailto:[EMAIL PROTECTED]
Sent: sob 2005-01-01 20:04
To: Uwe Ligges
Cc: Gorjanc Gregor; Kjetil Brinchmann Halvorsen; r-devel@stat.math.ethz.ch
Subject: Re: [Rd] R-intro
 
On Sat, 01 Jan 2005 17:24:33 +0100, Uwe Ligges
[EMAIL PROTECTED] 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

__
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel