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 'https://cran.cnr.berkeley.edu/src/contrib/rmarkdown_2.1.tar.gz'
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
‘C:\Users\Public\Documents\ESTsoft\CreatorTemp\RtmpC2hpJU\downloaded_packages’
It will be appreciated if you could give ways to solve the problem. Thank you.