Hello, so I have no coding background, but have to use RStudio for my college stats class. My professor cannot help me either. I am getting this error message whenever I am trying to upload an xlsx file:
load("~/Desktop/Lab4_education_data.xlsx")
Error in load("~/Desktop/Lab4_education_data.xlsx") :
bad restore file magic number (file may be corrupted) -- no data loaded
In addition: Warning message:
file ‘Lab4_education_data.xlsx’ has magic number 'PK'
Use of save versions prior to 2 is deprecated
I have read other articles on how to fix this, but I don't know code, so if someone could give me clear step-by-step instructions, that would be greatly appreciated. I am also working off of a mac, and have the latest RStudio version.