Re: [R] read .csv file and plot a graph

2013-05-03 Thread Jim Lemon
On 05/03/2013 11:49 PM, Vahe nr wrote: Hi all, I have a big .csv file (21Mb with 100 rows) it has this shape: x 1 NaN 2 NaN 3 0.23 and so on. So the first column has x as a header then row number, the second column contains values between -1,1 and NaN for empty values. What should I n

Re: [R] read .csv file and plot a graph

2013-05-03 Thread jim holtman
Just read in and plot the data. The NaN will not be plotted: > input <- read.table(text = "x + 1 NaN + 2 NaN + 3 0.23 + 4 .34 + 5 .55 + 6 .66 + 7 NaN + 8 .88", header = TRUE) > plot(input$x) > On Fri, May 3, 2013 at 9:49 AM, Vahe nr wrote: > Hi all, > > I have a big .csv file (21Mb with 1000

[R] read .csv file and plot a graph

2013-05-03 Thread Vahe nr
Hi all, I have a big .csv file (21Mb with 100 rows) it has this shape: x 1 NaN 2 NaN 3 0.23 and so on. So the first column has x as a header then row number, the second column contains values between -1,1 and NaN for empty values. What should I need to do is: create a new .csv file from