I have an excel file which contains 400 sheets. How can I load this excel file to R using read.xls function? Please provide sample code for this.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m just assuming you want it as all one
data.frame()and that all the sheets contain the same data.If each sheet is it’s own unique
data.frame()you’ll probably want to put them in alist. Otherwise you can useassign()if you want them as objects in the environment.Or, without a
forloop: