posit-dev / posit-dev/positron
Text is added on the R console output
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 183
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 206
Description
System details:
Positron and OS details:
Positron Version: 2026.01.0 build 147
Code - OSS Version: 1.106.0
Commit: 3290136f699527bf01b703b390457b05ef2b858a
Date: 2026-01-06T01:43:52.838Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Linux x64 6.17.0-1010-oem
Session details:
R version 4.5.2 (2025-10-31)
Platform: x86_64-pc-linux-gnu
Running under: Slimbook OS # A variant of Ubuntu
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so; LAPACK version 3.12.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=es_ES.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=es_ES.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=es_ES.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=es_ES.UTF-8 LC_IDENTIFICATION=C
time zone: Europe/Madrid
tzcode source: system (glibc)
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] shiny_1.12.1 rutils_0.0.2.93 rtoot_0.3.6
[4] devtools_2.4.6 BiocManager_1.30.27 cyclocomp_1.1.1
[7] testthat_3.3.2 usethis_3.2.1
loaded via a namespace (and not attached):
[1] fastmap_1.2.0 gh_1.5.0 promises_1.5.0
[4] digest_0.6.39 reprex_2.1.1 mime_0.13
[7] lifecycle_1.0.5 waldo_0.6.2 ellipsis_0.3.2
[10] processx_3.8.6 magrittr_2.0.4 compiler_4.5.2
[13] sass_0.4.10 rlang_1.1.7 tools_4.5.2
[16] yaml_2.3.12 data.table_1.18.2.1 knitr_1.51
[19] askpass_1.2.1 pkgbuild_1.4.8 curl_7.0.0
[22] xml2_1.5.2 pkgload_1.4.1 miniUI_0.1.2
[25] withr_3.0.2 purrr_1.2.1 sys_3.4.3
[28] desc_1.4.3 roxygen2_7.3.3 diffobj_0.3.6
[31] xtable_1.8-4 gitcreds_0.1.2 cli_3.6.5
[34] rmarkdown_2.30 crayon_1.5.3 remotes_2.5.0
[37] otel_0.2.0 rstudioapi_0.18.0 commonmark_2.0.0
[40] sessioninfo_1.2.3 cachem_1.1.0 stringr_1.6.0
[43] vctrs_0.7.1 jsonlite_2.0.0 callr_3.7.6
[46] credentials_2.0.3 jquerylib_0.1.4 clipr_0.8.0
[49] glue_1.8.0 ps_1.9.1 stringi_1.8.7
[52] later_1.4.5 tibble_3.3.1 pillar_1.11.1
[55] htmltools_0.5.9 rappdirs_0.3.4 brio_1.1.5
[58] openssl_2.3.4 R6_2.6.1 httr2_1.2.2
[61] gert_2.3.1 rprojroot_2.1.1 evaluate_1.0.5
[64] memoise_2.0.1 bslib_0.10.0 httpuv_1.6.16
[67] Rcpp_1.1.1 xfun_0.56 fs_1.6.6
[70] pkgconfig_2.0.3
Describe the issue:
The output of the R command is messed up on the console.
This doesn't happen inside reprex/callr or R outside Positron
Steps to reproduce the issue:
Run this reprex on the console with R 4.5.2:
x <- "whatever https://google.com"
xx <- "Google url is https://google.com or http://google.com"
paste0(x, xx, collapse = "*")
#> [1] "whatever https://google.comGoogle url is https://google.com or http://google.com"
Created on 2026-01-31 with reprex v2.1.1
Instead of this you will see:
[1] "whatever https://google.comGooglehttps://google.comGooglehttps://google.comGoogle url is https://google.com or http://google.com"
Expected or desired behavior:
To receive:
#> [1] "whatever https://google.comGoogle url is https://google.com or http://google.com"
Were there any error messages in the UI, Output panel, or Developer Tools console?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the R console with the supplied URL-containing string example and compare the displayed output with R outside Positron. Trace the console output handling for this case and verify that the repeated URL and text are removed while the expected output remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100