Closed alofting closed 7 years ago
Does it send the current line using ctrl+enter
?
No
On Aug 9, 2017, at 13:40, Randy Lai notifications@github.com<mailto:notifications@github.com> wrote:
Does it send a the current line using ctrl+enter?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/randy3k/R-Box/issues/103#issuecomment-321231007, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJOaW_GY2Q78gN86zyyzdc7U3b_fP7YMks5sWZq3gaJpZM4Oxu7g.
To expand on my answer (I was in a meeting): neither 'Send current line/selection ' nor 'Source current file' works from the menu either.
It seems that it does not see R console at all when 'R Extended' is chosen as syntax. My workaround solved the problem when it occurred (sometimes several times a day) before.
Arne
From: Arne Løftingsmo alofting@hotmail.com Sent: Wednesday, August 9, 2017 15:13 To: Arne Løftingsmo Subject: Re: [randy3k/R-Box] Does not send to R console (#103)
To expand on my answer (I was in a meeting): neither 'Send current line/selection ' nor 'Source current file' works from the menu either.
It seems that it does not see R console at all when 'R Extended' is chosen as syntax. My workaround solved the problem when it occurred (sometimes several times a day) before.
Arne
From: Arne Løftingsmo alofting@hotmail.com Sent: Wednesday, August 9, 2017 14:07 To: randy3k/R-Box Cc: randy3k/R-Box; Author Subject: Re: [randy3k/R-Box] Does not send to R console (#103)
No
On Aug 9, 2017, at 13:40, Randy Lai notifications@github.com<mailto:notifications@github.com> wrote:
Does it send a the current line using ctrl+enter?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/randy3k/R-Box/issues/103#issuecomment-321231007, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJOaW_GY2Q78gN86zyyzdc7U3b_fP7YMks5sWZq3gaJpZM4Oxu7g.
I wonder if there are any error messages in the console. You should choose R as your default program.
Console error message:
"ConEmuC.exe not found. Specify the path to ConEmuC.exe in SendCode.sublime-settings."
If you want to send code to R GUI, you should run SendCode: Choose Program
to select R GUI.
Thanks, that worked. I do not know why it suddenly changed though.
When I choose syntax "R Extended" then I am no longer able to send to R console. If I change syntax to "R markdown" then source is sent to R console as expected. I have had this problem before but then a work around fixed the problem: opening R-Box settings and saving. This does not work any longer. I use the following key-binding to save and send source:
[ { "keys": ["ctrl+b"], "command": "run_multiple_commands", "args": { "commands": [ { "command": "save"}, { "command": "send_code" "args": {"cmd": "source(\"$file\")"} } ] } } ]
The file is saved, but the source command is not executed in the R console.