Skip to content

Instantly share code, notes, and snippets.

@pinusm
pinusm / python-RStudio.Rmd
Created December 22, 2021 11:54
Using RStudio as a python IDE
---
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.
@pinusm
pinusm / Basic-RStudio-WSL2-Install.md
Created March 3, 2021 20:36 — forked from Thell/Basic-RStudio-WSL2-Install.md
A very basic, no-frills, setup of RStudio on WSL2.

VERY Basic WSL2 RStudio Install

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
@pinusm
pinusm / 00-New setup.md
Created March 3, 2021 20:20 — forked from cderv/00-New setup.md
New computer setup
# 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
@pinusm
pinusm / RStudio-in-WSL2.md
Created November 23, 2020 17:15 — forked from kalaschnik/RStudio-in-WSL2.md
Run RStudio in the Windows Subsystem for Linux 2 (WSL 2) using Pengwin and X410

Use RStudio within Windows Subsystem for Linux 2 (WSL 2)


💡 Does WSL 1 work?

No, you will get cannot execute binary file: Exec format error when you try to run rstudio command.


Requirements / Limitations