[R] A solution for question about formatting Dates

Patrick Connolly p_connolly at slingshot.co.nz
Thu Jun 28 08:34:30 CEST 2012


On Thu, 28-Jun-2012 at 06:27PM +1200, Patrick Connolly wrote:

|> On Tue, 26-Jun-2012 at 11:57PM -0500, Erin Hodgess wrote:
|> 
|> |> Hello again:
|> |> 
|> |> Here is a solution to the dates without leading zeros:
|> |> 

[...]

|> 
|> |> This is not particularly elegant, but it does the trick.
|> 
|> It's also solving a problem which doesn't arise with any of my
|> installations.  I'm curious to know what it is about your data that
|> produces such a difference.

Forget that.  A.K. spotted why it's happening.  It's the $Y instead of
%Y




-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.



More information about the R-help mailing list