Problem of installing R Markdown

I have well used R Markdown on R Studio so far. But, as it suddenly doesn't work, I have tried several times to reinstall "rmarkdown" package. Every time I try to install it, the following messages are displayed in the console pane:

> install.packages("rmarkdown")

Installing package into ‘C:/Users/cheol/OneDrive/문서/R/win-library/3.6’
(as ‘lib’ is unspecified)

  There is a binary version available but the source version is later:
          binary source needs_compilation
rmarkdown    2.0    2.1             FALSE

installing the source package ‘rmarkdown’

trying URL ''
Content type 'application/x-gzip' length 3186382 bytes (3.0 MB)
downloaded 3.0 MB

ERROR: dependencies 'knitr', 'yaml', 'htmltools', 'evaluate', 'base64enc', 'jsonlite', 'mime', 'tinytex', 'xfun', 'stringr' are not available for package 'rmarkdown'
 removing 'C:/Users/cheol/OneDrive/문서/R/win-library/3.6/rmarkdown'
Warning in install.packages :
 installation of package ‘rmarkdown’ had non-zero exit status

The downloaded source packages are in

It will be appreciated if you could give ways to solve the problem. Thank you.

You are missing a lot of package dependencies, try again with this command and see if that solves the problem

install.packages("rmarkdown", dependencies = TRUE)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.