From 961c4ffea8d689bccdcdc1f00471b8b1836e7c5a Mon Sep 17 00:00:00 2001 From: Julia Silge Date: Tue, 19 Nov 2024 20:25:36 -0700 Subject: [PATCH 1/4] Add advice on Rtools --- start.qmd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/start.qmd b/start.qmd index 00d151a..55f71b3 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 does not currently bundle [Rtools](https://cran.r-project.org/bin/windows/Rtools/rtools40.html). 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: + +```shell +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. From 91b36dd597df11bb1c0b345821f0864619c95151 Mon Sep 17 00:00:00 2001 From: Julia Silge Date: Tue, 19 Nov 2024 20:28:32 -0700 Subject: [PATCH 2/4] Contraction! --- start.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.qmd b/start.qmd index 55f71b3..9d23ddc 100644 --- a/start.qmd +++ b/start.qmd @@ -28,7 +28,7 @@ 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 does not currently bundle [Rtools](https://cran.r-project.org/bin/windows/Rtools/rtools40.html). 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: +If you're an R user, note that Positron doesn't currently bundle [Rtools](https://cran.r-project.org/bin/windows/Rtools/rtools40.html). 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: ```shell rig system rtools add From 3f573d8e17b6bf937f1eaf96b887e0d233e72843 Mon Sep 17 00:00:00 2001 From: Julia Silge Date: Tue, 19 Nov 2024 20:29:24 -0700 Subject: [PATCH 3/4] Use bash for better styling --- start.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.qmd b/start.qmd index 9d23ddc..10434da 100644 --- a/start.qmd +++ b/start.qmd @@ -30,7 +30,7 @@ If you're using Windows, make sure you have the [latest Visual C++ Redistributab If you're an R user, note that Positron doesn't currently bundle [Rtools](https://cran.r-project.org/bin/windows/Rtools/rtools40.html). 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: -```shell +```bash rig system rtools add ``` From 753e0ea97424eda2dbc3ed2294f7e97bdad6cb6a Mon Sep 17 00:00:00 2001 From: Julia Silge Date: Wed, 20 Nov 2024 08:50:34 -0700 Subject: [PATCH 4/4] Apply suggestions from code review by @DavisVaughan Co-authored-by: Davis Vaughan --- start.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.qmd b/start.qmd index 10434da..4e8a330 100644 --- a/start.qmd +++ b/start.qmd @@ -28,7 +28,7 @@ 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/rtools40.html). 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: +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