I am quite new to this, so please bear with me
I am trying to compile a report or a Markdown Script (Tried both -> the same error with both). This worked fine for one of my scripts, with the other one I am struggling. R can't find the File. The path is absolutely right, I tried it with different options (copied from Mac Finder Informations directly, copied from R "import file", etc. With the first Markdown script adding "~/" helped, it did not with this one.)
The code is below, it runs fine in R, the file is found etc.
data <- read_excel("~/Desktop/Promotion/Histologie/AuswertungHistoKomplett.xlsx")
This is the error that comes up when I try compiling a report/Knit a Markdown document:
processing file: AuswertungHisto_Lilith.spin.Rmd
|................................... | 67% [unnamed-chunk-1]
Quitting from lines 3-130 [unnamed-chunk-1] (AuswertungHisto_Lilith.spin.Rmd)
! object 'AuswertungHistoKomplett' not found
I already spent a lot of time on google to find a solution for this but nothing worked yet.
Thanks a lot in advance