Quarto unable to locate installed R

I'm trying to use quarto and can't get it to run as it won't locate my version of R.

R is found OK by RStudio and quarto fails both inside and outside RStudio. R is in the PATH and launches OK from a shell.

E:\>quarto check

[>] Checking Quarto installation......OK
      Version: 1.2.335
      Path: C:\Program Files\RStudio\resources\app\bin\quarto\bin
      CodePage: 1252

[>] Checking basic markdown render....OK

[>] Checking Python 3 installation....OK
      Version: 3.9.6
      Path: C:/Program Files/Python39/python.exe
      Jupyter: 5.3.0
      Kernels: python3

[>] Checking Jupyter engine render....OK

[>] Checking R installation...........(None)

      Unable to locate an installed version of R.
      Install R from https://cloud.r-project.org/

E:\>where R

E:\>R --version
R version 4.2.3 (2023-03-15 ucrt) -- "Shortstop Beagle"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see

This is using RStudio v2023.03.0

Any ideas for what else I need to do to make quarto find R?

I would try to add the file location of R to the PATH environment variable. It is a pretty harmless operation and easy to back out.

Thanks, but I've done that already and R is found and launches fine from the shell (see the end of the trace I included). Despite this quarto still doesn't seem to be able to find it.

For reference, this has been asked in Github too - we'll follow up there

1 Like

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.