I've been trying to knit my RMarkdown but I'm at wits' end as to why it doesn't work. Hoping that someone could help me make sense of the error message and how to solve it.
I'm using Macbook if it adds more context to this problem.
This is the error message:
sh: /private/var/folders/45/f1282hvs1s7b2zjgp3llt4cw0000gn/T/AppTranslocation/97CE6C20-F6C4-4CC2-BC6A-E78AB465EC5D/d/RStudio.app/Contents/Resources/app/quarto/bin/tools/pandoc: Bad CPU type in executable Error in strsplit(info, "\n")[[1]] : subscript out of bounds Calls: ... pandoc_available -> find_pandoc -> lapply -> FUN -> get_pandoc_version In addition: Warning message: In system(paste(shQuote(path), "--version"), intern = TRUE) : running command ''/private/var/folders/45/f1282hvs1s7b2zjgp3llt4cw0000gn/T/AppTranslocation/97CE6C20-F6C4-4CC2-BC6A-E78AB465EC5D/d/RStudio.app/Contents/Resources/app/quarto/bin/tools/pandoc' --version' had status 126 Execution halted
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.
When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this: