Error when trying to push the button, Knit to HTML

Dear. All

Hi. While doing my assignment, I had an trouble. I tried to push the button, Knit to HTML. But, the message I attached was appeared. So, I can’t change my file to HTML. Could you tell me how to solve this problem?

You are being asked to install caTools package, try installing it with this command

install.packages("caTools")

Have in mind that caTools requires R >= 3.6 so if you have an older version you will need to update R first.

Thank you for your help. I think my version is old, so I typed install.packages(“installr”) on console. But I failed. At the same time, the message package ‘installr’ is not available (for R version 3.5.0). In this case, how can I update? Sorry for interrupting you.......I’m very beginner of it.....

Go to the CRAN site, download the corresponding version for your operating system and install it like you would install any other software.

https://cran.r-project.org/

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