Knitr Setup, object 'vI' not found

Another rmarkdown newbie here. My knit run aborts immediately with

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
object 'vI' not found
Calls: :: ... getNamespace -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted

I've browsed through related topics (like those linked by OP here ) Most loadNamespace errors are followed by the name of the package missing which is not my case.

I have R version 3.6.1
RStudio 1.2.5001 on Windows 10
MikTex 3.14159265-2.6-1.40.20

I also tried to run with TinyTex. As suggested elsewhere, I had reinstalled RStudio and R including the relevant packages. No success either.

Most puzzling that rmarkdown/knit works fine under another Windows installation on the same machine, with a very similar setup (same R/RStudio/MikTex versions).

Thank you.

I have seen this before, it is related to the base R installation but the error message is not very informative so we don't know exactly which base R library is the problem. On a previous post, the MASS library was the culprit but if I was you I would go with a clean R installation, just to be sure.

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