[R-SIG-Finance] Simple Date Formatting

R. Vince rvince99 at earthlink.net
Sun Jan 3 20:01:02 CET 2010


Suppose I have a matrix, X, whose leftmost column is a date in the format:

2009-07-10

how do I alter it such that it is formatted as:

20090710

without using string manipulations? Surely there mist be a common means for 
doing this? Also, how can I remove the rightmost column of a matrix prior to 
doing a write.table() ? Thanks so much -RVince



More information about the R-SIG-Finance mailing list