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

javascript - How to process users in one specific order using map o each function? -

java - Two interface have same method name with different return type -

javascript - Linking from page A to a specific iframe on page B -