Check whether size(file) > 0
?file.info
R A F wrote:
Hi all, what's the way to check for this? I know of "file.exists," but that does not preclude the possibility of an empty file. Thanks very much!
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help