Re: [R] Calendar in R-program

2011-01-04 Thread Spencer Graves
If all you want is a calendar "Date", the simplest may be the Date class in the base package. Try help('as.Date'). Dates and times can be extremely difficult to use for many reasons. For example, some months have 30 days, others have 31, and February usually has 28 days, but eve

Re: [R] Calendar in R-program

2011-01-04 Thread Mark Sharp
Look at the lubridate package from Hadley Wickham for great basic routines for handling date objects. Mark R. Mark Sharp, Ph.D. msh...@sfbr.org On Jan 4, 2011, at 8:02 AM, LOON88 wrote: Hey. I have to do calendar in program R. I was looking for examples on this forum

[R] Calendar in R-program

2011-01-04 Thread LOON88
Hey. I have to do calendar in program R. I was looking for examples on this forum but havent found it. Can someone help me in this thing ? I would be really appreciate for that. Calendar should be the same as we have in Windows but I really dont know how to begin it. Hope u can show me the best wa