Example versions · Configure and verify
R · Rtools · TinyTeX · MiKTeX · Pandoc · Quarto · Git
Essential R command-line tool paths on Windows. This information can
help setting up the PATH
environment variable for seamless
command-line access.
Some of the paths below are specific to the installed software version. We use these software version examples:
- R 4.4.2
- Rtools44
- RStudio Desktop 2024.12.0+467
R.exe
and Rscript.exe
for running R CMD build
and R CMD check
.
R release version 4.4.2:
C:\Program Files\R\R-4.4.2\bin
R-devel:
C:\Program Files\R\R-devel\bin
C/C++/Fortran toolchain for building R and R packages from source.
Contains gcc
, g++
, gfortran
:
C:\rtools44\x86_64-w64-mingw32.static.posix\bin
Contains Texinfo (texi2dvi
, texi2pdf
) required by R CMD check
, and
GNU Make (make
) required for building R from source:
C:\rtools44\usr\bin
TeX distribution binaries for LaTeX support.
Contains pdflatex
required by R CMD check
and for building R from
source.
C:\Users\%USERNAME%\AppData\Roaming\TinyTeX\bin\windows
TeX distribution binaries for LaTeX support.
Contains pdflatex
required by R CMD check
and for building R from
source.
MiKTeX installed via choco install miktex
or standalone installer (all
users):
C:\Program Files\MiKTeX\miktex\bin\x64
MiKTeX installed via standalone installer (current user):
C:\Users\%USERNAME%\AppData\Local\Programs\MiKTeX\miktex\bin\x64
pandoc installed via choco install pandoc
or standalone installer:
C:\Users\%USERNAME%\AppData\Local\Pandoc
pandoc distributed with RStudio Desktop (installer):
C:\Program Files\RStudio\resources\app\bin\quarto\bin\tools
pandoc distributed with RStudio Desktop (zip):
C:\Users\%USERNAME%\RStudio-2024.12.0-467\resources\app\bin\quarto\bin\tools
pandoc distributed with Quarto installed via choco install quarto
:
C:\ProgramData\chocolatey\lib\quarto\tools\bin\tools
pandoc distributed with Quarto installed via Quarto standalone installer:
C:\Users\%USERNAME%\AppData\Local\Programs\Quarto\bin\tools
Quarto installed via choco install quarto
:
C:\ProgramData\chocolatey\lib\quarto\tools\bin
Quarto installed via Quarto standalone installer:
C:\Users\%USERNAME%\AppData\Local\Programs\Quarto\bin
Quarto distributed with RStudio Desktop (installer):
C:\Program Files\RStudio\resources\app\bin\quarto\bin
Quarto distributed with RStudio Desktop (zip):
C:\Users\%USERNAME%\RStudio-2024.12.0-467\resources\app\bin\quarto\bin
For interacting with Git repositories.
Git for Windows installed via choco install git
or standalone
installer:
C:\Program Files\Git\cmd
- Locate the paths on your system.
- Open File Explorer and navigate to the directories listed above.
- Verify that the paths exist and contain the expected executables.
- Add relevant paths to your system’s
PATH
environment variable and verify the setup.- For a step-by-step guide with screenshots, see how to set the
PATH
environment variable in Windows.
- For a step-by-step guide with screenshots, see how to set the
Now you should be able to use R and its associated tools from the CLI without specifying full paths.