[R] Unexpected line type in lattice plot key on pdf device

2008-07-30 Thread G. Draisma
L.S., With the code below, on the Windows screen the line types in the key show as solid and dashed as in the graph, and in the pdf file they show as solid in the key and solid and dashed in the graph. I would not expect that, but may be I get something wrong. Gerrit. --- library(lattice)

Re: [R] Reading multiple tables from file

2008-05-09 Thread G. Draisma
1 2 0.12 3 2 1 0.21 $Jantje I1 I2 I3 Value 1 1 1 1 0.111 2 3 3 3 0.333 On Thu, May 8, 2008 at 7:40 AM, G. Draisma <[EMAIL PROTECTED]> wrote: Dear R-users, I have output files having a variable number of tables in the following format: - 1 Pietje I1 I2 Value 1 1

[R] Reading multiple tables from file

2008-05-08 Thread G. Draisma
Dear R-users, I have output files having a variable number of tables in the following format: - 1 Pietje I1 I2 Value 1 1 0.11 1 2 0.12 2 1 0.21 2 Jantje I1 I2 I3 Value 1 1 1 0.111 3 3 3 0.333 ... - Would there be an easy way of turning this into (a list of) da

[R] Vertical bars with barchart

2008-04-18 Thread G. Draisma
Hallo, What is the right way to get vertical bars in a barchart? For instance barchart(VADeaths, key=simpleKey(colnames(VADeaths),points=F,rectangles=T)) gives what I need, only I would like the bars to be vertical. But barchart(VADeaths,horizontal=F, key=simpleKey(colnames(VADeaths),p

[R] How to copy Excel numbers at the R prompt

2008-03-26 Thread G. Draisma
Dear all, I was wonderin how to copy data from an Excel sheet to the R prompt. For a single culumn it works to select the data in Excel, copy to the clipboard with ctrl-c and to use in R: --- x<-scan() [paste data with ctrl-v (paste)] [ctrl-z, to end input] --- But with multiple columns E