Table of contents Hide

Positron Practical Tutorial

Positron is an integrated development environment (IDE) for data science. This tutorial, based on version 2026.11.1-4, covers Python and R interpreter configuration, Jupyter Notebook, Data Explorer, Object Explorer, and Data Connections, and demonstrates the complete workflow from data import and inspection to statistical analysis and visualization using simulated experimental data.

Positron 2026.11.1-4 Practical Tutorial: Python, R, Jupyter and...Scientific data analysisWorkflow

Version Notes: As of November 17, 2026, the official Positron release page shows the latest version as... 2026.11.1-4This patch was released on November 9, 2026. This article describes... Object ExplorerMajor changes, such as interpreter selection and Data Connections, belong to the 2026.11 update series. Different patch versions, operating systems, and extension combinations may cause slight differences in menus or icons. If you encounter inconsistencies in the interface, please refer to the official documentation for the corresponding version.

In scientific data analysis, researchers often need to use code editors, R/Python consoles, etc.Jupyter NotebookSwitching between the data viewer and the plotting window. Positron, an integrated development environment (IDE) for data science from Posit Software, integrates Python, R, Notebook, data browsing, database connectivity, and project management into a single workspace. The 2026.11 series update added an Object Explorer, clearer interpreter selection logic, and improvements to database connectivity and AI Agent interaction. This article focuses on... Positron 2026.11.1-4 Based on the version, this document introduces the installation and configuration, Python/R environment connection, CSV data browsing, object inspection, Notebook analysis, and database connection, and demonstrates the basic process from import to visualization using a set of simulated experimental data.

Positron Introduction

Positron is an integrated development environment (IDE) designed by Posit Software for data science work. Built on Code OSS, its interface is somewhat similar to VS Code, but it's not simply a code editor with a different theme: Python and R are first-class supported languages in Positron. The IDE includes interactive consoles, Variables, Data Explorer, Plots, Help, and other data science workspaces, and is compatible with Jupyter Notebook.QuartoIt is used in conjunction with Git and database connections.

If you primarily use Python or R to process experimental data, your workflow typically involves several types of operations:

  • Write a script, run the code, and view the errors;
  • Inspect data frames, lists, model objects, and intermediate calculation results;
  • Read CSV, TSV, Parquet, or Excel files;
  • Switch back and forth between code, Notebook, and plotting results;
  • Manage Python/R interpreters and packages for different topics;
  • Save the analysis process as a project that can be reviewed and run again.

Positron's design goal is to reduce the switching costs between these tasks, keeping code, data objects, graphics, and project environments in an interconnected workspace.

Positron is suitable for:

userPossible use cases
Undergraduate and graduate studentsLearn Python/R, complete course data analysis, and organize experimental data.
Doctoral students and researchersStatistical analysis, model fitting, data visualization, repeatable computation
University teachersDemonstrating R/Python code, organizing course notebooks, and showcasing data structures.
Laboratory staffBatch processing of instrument export tables, data inspection, and generation of analysis reports
Data analystsCollaboration between Python, R, and SQL projects, connecting to local or remote databases.

If your primary tasks involve complex 3D modeling, digital pathology image segmentation, or specialized statistical graphics editing, Positron does not replace C4D, QuPath, or GraphPad Prism. It is better suited for handling data analysis code, data inspection, and organizing repetitive workflows.

Differences between Positron, RStudio, VS Code, and JupyterLab

ToolsMain positioningMore suitable job
PositronAn IDE for data science with a built-in Python/R interactive workspace.Collaborative analysis of code, data objects, tables, notebooks, and databases
RStudioMature IDEs based on RStatistical analysis in R, R package development, Shiny and Quarto workflows
VS CodeGeneral-purpose code editor and development platformMultilingual development, expanding ecosystem, general software engineering
JupyterLabInteractive Notebook-centric computing environmentStep-by-step code execution, recording and analysis process, teaching and exploratory computing

Positron's advantage lies in integrating commonly used data science panels as part of its IDE, rather than requiring users to assemble numerous extensions themselves. It also supports both Python and R, making it suitable for teams using both languages in the same research project.

However, Positron doesn't mean RStudio or VS Code are no longer useful. RStudio remains mature and stable within the R ecosystem; VS Code has a wider range of general extensions; and JupyterLab is suitable for notebook-centric teaching and exploration. A more sensible approach is to try out new software based on the team's existing workflow, rather than immediately migrating the entire project to chase after new software.

Positron 2026.11 Series Update

This topic selection is primarily based on recent official Positron updates. The 2026.11 series is not simply about fixing UI issues, but rather focuses on improvements to data object inspection, interpreter management, database access, and agent context.

Object Explorer:

No longer just view complex objects in the console

Viewing DataFrames used to be convenient, but R lists, Python dictionaries, model-fitted objects, or nested JSON often only produce a long string of text printed to the console. When the object hierarchy is deep, researchers need to constantly use... str()Use `print()`, `names()`, or index expressions to look up internal fields.

Object Explorer organizes non-rectangular data objects into an expandable tree structure, displaying their name, type, and value. It supports searching by name and value, expanding nested content, opening data frames within it to the Data Explorer, and copying the code expression needed to access a specific element. The viewer updates as variables change.

For example, model results might include the model name, coefficients, fit metrics, and grouping results. Using the Object Explorer, you can inspect objects layer by layer without having to print everything to the console at once.

The interpreter selection is clearer.

Python projects often encounter the situation where “packages can be imported in the terminal, but the IDE reports that the module cannot be found”. This is usually because the terminal and the IDE are using different Python interpreters.

The November 2026 update adjusted the interpreter selection logic, prioritizing the currently active environment in the shell that starts Positron, and then considering the default interpreter path and project. .venvThe interpreter selector also lists `.python-version` and other discovered environments. It further groups interpreters by project, global, base environment, and external management environment, explaining why a particular interpreter is recommended.

This release series adds support for Python 3.15 and removes support for Python 3.9. For older projects that still rely on Python 3.9, you should retain your old IDE/environment setup or complete a dependency migration assessment first, and avoid directly upgrading and overwriting the original environment.

Data Connections:

Database browsing is more centralized

Data Connections is used to manage database and data warehouse connections. The 2026.11 update adds MotherDuck support and improves language capabilities for table preview, connection ranges, and SQL files. Users can browse database structures, preview tables, and generate Python, R, or SQL connection code.

Common data sources include DuckDB, SQLite, PostgreSQL, MotherDuck, Redshift, Snowflake, Databricks, and ODBC data sources. Specific available connection methods depend on the driver, credentials, and deployment environment.

Note: Positron's Data Connections are the entry point for data connection and browsing, and do not replace the database's own access control. When officially connecting to the research group's database, the account with the least privileges should still be used; data checks that can be performed with read-only permissions should not be performed using administrator credentials.

AI Agent Integration with MCP

The 2026.11 series also enhances the ability of the Posit Assistant and other coding agents to access the IDE status, such as reading help pages for installed R/Python packages, viewing the filter status of the active Data Explorer, and reading portions of data application or graphical output.

Some of these capabilities require enabling preview settings or experimental MCP functions and should not be treated as default stable functions. If the research data involves unpublished experimental results, patient information, restricted databases, or partner data, the data processing policy, model service terms, and institutional requirements should be confirmed before enabling AI functions.

The installation package size and background processes have been optimized.

The official update notes state that the 2026.11 series reduces the installation package size by approximately 224 MB across platforms by sharing the DuckDB library and reducing the number of files included with the Python Kernel. For ordinary personal computers, this may not be a deciding factor in choosing an IDE; however, in environments with network file systems, centralized deployments, or strict antivirus scans, the number of installation files and startup overhead can significantly impact the user experience.

Download and Installation

It is recommended to obtain the installer from the official Positron download page or the official GitHub Releases. Do not obtain the executable file from cloud storage, third-party download sites, or unknown mirrors.

Windows installation

As of this version, the official Release provides installation packages for Windows 10/11 x64 and Windows 11 ARM64, and offers both system-level installation and current user installation methods.

  1. Open the official GitHub Releases page and find... 2026.11.1-4。
  2. Choose either x64 or ARM64 based on the device's processor.
  3. If you do not have administrator privileges, choose User Setup first; only consider System Setup if you need to install it on the entire computer.
  4. After downloading, double-click the installer and follow the prompts to complete the installation.
  5. Upon initial launch, check if the version number on the About page is correct. 2026.11.1-4。

Windows users should also ensure that a newer version of Microsoft Visual C++ Redistributable is installed on their system. If a runtime library is missing at startup, the corresponding version can be obtained from the official Microsoft website.

https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist

macOS installation

macOS installation packages come in two types: Apple Silicon (arm64) and Intel (x64). Before downloading, confirm the chip type in “About This Mac” and then select the corresponding DMG file.

  1. Download from the official release. arm64.dmg 或 x64.dmg。
  2. Open DMG and drag Positron into the Applications folder.
  3. On first launch, follow the macOS security prompt to complete the confirmation.
  4. After startup, check the version number and system permissions.

The official installation package currently supports macOS 11.0 and later. If your lab computer uses an older system, it is recommended that you first check the minimum system requirements for the current release.

Linux installation

The official release provides installation packages for Debian-based and Red Hat-based distributions, such as... .deb 与 .rpmWhen downloading, you should verify both the architecture and the distribution version. The current 2026.11.1-4 Release page lists builds such as Debian-based Linux x64/arm64 and Red Hat-based Linux x64/arm64.

Debian/Ubuntu users can install packages using their local package manager, depending on their distribution. For example:

sudo apt install ./Positron-2026.11.1-4-x64.deb

The filename should be replaced with the actual downloaded file. Red Hat users should use the RPM package that matches their architecture and install it according to the distribution specifications.

Installing Positron is not the same as installing Python and R.

Positron can be launched as an IDE, but to run Python or R analysis code, the corresponding language runtime environment is still required.

ComponentsRecommended preparationNote
PythonSelect the version of project dependencies supported.The 2026.11 series supports Python 3.15, but no longer supports 3.9; not all third-party research libraries will be immediately compatible with the latest Python.
RR 4.2 or laterPositron requires an available R installation to be found on the system.
GitInstall Git command-line toolsUsed for version management and project history
Python package managervenv, uv, conda, pyenv or PixiPositron can detect various common Python environment management methods.

R Official Download:https://cran.r-project.org/

Git official download:https://git-scm.com/downloads

If your research group already has a unified Python/R environment, you don't need to reinstall a runtime environment to use Positron. Simply point your IDE to the existing interpreter, and then verify the package path and version.

Positron Fees

Positron desktop software is free for personal, academic, and commercial use, but it's important to distinguish accurately between “free use” and “open source in the OSI sense.” Positron uses... Elastic License 2.0The official name for this license is "source-available," rather than a standard permissive open-source license. One of its main limitations is that the software cannot be provided to third parties as a hosting or management service without Posit's consent.

For personal research and local desktop use, it can usually be used for free under the official license terms; if schools or enterprises plan to redistribute, host or build services, they should first read the full license and consult the institution's legal or software management department.

License Description:https://positron.posit.co/licensing

[Image suggestion 3: Screenshot of the download area for the Positron official GitHub Release, labeled Windows x64/ARM64, macOS arm64/x64, and Linux deb/rpm, with a caption suggesting you check your system architecture first.]

Getting Started: Getting to Know the Main Workspace

When you first open Positron, you can create a regular folder as your workspace and then gradually familiarize yourself with the various panels. The interface layout will vary depending on screen size, theme, and enabled extensions; the following is based on the 2026.11 series desktop version.

Panel/AreaMain uses
ExplorerBrowse project files and folders
Editoredit .pyFiles such as `.R`, `.ipynb`, and `.qmd`
ConsoleInteractively execute Python or R code
VariablesView variables and data objects in the current session
Data ExplorerBrowse data frames or data files in tabular format.
Object ExplorerView nested objects and non-rectangular data structures in layers
PlotsView and manage graphics generated by code
HelpConsult function and package help
Source ControlView Git changes, staged changes, and commits.
Data ConnectionsManaging database connections and browsing data tables

It is recommended not to install a large number of extensions at the beginning. First, complete a simple project using the default layout to confirm that Python/R, data browsing, and plotting all work properly, and then add tools as needed.

Create a research project directory

You can first create the following directory:

Research_Analysis/ ├── data/ │ ├── raw/ │ │ └── experiment.csv │ └── processed/ ├── scripts/ │ ├── analysis.py │ └── analysis.R ├── notebooks/ │ └── exploratory_analysis.ipynb ├── reports/ │ └── analysis_report.qmd ├── figures/ ├── results/ └── README.md

This is just a sample project structure, not a Positron requirement. The `raw` folder is used to store raw data; try not to overwrite raw files directly during analysis. Processed data, graphs, and reports should be placed in their respective directories for easier review and reproduction later.

Select Positron File → Open Folder,Open Research Analysis A folder will suffice.

Configure the Python environment and run

Positron supports system Python and can also discover environments managed by venv, uv, conda, pyenv, and Pixi. For existing research projects, the most important thing is to have the IDE use the project's original interpreter, rather than blindly creating a new global environment.

Prepare a project-level Python environment

If you are already using UV management for your project, you can execute the following command in the project directory:

uv init --python 3.12 uv add pandas matplotlib seaborn uv sync

This set of commands creates the project configuration and prepares the virtual environment. Python 3.12 is only the example version; the actual version should be selected based on compatibility with research dependencies such as NumPy, SciPy, PyTorch, and TensorFlow. If the project already has... pyproject.toml`uv.lock` and .venvDo not initialize repeatedly.

Alternatively, you can use Python's built-in venv:

python -m venv .venv

Windows PowerShell activation method:

.\.venv\Scripts\Activate.ps1 python -m pip install pandas matplotlib seaborn

macOS/Linux activation method:

source .venv/bin/activate python -m pip install pandas matplotlib seaborn

For a complete guide to UV environmental management, please continue reading on this site. UV Practical Tutorial: Managing Research Code EnvironmentsThis article only demonstrates the integration of the IDE and the environment, and does not elaborate on the package management process.

Select the Python interpreter in Positron.

  1. Use Positron to open the project root directory.
  2. View the Python/Interpreter information in the status bar at the bottom of the window.
  3. Click the interpreter name to open the interpreter selection list; you can also search for interpreter-related commands through the Command Palette.
  4. Find the project environment in the list, for example Python 3.12.x (.venv)。
  5. After selecting, open the Python Console and check the interpreter path and version.

Can be executed:

import sys print(sys.executable) print(sys.version)

sys.executable It should point to the project corresponding to .venvInstead of another global Python installation directory. If the path is incorrect, choose the interpreter again and check that the project folder is open at the correct level.

Commonly used data analysis packages for testing

Execute in the Python Console:

import pandas as pd import matplotlib import seaborn as sns print("pandas:", pd.__version__) print("matplotlib:", matplotlib.__version__) print("seaborn:", sns.__version__)

If no errors are reported, it means the current session can import these packages. If an error message appears... ModuleNotFoundErrorFirst, identify the interpreter used by the Console, and then install the dependencies in the corresponding project environment. Avoid repeatedly installing the same package into multiple Python environments without knowing the interpreter.

Configure the R environment

Positron provides first-class support for R, but it does not automatically replace the R installation on your system. You should install R first, and then allow Positron to detect the corresponding version.

Install R

Download the R installer compatible with your operating system from the CRAN official website:

https://cran.r-project.org

It is recommended to use R 4.2 or later. If the lab maintains multiple R versions, you can consider using tools such as rig mentioned in the Positron documentation to manage multiple installations, but you should first confirm the project dependencies and operating system compatibility of the research group.

Select R Interpreter

  1. Open Positron.
  2. Check the available R versions in the status bar or the interpreter management entry.
  3. Select the R installation you wish to use for the current project.
  4. Open the R Console and execute:
R.version.string R.home()

Confirm that the output version and installation directory match expectations.

If Positron does not detect R, check if R is fully installed, if the executable file is in a common path, or refer to the official R installation and discovery instructions:

https://positron.posit.co/r-installations.html

Install R data analysis packages

Execute in the R Console:

install.packages(c("readr", "dplyr", "ggplot2"))

Test after installation:

library(readr) library(dplyr) library(ggplot2)

If the project requires long-term reproducibility, it is recommended to record the R version and package versions, and not rely solely on packages currently installed on a particular computer.

Practical application:

Import experimental data and complete preliminary checks.

The following uses simulated cell activity data to demonstrate Positron's data browsing, code analysis, and graphical output. This data is for demonstration purposes only and does not represent actual experimental results, nor should it be used to draw biological or statistical conclusions.

Create a sample CSV file

In the project data/raw/ Create a new directory experiment.csvWrite the following content:

sample_id,group,day,viability_pct C01,Control,1,98.2 C02,Control,1,101.3 C03,Control,1,96.7 T01,Treatment,1,88.5 T02,Treatment,1,91.2 T03,Treatment,1,86.9 C04,Control,2,97.8 C05,Control,2,100.1 T04,Treatment,2,84.7 T05,Treatment,2,89.3 T06,Treatment,2,87.6 C06,Control,2,99.4

Field meaning:

  • sample_idSample number;
  • groupExperimental grouping;
  • dayRecord time points;
  • viability_pct: Simulated percentage of cell activity.

View CSV directly using Data Explorer

Find in Explorer experiment.csvYou can open the file in Data Explorer via the file context menu or command panel. Data Explorer displays the data in a tabular format and provides column filtering, sorting, and summary statistics.

It's primarily suitable for quickly inspecting data structures, not for replacing formal analysis code with mouse operations. Filtering and sorting are more of a temporary view in the current viewer; the filtering criteria that truly need to be reproduced should still be written into a Python/R script or Notebook.

In the Data Explorer view of CSV/TSV files, you can use the Import Data button to generate the corresponding Python or R reading code, and then choose to copy the code or import it directly into the current session. Different data formats and languages will use the appropriate reading methods.

Use Python to read and summarize data

在 scripts/analysis.py Write in:

from pathlib import Path import pandas as pd import matplotlib.pyplot as plt project_dir = Path(__file__).resolve().parents[1] data_file = project_dir / "data" / "raw" / "experiment.csv" df = pd.read_csv(data_file) print("Data dimension:", df.shape) print("Missing value:\n", df.isna().sum()) print("Duplicated rows:", df.duplicated().sum()) summary = ( df.groupby("group")["viability_pct"] .agg(n="count", mean="mean", sd="std") .reset_index() ) print(summary) fig, ax = plt.subplots(figsize=(5, 4)) for group, sub in df.groupby("group"): ax.scatter([group] * len(sub), sub["viability_pct"], label=group) ax.set_xlabel("Group") ax.set_ylabel("Cell viability (%)") ax.set_title("Illustrative cell viability data") ax.grid(axis="y", alpha=0.25) fig.tight_layout() output_dir = project_dir / "figures" output_dir.mkdir(exist_ok=True) fig.savefig(output_dir / "cell_viability.png", dpi=300) plt.show()

Open in the editor analysis.pyExecute the command using the Run button or the command to run the current Python file. Results will be displayed in the Console, and graphs can be viewed in the Plots panel; the code will also save the images to [location missing]. figures/ Folder.

Use R to perform the same data aggregation.

在 scripts/analysis.R Write in:

library(readr) library(dplyr) library(ggplot2) project_dir <- normalizePath(".", mustWork = TRUE) data_file <- file.path(project_dir, "data", "raw", "experiment.csv") df <- read_csv(data_file, show_col_types = FALSE) print(dim(df)) print(colSums(is.na(df))) print(sum(duplicated(df))) summary <- df |> group_by(group) |> summarize( n = n(), mean = mean(viability_pct, na.rm = TRUE), sd = sd(viability_pct, na.rm = TRUE), .groups = "drop" ) print(summary) p <- ggplot(df, aes(x = group, y = viability_pct)) + geom_boxplot(width = 0.45, outlier.shape = NA) + geom_jitter(width = 0.10, height = 0, size = 2) + labs( x = "Group", y = "Cell viability (%)", title = "Illustrative cell viability data" ) + theme_classic() print(p) dir.create("figures", showWarnings = FALSE) ggsave("figures/cell_viability_R.png", p, width = 5, height = 4, dpi = 300)

If the project directory structure differs from the example, adjustments are required. data_file Path. In actual research analysis, the statistical units, replication types, and statistical methods should be determined according to the experimental design; simply obtaining the mean, standard deviation, or a box plot does not equate to completing a proper hypothesis test.

Inspect the data frame in Data Explorer

After the script runs, `df` will appear in the Variables panel. Clicking the view icon next to the data frame will open it in the Data Explorer. This allows you to inspect the data content after the code runs without having to reopen the original CSV file.

It is recommended to separate data checking and data transformation:

  1. First, confirm the field names, data types, and missing information in the Data Explorer;
  2. Explicitly define the inclusion/exclusion criteria in the code;
  3. Save the cleaned data to data/processed/;
  4. Save the summary table and graphs to results/ 与 figures/;
  5. Keep the original file, do not overwrite. data/raw/ The input data in the file.

Use the Object Explorer to inspect models and nested objects.

The Object Explorer is a key feature worth experiencing in the 2026.11 series. It's not just for DataFrames, but also suitable for viewing non-rectangular objects such as model results, nested dictionaries, lists, and JSON.

Python Examples

Create a nested object in the Python Console:

fit_result = { "model": "linear_regression", "metrics": { "r2": 0.91, "rmse": 2.7, "n": 120 }, "coefficients": { "intercept": 12.4, "dose": -0.83 }, "diagnostics": { "converged": True, "warning_count": 0 } }

Then use it in the Python Console %view fit_resultAlternatively, you can open the Object Explorer by clicking the object's view entry in the Variables panel. It can be expanded... metrics, coefficients and diagnostics Wait for the node to check its internal fields.

R Example

Create a list in the R Console:

fit_result <- list( model = "linear_regression", metrics = list(r2 = 0.91, rmse = 2.7, n = 120), coefficients = c(intercept = 12.4, dose = -0.83), diagnostics = list(converged = TRUE, warning_count = 0) )

It is possible View(fit_result) Alternatively, you can check the object structure by viewing the variable entry point. The actual menu and opening method may vary slightly depending on the version and object type.

What problems can it solve?

Object Explorer is suitable for checking:

  • Parameters and evaluation metrics of machine learning models;
  • Coefficients, residuals, and fitting results in a statistical model;
  • Nested results within multiple levels of lists/dicts;
  • JSON configuration and structured results;
  • A data frame nested within a complex object.

Its value lies in enabling researchers to understand the structure of objects more quickly. Formal analysis should still include the extraction, transformation, and calculation of key fields in scripts, avoiding treating mouse browsing as an untraceable data processing step.

Using Jupyter Notebook with Quarto in Positron

Positron can be edited and run directly. .ipynb It supports files and provides a built-in Notebook editor. It also supports Quarto. .qmd Documentation and executable code blocks.

Open Jupyter Notebook

  1. Open an existing project in the project directory .ipynb Files, or create a Notebook via the File menu.
  2. Choose either Python or R Kernel.
  3. Execute the code in the code cell and view the output and graph.
  4. Use the Variables, Data Explorer, and Plots panels to check the results.

Positron's Notebook Editor is .ipynb The default editor for files. If you prefer the older Notebook editor with its VS Code style, you can turn it off in the settings. positron.notebook.enabledHowever, the new editor integrates data exploration, debugging, and Notebook context features, so it is recommended to try the default mode first.

Quarto documentation

If the research report is in Quarto format, it can be opened in Positron. .qmd The 2026.10 series also improved inline output and language features in Quarto, while the 2026.11 series continued to improve object inspection integration with Notebook/Quarto.

Positron handles editing and interactive operation, while Quarto handles document organization and rendering; they work together but are not the same software. This article will not repeat Quarto's project structure, cross-references, and publishing configurations; these should be covered in a separate Quarto tutorial.

Official Notebook documentation:https://positron.posit.co/jupyter-notebooks.html

Data Connections:

Connect to the database and preview the table

Data Connections can be used when research data is already stored in a database or when a connection to a lab server is required.

Add connection

  1. Open Data Connections in the main sidebar.
  2. Click Add Connection.
  3. Choose a database type, such as DuckDB, PostgreSQL, or SQLite.
  4. Fill in the file path, server address, database name, and authentication information according to the connection method.
  5. Name and save the connection.

Positron stores passwords, tokens, and connection strings in the operating system's secure storage, rather than in plaintext in regular configuration files. However, this doesn't mean credential management can be ignored: do not copy keys to code, notebook output, or public Git repositories.

Browse tables and generate connection codes

Once the connection is successful, you can expand the database structure to view the Catalog, Schema, Tables, Views, and Columns (the specific items depend on the database). Double-click a table or select "Open in Data Explorer" to preview the data.

Right-click the connection and select "Connect With" to generate Python, R, or ggsql connection code. The generated code can be copied to the clipboard, used to create a script, or run directly in the current console.

Project-level connections and read-only access

If the connection serves only one research project, select "This Workspace Only" when creating it to avoid displaying the same connection in other workspaces. For formal experimental databases, prioritize using read-only accounts or read-only connections; if write operations are required, first confirm database backups, transactions, and permission policies.

The SQL functionality still needs to be marked as experimental.

Positron's SQL file language feature, combined with Data Connections, provides table and column name completion, unknown name suggestions, and SQL dialect recognition. The official documentation currently marks this capability as experimental and requires enabling. sql.enabledYou need to install the corresponding ggsql extension to run the relevant statements.

Therefore, database connection browsing and SQL editing/execution are related but different functions. Do not assume that all functions in the SQL editor are stably enabled simply because the connection panel displays tables.

Official Data Connections documentation:https://positron.posit.co/data-connections

Official connection operation guide:https://positron.posit.co/using-data-connections.html

Git and the reproducible management of research projects

Positron has a built-in Source Control view that works with Git repositories. For research and analysis projects that require long-term maintenance, it is recommended to include scripts, notebooks, configuration files, and reports in version control, rather than just keeping the final exported graphs.

A basic process is:

  1. Initialize a Git repository in the project root directory, or clone the project from an existing repository;
  2. Add analysis scripts, notebooks, reports, and necessary configuration files to version control;
  3. View the changes in the Source Control panel;
  4. Select the file you want to save temporarily;
  5. Use clear submission information to record each change in the analysis process;
  6. Push to the Git platform that the research group allows.

It is generally not recommended to submit large raw images, patient data, un-anonymized data tables, or keys directly to a public repository. For large files and sensitive data, storage locations and access control methods should be selected in accordance with the institution's data management guidelines.

Official Git documentation:https://positron.posit.co/git.html

AI Assistant and MCP:

Define data boundaries before use.

Positron's AI capabilities can assist in interpreting errors, generating code, or understanding the current analysis environment. The 2026.11 series also expands the MCP Agent's ability to read IDE status, but some features are still in preview or experimental stages.

In research projects, it is recommended to follow these principles:

  • First, test the AI functionality using publicly available or simulated data;
  • Do not send patient identification information, unpublished experimental results, restricted data from partners, or API keys to unauthorized model services;
  • The statistical codes, screening criteria, and model parameters generated by the AI were reviewed item by item.
  • Human confirmation is required for operations that involve writing to files, modifying data, or running external commands.
  • Note the AI-generated code in the project log and retain the manual review process.

If you need to enable the preview capability of Posit Assistant, the official update notes mention... assistant.previewFeaturesIf you want other coded agents to use Positron MCP, then experimental setup is required. ai.mcp.enabledThe settings name and available functions may change with each version; please consult the corresponding AI documentation before using it.

Troubleshooting

Positron cannot find Python after opening.

First, confirm that Python is installed on your computer, then check if the interpreter selector can detect the project. .venvIf using uv, conda, or Pixi, confirm that the environment has indeed been created and that the project folder is opened at the correct level containing the environment configuration file.

The terminal can import packages, but the Console reports that the module does not exist.

Typically, the terminal and Positron Console use different interpreters. Execute them separately. sys.executable 和 sys.versionConfirm the actual path; then switch to the environment with the installed dependencies in the interpreter selector.

Positron cannot find R

Confirm that R 4.2 or later is installed; check the R executable file path on your system and refer to the official R installation discovery documentation. The discovery paths differ for Windows, macOS, and Linux, so you cannot directly copy the configuration from other systems.

The CSV file can be opened, but the data type is incorrect.

Check the delimiter, encoding, date column format, and decimal point settings. The Data Explorer preview is the entry point for checking; when actually reading the data, you should still explicitly specify the necessary parsing parameters in your Python/R code and check the number of rows, columns, and missing values before and after the import.

The SQL file is incomplete or cannot be executed.

Check if a Data Connection has been established, if the correct connection has been selected for the current SQL file, and confirm. sql.enabled Enabled, ggsql extension installed. SQL support is marked as experimental; please check the official version notes first if you encounter any issues.

Notebook opens differently than VS Code.

The 2026.11 series uses the Positron Notebook Editor by default. If you prefer to use the older Notebook Editor, you can disable it. positron.notebook.enabled Then reload the window. It is recommended to test in a copy of the project before switching.

Remote SSH connection failed.

Positron's Remote SSH supports connections from Windows, macOS, or Linux desktops, but the remote host needs to be running Linux. The official documentation states that the remote host requires at least 2 GB of RAM, and for practical data science tasks, it is recommended to reserve 4 GB or more. Remote Windows/macOS hosts are not supported by this feature.

Should RStudio or VS Code be completely replaced?

It's not recommended to migrate immediately just because of a version update. You can start by trying out Positron in a non-critical project to check package compatibility, Git workflow, Notebook compatibility, plotting devices, remote connectivity, and team collaboration. Once you've confirmed that it doesn't affect the research group's work, you can gradually expand its use.

Applicable Boundaries and Selection Recommendations

Positron's core value lies in combining code with interactive dashboards for data science. It's a worthwhile tool to include in your tool selection if your research tasks require frequent examination of complex model objects, switching between Python/R, browsing CSV/Parquet, or connecting to databases.

However, if the team heavily relies on specific RStudio extensions, already has a mature VS Code workspace configuration, or the research institution's software licensing policy does not accept the Elastic License 2.0, a compatibility and licensing assessment should be conducted first. Positron's AI Agent and some SQL features also require a distinction between stable and preview features.

It can be understood as a workbench for data analysis, rather than a library of statistical methods, image processing software, or database server. Whether the analytical methods are correct, the experimental design is reasonable, and the results are scientifically significant still depends on the researcher.

Conclusion

The Positron 2026.11 series update further clarifies its role in data science workflows: it not only allows writing Python and R code but also direct inspection of data frames, nested objects, Notebook output, and database tables. This integration significantly reduces repetitive tasks for researchers who frequently switch between code, data, and reports.

When using it for the first time, it's recommended to complete three things first: select the correct Python/R interpreter for your project; check a real but non-sensitive copy of the data using Data Explorer; and then view a model or nested object using Object Explorer. Once these basics are stable, you can gradually add Notebook, Quarto, database connectivity, and Git.

Positron may not be the perfect replacement for everyone's existing RStudio, VS Code, or JupyterLab, but it offers a data science IDE solution worth testing. Whether to migrate should be based on project compatibility, team collaboration, licensing conditions, and data security requirements, rather than simply looking at the number of features in the changelog.

Reference Links

  1. Positron official website:https://positron.posit.co/
  2. Positron official download page:https://positron.posit.co/download.html
  3. Positron GitHub Releases:https://github.com/posit-dev/positron/releases
  4. Positron 2026.11 Update Notes:https://positron.posit.co/release-notes
  5. Positron Welcome and Getting Started:https://positron.posit.co/welcome.html
  6. Positron Licensing Information:https://positron.posit.co/licensing
  7. Positron Data Explorer:https://positron.posit.co/data-explorer
  8. Positron Data Connections:https://positron.posit.co/data-connections
  9. Using Data Connections:https://positron.posit.co/using-data-connections.html
  10. Jupyter Notebooks:https://positron.posit.co/jupyter-notebooks.html
  11. Positron Notebook Editor:https://positron.posit.co/positron-notebook-editor
  12. R installation findings notes:https://positron.posit.co/r-installations.html
  13. Git Version Control:https://positron.posit.co/git.html
  14. Remote SSH:https://positron.posit.co/remote-ssh.html
  15. Frequently Asked Questions:https://positron.posit.co/faqs.html