Mathieu Ribatet <mathieu.ribatet <at> epfl.ch> writes: > > Dear Terry, > > One way to locate which file is wrong - surely not the most brillant > way! You could do an R script that sources each of your .R files within > a "for (file in file.names)" loop. > When R will stop, it will indicate which file has a wrong syntax and > more info.
Yes, I also use this approach, however making use of the sourceDir() utility function that you get by example(source). I had contemplated on and off, it was worth of making sourceDir() an "official" function and had found that I could not reasonably see the case for it.. Martin Maechler, ETH Zurich ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel