Skip to content

Missing subplot #6097

Open
Open
@turbanisch

Description

System details:

Positron and OS details:

Positron Version: 2025.02.0 (Universal) build 79
Code - OSS Version: 1.96.0
Commit: a268bc8
Date: 2025-01-21T02:44:54.581Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.2.0

Interpreter details:

R 4.4.2

Describe the issue:

When I plot a raster object with four layers using the R package terra, only three of them show in Positron whereas all four of them appear in RStudio.

Positron:

positron

Steps to reproduce the issue:

Execute the following code from an R script or the console:

devtools::install_github("geocompr/geocompkg") #might need this specific package version
library(terra)
path <- system.file("raster/landsat.tif", package = "spDataLarge")
multi_rast <- rast(path)
plot(multi_rast)

Expected or desired behavior:

It seems that RStudio's behavior is the correct one:

rstudio

Were there any error messages in the UI, Output panel, or Developer Tools console?

No

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: kernelsIssues related to Jupyter kernels and LSP serversarea: plotsIssues related to Plots category.bugSomething isn't workinglang: rsupport

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions