Skip to content

Console outputs to file unexpectedly when sending commands #175

@ltalluto

Description

@ltalluto

I'm not sure where to put this in fact, since it involves an interaction between multiple packages, so here is the setup:

Running SublimeText, using Sendcode to send R commands to radian which is open in a Terminus console (within Sublime Text, using the extension). Radian was launched from a zsh shell.

I have confirmed that the same behaviour happens if I start with a bash shell, and also I get the same behaviour running the default R console (so I don't think it's a radian issue).

If I enter the following into a code window:

?glm #help file opens in the radian console
test <- c("one") # execute while the help file is still open

Obviously this is a bit of user error - the expected behaviour is probably that nothing happens, since the R console is busy displaying the help file. What happens instead is that I will have a new file on disk in the current working directory, named t <- c("one"' -- which is everything but the first three letters of the command I sent while the help file was open. The contents of that file look to be a dump of the help file I was looking at, with a bit of garbage characters thrown in as well.

Versions:
SublimeText build 4200
Sendcode 0.4.21
Terminus 0.3.37
Radian 0.6.15
R 4.5.2
Running on Fedora 43

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions