I have a project in Rstudio, with two files x.Rmd and y.R which has functions, etc
title: "Untitled"
date: "5/21/2020"
output:
word_document:
reference_docx: "word-styles-reference.docx"
knitr::opts_chunk$set(error = TRUE)
setwd(rstudioapi::getActiveProject())
source("y.R")
I get an error
setwd(rstudioapi::getActiveProject())
Error: RStudio not running
source("y.R")
Error: RStudio not running