R can name both rows and columns. It likes naming things. It has decided to take your first column, which are your dates, and use them as row names. This is unfortunate, since it moves the dates to somewhere inconvenient, and "shifts" all your data "to the left".
Look at ?read.table and read about the row.names parameter to find out how to turn off automatic row naming. There's a problem with your header (or maybe a problem with your data?) that's causing this to happen.
You may be beginning to see that a lot of R programming is frantically trying to stop it from "helping" you. At work we actually have guidelines to turn off a lot of these "features" since they cause a lot of headache.
R can name both rows and columns. It likes naming things. It has decided to take your first column, which are your dates, and use them as row names. This is unfortunate, since it moves the dates to somewhere inconvenient, and "shifts" all your data "to the left".
Look at
?read.table
and read about therow.names
parameter to find out how to turn off automatic row naming. There's a problem with your header (or maybe a problem with your data?) that's causing this to happen.You may be beginning to see that a lot of R programming is frantically trying to stop it from "helping" you. At work we actually have guidelines to turn off a lot of these "features" since they cause a lot of headache.