Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing subplot #6097

Open
turbanisch opened this issue Jan 23, 2025 · 1 comment
Open

Missing subplot #6097

turbanisch opened this issue Jan 23, 2025 · 1 comment
Labels
area: kernels Issues related to Jupyter kernels and LSP servers area: plots Issues related to Plots category. bug Something isn't working lang: r support

Comments

@turbanisch
Copy link

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

@juliasilge
Copy link
Contributor

I suspect this is another problem related to par(), like #3562 and all the issues linked there. Let's keep this open as another example to check.

@juliasilge juliasilge added bug Something isn't working area: plots Issues related to Plots category. lang: r support area: kernels Issues related to Jupyter kernels and LSP servers labels Jan 25, 2025
@juliasilge juliasilge added this to the Release Candidate milestone Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: kernels Issues related to Jupyter kernels and LSP servers area: plots Issues related to Plots category. bug Something isn't working lang: r support
Projects
None yet
Development

No branches or pull requests

2 participants