Skip to content

Tmux integration not work maybe due to error "Rscript binary cannot be found automatically"... #154

Description

@maxfarrell

I got a new laptop and after setting it up I have been using SendCode with the linux terminal. This works, but I've grown frustrated with the ctrl+enter creating a new line if I don't release the ctrl button and press it again (there is an open issue about this).

I'm okay sending code to tmux instead, but for some reason this isn't sending R code. The same thing happens with python so likely a problem with tmux and not this Rscript binary...

I am getting this error "Rscript binary cannot be found automatically. The path to Rscript can be specified in the R-box settings. I assume this might be related to my issue, so following the R-box instructions, I set this as my r-box user settings:

{
    // enable auto completions
    "auto_completions": true,

    // show popup hints
    "show_popup_hints": true,

    // path to Rscript, for example
    // (mac, linux): "/usr/local/bin/Rscript"
    // (windows):    "C:\\Program Files\\R\\R-x.y.z\\bin\\Rscript.exe"
    "rscript_binary": "/usr/local/bin/Rscript",

    // additional paths to PATH variable
    "additional_paths": []
}

This didn't work. I ran which Rscript and it turns out my Rscript binary is actually at "/usr/bin/Rscript", so I tried this, but still doesn't work....

Any tips would be great! Either fixing the new line issue or getting tmux to work with R :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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