Score:0

Error in loadNamespace(name) : there is no package called ‘rmarkdown’ Calls: :: ... loadNamespace Execution halted

us flag

I keep getting the following error when I run my script.

Error in loadNamespace(name) : there is no package called ‘rmarkdown’
Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted

However, rmarkdown is installed in my rstudio.

Actually, it is installed in both, my rstudio and my Ubuntu terminal.

For ubuntu, I did R then typed install.packages("rmarkdwon")

I did the same in my rconsole install.packages("rmarkdown"). I have loaded the package using library().

I notice that in Ubuntu it installs the package in ‘/tmp/RtmpugRHzd/downloaded_packages’ but in my console it installed packages in l\Temp\RtmpGy2f9U\downloaded_packages.

I don't know what could the problem be. I have tried everything. I have sudo upgraded and all that but am still getting this error when I try to run my bash script. Please help. I have tried to fix the problem for weeks.

screenshot

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.