Describe the Bug
When running any line using cmd+enter from a .R, .Rmd, or .qmd script using the R extension, cursor appends “00~” and “01” to the beginning and end of the command, respectively.
Steps to Reproduce
- Create an R script file (.R)
- Add a simple command like
print("test")
- Use Cmd+Enter to run the line
- Error:
Error: unexpected numeric constant in "print("test")01"
Expected Behavior
The command should run in the interactive R terminal without appending any additional characters
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.1.3 (Universal)
VSCode Version: 1.96.2
Commit: 979ba33804ac150108481c14e0b5cb970bda3260
Date: 2025-06-15T06:37:17.379Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
Additional Information
- This only happens when running from script files with Cmd+Enter
- Interactive R terminal works fine
- Same commands run correctly in RStudio
- This breaks R script development workflow
Does this stop you from using Cursor
Yes - Cursor is unusable