Explore Courses Blog Tutorials Interview Questions
0 votes
in R Programming by (50.2k points)

I am executing the following line in my R Markdown code chunk:


When I run the knit on the R Markdown to create a Word document, I am getting the following error message:

Error in RStudio.Version(): could not find function "RStudio.Version"

When I run this function RStudio.Version() in RStudio console, I am getting the version and the function runs, but not with knitting when I run R Markdown.

Does anyone have any solution to this?

1 Answer

0 votes
by (108k points)

I was able to execute your code that is RStudio.Version() while knitting in R programming. As rstudioapi:: versionInfo() seems the best alternative while knitting.

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

29.3k questions

30.6k answers


104k users

Browse Categories