-
Notifications
You must be signed in to change notification settings - Fork 454
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
Could not find RScript #1239
Comments
The Here is the applicable PR: #1128 @srivathsesh : If you are unable to get it to work then please include your |
@Glavin001, Thank you for your quick response. I am sure I am not doing something right here. Here is the link to debug.md. |
I agree that it seems to be a problem with Rscript. It is not tested for windows so I do not know exactly what you need to make it work. Basically it executes the command See file atom-beautify/src/beautifiers/formatR/index.coffee Either make it so this command works in windows or I suppose change it so it runs one command for windows and one command for other. Rscript should work in windows, see for example: http://stackoverflow.com/questions/5720317/running-r-from-windows-command-prompt @Glavin001 does some other language have "if windows; do this" type of behaviour? Edit: I just checked a coworkers computer and within her R installation (bin folder) there is Rscript.exe, however she had to point directly to that file for it to work. For example |
The This is a personal setup issue and likely not an Atom-Beautify issue. |
Thank you so much. You folks are awesome. I'll try it tonight. Sent from my iPhone
|
I really want to focus on improving the installation experience for users. I have created a new Issue, #1687, to target this problem. Please provide your feedback! Thanks in advance. |
#1687 has been published to v0.30.0. You should now be able to configure the executable/script path in Atom-Beautify package settings: |
Hi there, thank you for building the package.
I am trying to use beautify for R code. I am using Windows 10 OS. I am running into the bellow error message. I do have formatR package installed. Any help is greatly appreciated. Thanks again
Error: Could not find 'Rscript'. The program may not be installed.
at R.module.exports.Beautifier.commandNotFoundError (file:///C:/Users/ku906/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee:204:14)
at file:///C:/Users/ku906/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee:304:22
at tryCatcher (C:\Users\ku906.atom\packages\atom-beautify\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\ku906.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:510:31)
at Promise._settlePromise (C:\Users\ku906.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:567:18)
at Promise._settlePromise0 (C:\Users\ku906.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:612:10)
at Promise._settlePromises (C:\Users\ku906.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:687:18)
at Async._drainQueue (C:\Users\ku906.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:138:16)
at Async._drainQueues (C:\Users\ku906.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:148:10)
at Async.drainQueues (C:\Users\ku906.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:17:14)
at process._tickCallback (internal/process/next_tick.js:103:7)
The text was updated successfully, but these errors were encountered: