[R] debug

Duncan Murdoch murdoch at stats.uwo.ca
Thu Mar 12 18:55:53 CET 2009


Tammy Ma wrote:
> Hi, All
>
>
> I have so many files in my directory. I got the following error. At this time, I couldn't use debug() to check error one by one because so many files getting invloved. How can I get some idea about my error??
>   

The usual advice: simplify the problem until it's obvious. I don't know 
if you consider the "skipping" messages to be a problem, but if not, it 
sure looks as though the problem is in

book_log-20060225T165935.txt 

so you can simplify things a lot by creating a copy of that file in a 
separate directory, and using debug or other techniques (e.g. 
options(error=recover) ) to diagnose it.

Duncan Murdoch
> .....
> Skipping  book_log-20060222T143612.txt 
> Skipping  book_log-20060222T162828.txt 
> Skipping  book_log-20060222T162833.txt 
> Skipping  book_log-20060222T183742.txt 
> Skipping  book_log-20060222T201442.txt 
> Skipping  book_log-20060224T153841.txt 
> Skipping  book_log-20060224T184225.txt 
> Skipping  book_log-20060224T193621.txt 
> Skipping  book_log-20060224T193957.txt 
> Skipping  book_log-20060225T110011.txt 
> Skipping  book_log-20060225T125836.txt 
> Skipping  book_log-20060225T131002.txt 
> Processing  book_log-20060225T165935.txt 
> Error in as.POSIXlt.character(x, tz, ...) : 
>   character string is not in a standard unambiguous format
>   
>
> Thanks a lot.
>
> Tammy
>
> _________________________________________________________________
> More than messages–check out the rest of the Windows Live™.
> http://www.microsoft.com/windows/windowslive/
> 	[[alternative HTML version deleted]]
>
>   
> ------------------------------------------------------------------------
>
> ______________________________________________
> R-help at 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.
>




More information about the R-help mailing list