Skip to main content

Research Workflow Tools: Install and Resources

Author

Gang Chen

Published

May 2, 2026

The lab workflow depends on a set of tools that work together in one project workspace.

Positron or VS Code

Install Positron:

https://positron.posit.co/download.html

Positron is an IDE (integrated development environment) that combines R, Python, Quarto, and Git in one interface. It is the lab’s recommended tool for research projects. Other options include VS Code and RStudio, which can also be used with the tools introduced below.

R

Install R:

https://cloud.r-project.org/

R is useful for data cleaning, statistical analysis, and visualization, especially with packages such as tidyverse and ggplot2. If you are new to R, start with the R for Data Science book to learn the basics of R programming and data analysis.

Note that if you are already using Stata, you don’t need to learn R entirely from scratch. You can use R for specific tasks such as data wrangling, visualization, and regression models. Best learning materials for Stata users include the R for Stata Users website and the R for Stata Users book. You can also use R and Stata together in the same project workspace, using R for data manipulation and visualization, and Stata for regression models if you prefer.

Python

Install Python if needed for specific tasks such as machine learning or natural language processing:

https://www.python.org/downloads/

Python is a general-purpose programming language that is widely used in data science, web development, and application development. It has powerful libraries for data manipulation (Pandas), machine learning (scikit-learn), and natural language processing (NLTK, spaCy). If you are new to Python, start with the Python for Data Science Handbook to learn how to use Python for data analysis and machine learning.

If you are already using R, you can use Python for specific tasks that are better suited for Python, such as machine learning or natural language processing. You can also use R and Python together in the same project workspace, using R for data manipulation and visualization, and Python for machine learning or NLP tasks if you prefer. Start with Rebecca Barter’s An introduction to Python for R Users tutorial to learn how to use Python as an R user.

Git

Install Git:

https://git-scm.com/downloads

Git records changes to the project over time and makes it possible to recover earlier versions.

GitHub

Create a GitHub account (free for public repositories):

https://github.com/

GitHub provides remote backup, collaboration, issue tracking, and review workflows. It can be used in Positron, VS Code, and RStudio.

Quarto

Use Quarto through Positron when possible. Quarto can also be installed separately:

https://quarto.org/docs/get-started/

Or you can install Quarto inside Positron, RStudio, or VS Code. Quarto is useful for combining code, tables, figures, and text in a single reproducible document. It can be rendered to HTML for websites and review, or to PDF and Word for manuscripts and reports. Quarto can also be used to generate Beamer slides for research presentations. Regression results, tables, and figures should preferably be generated with Quarto and exported as PDF files to improve reproducibility. When needed, research writing can be done in Word for easier editing and commenting. In that case, tables and figures should be generated separately as PDF files and attached or inserted into the main Word document.

AI Assistants

AI assistants can be added depending on access and preference:

I use Codex and Claude Code for research workflow experiments.

Subscription plans, limits, and installation steps can change. Check the official documentation for each tool before teaching or adopting a workflow for a class or research team.

How to Install Codex in Positron

  1. Open Positron and go to the Extensions tab.
  2. Search for “ChatGPT” and install the “ChatGPT Extension” by OpenAI.
  3. After installation, you will see a new ChatGPT icon in the sidebar. Note that Positron has a primary sidebar and a secondary sidebar. The ChatGPT extension will be added to the secondary sidebar. You can move it to the primary sidebar if you want.
  4. Click on the ChatGPT icon and sign in with your OpenAI account that has access to Codex through ChatGPT Plus.
  5. Once signed in, you can start using the ChatGPT extension to get AI-assisted coding help directly within Positron.

Note that Positron also has its own AI assistant called “Positron AI,” which can be powered through ChatGPT, but you will need to connect it through your GPT API key, which costs extra money. You do not need to use Positron AI if you have access to Codex through the ChatGPT extension.

Another option for installing Codex is to install it in the terminal and use it through the command line. You can follow the instructions in the OpenAI documentation to install the OpenAI CLI and set up Codex for command-line use: https://platform.openai.com/docs/cli . This can be useful if you prefer to use Codex outside of an IDE or if you want to use it in a different environment. You can also use multiple terminals for parallel use of Codex AI agents on multiple tasks.

How to Install Claude Code in Positron

  1. Install Node.js if you do not already have it, since Claude Code runs on it.
  2. Open the terminal in Positron and install Claude Code by following Anthropic’s current installation instructions.
  3. Start Claude Code from the terminal, then follow the prompts to sign in with your Anthropic account.
  4. For a more integrated experience, search for the Claude Code extension in Positron or VS Code and install it if it is available for your setup.
  5. Once signed in, you can use Claude Code either from the terminal or from the sidebar panel to get AI-assisted coding help directly within Positron.

Like Codex, Claude Code can also be run from the terminal, and you can open multiple terminals to work on several tasks in parallel. Full installation and usage instructions are available in the official documentation: https://docs.anthropic.com/en/docs/claude-code