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

Cannot run R code from Sublime text3 #39

Open
Thinking2018 opened this issue Dec 19, 2019 · 4 comments
Open

Cannot run R code from Sublime text3 #39

Thinking2018 opened this issue Dec 19, 2019 · 4 comments

Comments

@Thinking2018
Copy link

I have installed sublime text3, R-IDE,LSP,and R3.6.2
But I am not able to run a Rscript from it.
I choose the Exec in the menu
image

and press enter, but it shows the following error

image

Fatal error: option '-e' requires a non-empty argument

I have no idea about this

I use windows10

@randy3k
Copy link
Member

randy3k commented Dec 19, 2019

R-IDE does not run R script directly. The Exec option is used to run any arbitrary R command from the current working directory. Did you see any errors in the console by the way?

@Thinking2018
Copy link
Author

So how to use R-IDE to run R script ? The console only give me such error message that
Fatal error: option '-e' requires a non-empty argument

@randy3k
Copy link
Member

randy3k commented Dec 19, 2019

That’s not the console. What you saw was the output panel. I am referring to the sublime console (Ctrl+backtick to open).

R-IDE does not run R script. For that, you need SendCode and a terminal. Terminal could be open in an external program for example cmder or in Terminus (a Sublime Text package).

@Thinking2018
Copy link
Author

OK, I see. I do not have a console in sublime, so I need to install one.
Thanks!

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

2 participants