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

ark: Cap console input that is "too large" for R's buffer #1767

Closed
DavisVaughan opened this issue Nov 2, 2023 · 1 comment
Closed

ark: Cap console input that is "too large" for R's buffer #1767

DavisVaughan opened this issue Nov 2, 2023 · 1 comment
Assignees
Labels

Comments

@DavisVaughan
Copy link
Contributor

Extracted from #1326 (comment)

Resolving that is mostly a frontend thing, but we should still tweak the ark behavior to cap console input that is too large, simply throwing away anything beyond the buffer capacity, rather than the current behavior which ends up putting you in an invalid state. This is similar to what RStudio does IIUC (but RStudio also chops up the input as we are planning on doing)

@juliasilge
Copy link
Contributor

In Positron 2024.01.0 (Universal) build 141, I can put very large input into the R console and R is still happy and fine afterward:

buffer.mov

@wesm wesm added the lang: r label Feb 29, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants