Error in loadNamespace(name) : there is no package called 'evaluate'
Asked Answered
G

4

16

While adding code chuncks to my .rmd file a la:

```{r} %code chunck

```

it can't be compiled anymore, and i get a loadnamespace(name) error:

Error in loadNamespace(name) : 
there is no package called 'evaluate' calls:<Anonymous> ... tryCatch-> Trycatchlist->trycatchoone

Has anyone ever experienced it? And how do I resolve it?

Goeger answered 25/9, 2015 at 15:10 Comment(0)
G
21

Try install.packages("evaluate") and then reattempt compilation. It was probably uninstalled unintentionally at some point.

Girasol answered 25/9, 2015 at 16:17 Comment(0)
P
4

if it is not installed after tying install.packages('evaluate')then,press ctrl + shift + f10 on RStudio console so this command will restart R session and then try to use install.packages('evaluate') command on RStudio console.

Pleadings answered 10/11, 2018 at 9:44 Comment(2)
Please edit your question and include explanation of the ctrl + shift + f10 and how it changes the install.packages... commandBreach
actually,it restart r session.Pleadings
S
2

For me, the solution was just to install the hexbin package: install.packages("hexbin")

Satiety answered 18/5, 2021 at 5:25 Comment(0)
T
0

Creating a new R session and installing the package again worked for me.

Thromboplastic answered 19/1, 2021 at 1:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.