11

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?

4 Answers 4

Reset to default

Trending sort

Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.

It falls back to sorting by highest score if no posts are trending.

15

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

0
3

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.

2
  • Please edit your question and include explanation of the ctrl + shift + f10 and how it changes the install.packages... command
    – Michal
    Nov 10, 2018 at 10:05
  • 1
    actually,it restart r session. Nov 10, 2018 at 10:15
1

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

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.