Re: [R] Umlaut read from csv-file

2008-11-07 Thread Heinz Tuechler
At 16:52 07.11.2008, Prof Brian Ripley wrote: On Fri, 7 Nov 2008, Peter Dalgaard wrote: Heinz Tuechler wrote: Dear Prof.Ripley! Thank you very much for your attention. In the given example Encoding(), or the encoding parameter of read.csv solve the problem. I hope your patch will solve also

Re: [R] grouping data together

2008-11-07 Thread jim holtman
If you provide the input and the expected output, it would help a lot. You could use 'split' to partition the data monthly - split(yourDF, yourDF$month) but I am still not sure exactly what you want to do with it, or the format that you are expecting. On Fri, Nov 7, 2008 at 6:03 PM,

Re: [R] missing value where TRUE/FALSE needed

2008-11-07 Thread jim holtman
It would be useful to learn how to use debug/browser. Here is the state of the machine when the error occurs: test() Error in if (vector1[i] == vector2[j]) { : missing value where TRUE/FALSE needed Enter a frame number, or 0 to exit 1: test() Selection: 1 Called from: eval(expr, envir,

[R] Sweave:How to load available colors from pkg 'color'--(Resolved)

2008-11-07 Thread Felipe Carrillo
Hello: I found a solution to my problem here, I just downloaded mystyle.sty to the same directory where my latex file resides. Then I included \usepackage{mystyle} in my preamble and that took care of coloring any section of the document.

Re: [R] Re move specific rows from a matrix

2008-11-07 Thread cruz
use the trick from this thread: https://stat.ethz.ch/pipermail/r-help/2008-November/178985.html your problem shall be fixed On Fri, Nov 7, 2008 at 8:21 PM, mentor_ [EMAIL PROTECTED] wrote: Hi, imagine the following two matrix: Matrix A: a b c 1 2 3 4 5 6 7 8 9 Matrix B: a 4 7 I

Re: [R] missing value where TRUE/FALSE needed

2008-11-07 Thread Erik Iverson
They may be the same length; that's not what the error message is complaining about: it says there is a missing value (i.e., an NA) where a TRUE/FALSE value is needed, therefore the 'if' doesn't know what to do, since it is not TRUE or FALSE. So, try summary(vector1) summary(vector2)

[R] New to List - just starting to learn R - question about reading in data

2008-11-07 Thread Dirty D
Hi, everyone, I'm new to R and the List, and excited to be here. I am coming from a background working in SPSS 16, primarily, which has a lot of easy options for reading in data. I am working in R in an Ubuntu Linux environment, and I'm learning with R Commander. Now, here's my question.

Re: [R] determining plot location in lattice

2008-11-07 Thread Greg Snow
As far as R is concerned, the plot in tkrplot is being written to a file and therefore is not interactive. So functions like grid.locator and trellis.focus are not going to work. You need to use the Tk commands to determine where the mouse is and where a click occurred, then this needs to be

Re: [R] New to List - just starting to learn R - question about reading in data

2008-11-07 Thread Erik Iverson
Welcome! Dirty D wrote: Hi, everyone, I'm new to R and the List, and excited to be here. I am coming from a background working in SPSS 16, primarily, which has a lot of easy options for reading in data. I am working in R in an Ubuntu Linux environment, and I'm learning with R Commander.

Re: [R] New to List - just starting to learn R - question about reading in data

2008-11-07 Thread cryan
I've not had occasion to use it yet, but perhaps read.fwf. At the R command prompt, type ?read.fwf to learn about it. --Chris Ryan Original message Date: Fri, 07 Nov 2008 23:23:18 -0500 From: Dirty D [EMAIL PROTECTED] Subject: [R] New to List - just starting to learn R - question

[R] [Stat related] Understanding Portmanteau test

2008-11-07 Thread RON70
Sorry to be off-topic. Can somebody please explain me what is Portmanteau test? Why it's name is like that? When I would say, a particular test is portmanteau test? I did some googling but got no satisfactory answer at all. Please anybody help for understanding that? Regards, -- View this

[R] plot.hclust with lots of objects

2008-11-07 Thread paul murima
Dear all, The default plotting method for hclust trees looks just fine for few objects like in the example dataset. But when it comes to many features (eg some 1000 and more - I'm trying to visualize clustered microarray data) it renders a tree, that one cannot inspect, because of overlapping

Re: [R] Umlaut read from csv-file

2008-11-07 Thread Prof Brian Ripley
We have no idea what you understood (you didn't tell us), but the help says encoding: character vector. The encoding(s) to be assumed when 'file' is a character string: see 'file'. A possible value is 'unknown': see the ‘Details’. ... This paragraph applies if 'file'

Re: [R] New to List - just starting to learn R - question about reading in data

2008-11-07 Thread Prof Brian Ripley
Are you looking for read.fwf? I've not seen that form of data file since the days of punched cards. (That _was_ the era when SPSS was written._) (Real names and real signature blocks are preferred here.) On Fri, 7 Nov 2008, someone wrote: Hi, everyone, I'm new to R and the List, and excited

Re: [R] Mismatch in logical result?

2008-11-07 Thread Bernardo Rangel Tura
On Fri, 2008-11-07 at 15:53 +0530, Shubha Vishwanath Karanth wrote: Hi R, I have certain checkings, which gives FALSE, but actually it is true. Why does this happen? Note that the equations that I am checking below are not even the case of recurring decimals... 1.4^2 ==

<    1   2