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

Code not sent to R REPL if REPL doesn't already exist #340

Open
winter-again opened this issue May 20, 2023 · 0 comments
Open

Code not sent to R REPL if REPL doesn't already exist #340

winter-again opened this issue May 20, 2023 · 0 comments

Comments

@winter-again
Copy link

winter-again commented May 20, 2023

Thanks for the plugin.

I'm having trouble getting R code to send to the REPL if the REPL doesn't already exist. The REPL buffer and window are created and the REPL starts fine, but if I initiated everything by sending a line, for example, it doesn't appear in the REPL and isn't executed. I'd have to repeat the command to get it to send. Iron also marks the line as executed (i.e., italicization). From experimenting, it looks like a problem here in that vim.fn.chansend(meta.job, dt) doesn't appear to have an effect.

I don't have this issue when using a Python REPL. I am on Windows and made no modifications to repl_definition during setup. Let me know if there's anything else I can share to help troubleshoot. Thanks.

Edit: I checked on my Linux machine and Iron behaves fine. Maybe it has something to do with the return symbols appended to REPL commands?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant