R Knit word | Rendering error

How to knit a document
I am getting this error

You should not include install commands in a Rmd file. Packages only need to be installed once but they need to be loaded with the library()function on each new R session they are going to be used on, so, you need to use library() instead of install.packages()

2 Likes

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.