corruption - Issue on loading corrupted excel file with R -


i'm trying import multiple excel files r encounter problem when try load corrupt one.

my excel files (.xlsm) in different folders :

machine -- >years --> months --> many excel files --> load file --> actions on each file

i use multiple sapply function make loop , perform actions file datas. due corrupt file, process stops. tried r functions file.access() , file_test() doesn't fix problem.

what i'm looking function or embedded shell command allow me know if actual file corrupt , avoid it.

thanks, thomas.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -