I have rstudio 2022.12, and I'm wondering what version of quarto comes with it.
quarto_path()
andquarto_version()
Don't work
Open the Terminal (not the Console) inside RStudio and type:
>quarto check
[>] Checking Quarto installation......OK
Version: 0.9.377
Path: C:\Program Files\Quarto\bin\
CodePage: 1252
You can also run:
>quarto --version
Two possible reasons why quarto_version()
did not work:
> library(quarto)
> quarto_version()
[1] ‘1.3.340’
> quarto_path()
[1] "/usr/local/bin/quarto"
It is confusing: There is Quarto as CLI and, normally, we refer to it as the "open-source scientific and technical publishing system". But there is also a quarto package, that provides an "R Interface to 'Quarto' Markdown Publishing System".
quarto::quarto_version()
should work.Error in loadNamespace(x) : there is no package called ‘quarto’
see solution below