2010/7/30 Dimitri Liakhovitski <dimitri.liakhovit...@gmail.com>:
> I've wasted a lot of time trying to read in dates from Excel. Even
> importing .csv files has not guarantees and often produces garbage
> instead of dates.
> What I found works best is saving the Excel data base as a
> tab-delimited file .txt (after having formatted the dates in the
> format you need, e.g., mm/dd/yyyy). And then you can read it
> (including dates) into R no problems.

If you are on windows and (can) use .xls files, my xlsReadWrite
package should work well with dates.

Cheers,
Hans-Peter

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to