Typically I use the readxl package (which is quite good) for reading excel files:
read_excel(path = 'ihateexcel.xls', sheet = 1)
However, the session will essentially freeze if I try and read an encrypted .xls file. Obviously don't want to save the file as .csv as I'll lose the encryption or have to use another encryption. Can't seem to find this functionality in other packages xlsx either.
How do I read an .xls file that is encrypted in excel?
excel.link can help you in opening password protected files.
You can pass your 'password' in one of the arguments.
Usage
xl.read.file(filename, ...... password = NULL)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With