[R] R newbie attempting to plot data

From: Rex Eastbourne <rex.eastbourne_at_gmail.com>
Date: Sat 27 May 2006 - 07:53:34 EST


Hi,

I just started using R and am having trouble with the below error:

I type:

> df <- read.csv("/home/rex/Desktop/mytable.csv")

which gives me what I want:

...

639 2006-05-26 16:46:54     4   16
640 2006-05-26 17:05:36     5   17
641 2006-05-26 17:30:48     6   17

But now I try:

> plot(df[4],df[3])

Error in pmatch(x, table, duplicates.ok) :

        argument is not of mode character

Any ideas? I tried read.table and importing the data from MySQL too; same error.

Thanks,

Rex

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat May 27 07:56:19 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 27 May 2006 - 10:10:56 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.