From b0fd6f87689973065be3625c256dc22e8a6997bd Mon Sep 17 00:00:00 2001 From: Julia Silge Date: Wed, 20 Nov 2024 08:52:14 -0700 Subject: [PATCH] Add advice on Rtools (#23) * Add advice on Rtools * Contraction! * Use bash for better styling * Apply suggestions from code review by @DavisVaughan Co-authored-by: Davis Vaughan --------- Co-authored-by: Davis Vaughan --- start.qmd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/start.qmd b/start.qmd index 00d151a..4e8a330 100644 --- a/start.qmd +++ b/start.qmd @@ -28,6 +28,12 @@ Before installing Positron, ensure your Python and/or R environments are ready t If you're using Windows, make sure you have the [latest Visual C++ Redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version) installed. +If you're an R user, note that Positron doesn't currently bundle [Rtools](https://cran.r-project.org/bin/windows/Rtools/). If you need Rtools for your package development or other work, you can either use the official guidance from CRAN on installing Rtools and putting it on the path, or alternatively, use [rig](https://github.com/r-lib/rig) to install and set up Rtools: + +```bash +rig system rtools add +``` + ### Python prerequisites Positron works with [actively supported versions](https://devguide.python.org/versions/#versions) of Python, from 3.8 to Python 3.12. We recommend [pyenv](https://github.com/pyenv/pyenv) and [pyenv for Windows](https://github.com/pyenv-win/pyenv-win) for managing Python versions. On Linux, you'll want to [be aware of the build requirements](https://github.com/pyenv/pyenv/wiki/common-build-problems); for example, you'll need the system library for SQLite (`sqlite-devel` or `libsqlite3-dev`) installed ahead of time so pyenv can properly build your chosen Python version for use with Positron.