file has magic number

I don't understand what that is mean:
Error in load("~/R/blockdesign.xlsx") : **
** bad restore file magic number (file may be corrupted) -- no data loaded

In addition: Warning message:
file ‘blockdesign.xlsx’ has magic number 'PK'
** Use of save versions prior to 2 is deprecated**

Thank you for your help!!

you shouldnt expect to use R's base::load function to load an xlsx file format directly.
You will need some external library, I recommend readxl

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.