Re: [R] Alignment of data sets

2013-09-07 Thread jim holtman
If spacing is critical, use 'sprintf' for creating the output. > Lines1<- read.csv(textConnection("Year, Day, Hour, Value + 2010, 001,0,15.9 + 2010, 001,1,7.3 + 2010, 001,2,5.2 + 2010, 001,3,8.0 + 2010, 001,4,0.0 + 2010, 001,5,12.1 + 201

Re: [R] Alignment of data sets

2013-09-06 Thread arun
HI, The question is not clear. Lines1<- readLines(textConnection("Year, Day, Hour, Value 2010,  001,    0,    15.9 2010,  001,    1,    7.3 2010,  001,    2,    5.2 2010,  001,    3,    8.0 2010,  001,    4,    0.0 2010,  001,    5,    12.1 2010,  001,    6,    11.6 2010,  001,    7,    13.9 2010