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

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

Open
maxfarrell opened this issue Sep 21, 2021 · 0 comments

Comments

@maxfarrell
Copy link

maxfarrell commented Sep 21, 2021

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 :)

@maxfarrell maxfarrell changed the title Rscript binary cannot be found automatically... Tmux integration not work maybe due to error "Rscript binary cannot be found automatically"... Sep 21, 2021
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