I have made sure that the work directory matches where I am pulling everything out of. I have deleted any spaces in all files. I set the working directory and tried to render file. I have also listed the entire file address to render. I have checked the existence of the file in rstudio. I have also tried it with the file open and close in rstudio. I have also simply changed 'library("rmarkdown")' to 'library(rmarkdown)' with no result difference
I just cant get it to work...
```{r, echo=FALSE, results='hide',message=FALSE, warning=FALSE}
library("rmarkdown")
library(mdsr)
library(dplyr)
library(class)
render("STAT310_Lecture-Week4_8_2_part2.Rmd",output_file=NULL)
Error in file(con, "r") : cannot open the connection
file.exists("C:/Users/tiffa/Desktop/School/summer/310/STAT310_Lecture-Week4_8_2_part2.Rmd") [1] TRUE
From the properties of "STAT310_Lecture-Week4_8_2_part2" (.rmd) C:\Users\tiffa\Desktop\School\summer\310
Please help! What am I missing?