Begin with a plain Ubuntu distro from the Windows App Store. If one is already installed and you want to start from scratch simply:
wsl -t Ubuntu
wsl --unregister Ubuntu
Ubuntu
--- | |
title: "python in RStudio" | |
output: html_notebook | |
--- | |
Based on instruction [here] (https://support.rstudio.com/hc/en-us/articles/360023654474-Installing-and-Configuring-Python-with-RStudio), but adapted for Windows. | |
1. Install system-wide python, using conda, or whatever. | |
2. Make sure python/pip is included in PATH | |
3. Install virtualenv with `pip install virtualenv` from a terminal | |
4. Navigate to project folder (or create it), and create a new virtualenv in it with `virtualenv my_env` from a terminal. |
# installed by winget
winget install PowerShell-Preview
winget install git
git config --global user.name "Christophe Dervieux"
git config --global user.email christophe.dervieux@gmail.com
winget install rstudio
winget install vscode
winget install -e R
winget install Github.GithubDesktop