After installing openxlsx, I ran read.xlsx(book1.xlsx)
because it was on the site, but it said "File not found".
Book1 exists, but I don't know the cause.I would appreciate it if you could let me know.
I can think of two things.
①"
without "" in the file name"
read.xlsx("book1.xlsx")
instead of read.xlsx(book1.xlsx)
.
"If you look at the error, you may have actually put ""…
保存 The saved data is not in the working directory.
First, type getwd()
in R to find the location of the folder location.
R is based on the location of the folder.
If you are not familiar with R yet, try putting the data in that folder.
If you know the meaning of "relative path" or "absolute path", you can do it in another folder.
© 2024 OneMinuteCode. All rights reserved.