No, you will get cannot execute binary file: Exec format error
when you try to run rstudio
command.
# 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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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. |