On 28 July 2013 07:32, Matthew Brush <mbrush@codebrainz.ca> wrote:
On 13-07-27 01:24 PM, Marco Bianchi wrote:
I don't understand because when I run a .sh file invoking R code from the
command line it works without any problem at all? Also if I type which R at
prompt I get /usr/bin/R which is correct directory etc...

Do you get the > prompt if you actually run R at the command line (instead of "which R")?

If so then you should also get it in Geany.  The fact that you don't says something is wrong with that part of the setup.  Run geany from the command line with -v option and post the results.

If you don't get the > prompt running R from the command line then the problem is in your R setup

Cheers
Lex

 


For what it's worth, I just installed r-base on Ubuntu 13.04 and set the shell setting to /usr/bin/R and it works as expected, the R interpreter shell is run and I can send text to it using <Ctrl>+4 after setting it up to send text to terminal. I'm using fairly recent Geany compiled from Git master branch.

Not sure what the problem could be, other than maybe if you didn't restart Geany to get the new shell running (or even maybe typing "exit" without restarting Geany). Maybe try to use `/usr/bin/R --interactive` for the Shell?

Cheers,
Matthew Brush



On Sat, Jul 27, 2013 at 2:29 PM, Lex Trotman <elextr@gmail.com> wrote:




On 27 July 2013 22:29, Marco Bianchi <marcolondonuk@gmail.com> wrote:

Dear Users,

I love geany lightweight editor which I have used for a couple of years
now. I have made a brand new installation of Ubuntu 12.04 64bit on a brand
new hard disk etc and then I have installed geany, version below:

geany 1.23 (built on Apr  7 2013 with GTK 2.24.10, GLib 2.32.3)

I have installed libvte9 too. My issue with geany is that it does not
send commands to terminal.
Any idea why this is happening?

marco

PS: It can be seen from the image below that I have selected the first
three lines of code, but nothing happens when I send those lines to
terminal using the CTRL-4 key (which I have defined in keybindings). I also
attach more images showing set up of some of my preferences tabs.


As there is no prompt in the terminal it would appear that your shell, R,
is not running properly.

Cheers
Lex

_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users





_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users