Error in loadNamespace(name) : there is no package

2020-04-06 03:07发布

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?

2条回答
ら.Afraid
2楼-- · 2020-04-06 03:53

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.

查看更多
▲ chillily
3楼-- · 2020-04-06 04:00

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

查看更多
登录 后发表回答