posit-dev / positron

Positron, a next-generation data science IDE
Other
2.39k stars 70 forks source link

Biplot arrows not showing #4549

Open JozefRivest opened 1 week ago

JozefRivest commented 1 week ago

System details:

Positron and OS details:

Positron Version: 2024.08.0 (Universal) build 83 Code - OSS Version: 1.92.0 Commit: f2238e0cf5fcc2a89b466d430775e135e9345852 Date: 2024-08-29T02:37:56.178Z Electron: 30.1.2 Chromium: 124.0.6367.243 Node.js: 20.14.0 V8: 12.4.254.20-electron.0 OS: Darwin arm64 23.6.0

Interpreter details:

R 4.4.1

Describe the issue:

When using the biplot() command in R, the arrows (aka linear vectors) aren't showing. I tried changing the color and it didn't resolved the problem.

Steps to reproduce the issue:

dat <- mtcars 

pr <- princomp(dat)

biplot(pr)

Expected or desired behavior:

The linear vectors should appear in red on top of the observations.

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

No

juliasilge commented 1 week ago

May be related to par() like #3562