Cannot attach excel file, Please help

Hi, I hope someone can offer some help. I have a data file with three sheets that i need to attach into R. I keep getting the same error message even though i know it is in my directory.

otu_mat<- read_excel("../data/CARBOM_data.xlsx", sheet = "OTU matrix")
Error: '../data/CARBOM_data.xlsx' does not exist in current working directory ('C:/Users/User/Documents').

I keep getting the same error message no matter what i do. Does anyone have any advice?


Try writing out the absolute path to the file, something like


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