

Attempting to knit or create a new Markdown file yields "Install Required Packages: Rendering/Creating R Markdown documents requires an updated version of the rmarkdown package. I still am unable to properly install the rmarkdown package. For the moment (and hopefully permanently), this has stopped the fatal errors I got when running library() lines in R Markdown. Any insight anyone has on what I need to do would be greatly appreciated.Ī quick update, with what I've been able to accomplish the past hour: by using the Tools tab in the toolbar, I was able to manually install xfun. I have been completely stuck for the past four hours and have no idea where to go from here.

I have tried manually installing rmarkdown and xfun, to no avail. I have deleted and reinstalled R and RStudio twice today in the hopes that something would shift this, all to no avail. I am using Mac OS Sierra (10.12.6) - I don't know whether that might have any bearing on this. I'm not sure if that has any bearing on the issues I have with knitting and creating new documents, but I figured I would include it, just in case. The errors I receive from this follow the following format:Įrror in loadNamespace(j <- i], c(lib.loc. Within my existing R Markdown documents, trying to run any library() line often results in a fatal error as well.

Do you want to install these packages now?" I wind up right back where I started all over again. When I try to knit again, or click to try and create a new Markdown file again, I am presented with the same prompts from before: "Install Required Packages: Rendering/Creating R Markdown documents requires updated versions of the following packages: rmarkdown, xfun. The file will not knit, or the new Markdown file will not be created. The output I receive is identical regardless of whether I am trying to knit or to create a new file.Ĭlicking "Yes" when prompted invariably does not work. I am unfortunately unable to include the output from "Jobs" that was generated by clicking "Yes" to the prompt above in the body of my question - as a new user, I am limited to two links per question, and there are a number of links in the Jobs output. The only difference is a single word: "Rendering R Markdown." becomes "Creating R Markdown." When I click yes to both prompts, the output in Jobs is identical. Do you want to install these packages now?" Whenever I try to create a new file, I am confronted by an almost-identical message. Whenever I try to knit a file that previously knit fine, I am confronted by the following message: "Install Required Packages: Rendering R Markdown documents requires updated versions of the following packages: rmarkdown, xfun. I am able to create new R scripts, but I cannot create new Markdown files or knit my existing ones. I updated R to 4.0.2 yesterday, and that seems to have crippled RMarkdown for me.
