Hello Lex,

thank you very much for helping. When I type R from normal bash outside geany it works fine. When I type geany -v at the prompt outside geany, this is what I get

marco@marco-desktop:~$ geany -v
Geany-INFO: Geany 1.23, en_GB.UTF-8
Geany-INFO: GTK 2.24.10, GLib 2.32.3
Geany-INFO: System data dir: /usr/share/geany
Geany-INFO: User config dir: /home/marco/.config/geany
Geany-INFO: System plugin path: /usr/lib/x86_64-linux-gnu/geany
Geany-INFO: Added filetype Go (55).
Geany-INFO: Added filetype Cython (56).
Geany-INFO: Added filetype Genie (57).
Geany-INFO: Added filetype Scala (58).
Geany-INFO: /home/marco/R/tex/commentary.tex : LaTeX (UTF-8)
Geany-INFO: /home/marco/R/reportEurope1.r : R (UTF-8)

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed

(geany:2732): Tagmanager-CRITICAL **: get_tag_type: assertion `tag_name' failed
Geany-INFO: Missing symbol-tree parent iter for type 524288!
Geany-INFO: Missing symbol-tree parent iter for type 524288!
Geany-INFO: Missing symbol-tree parent iter for type 524288!
Geany-INFO: Missing symbol-tree parent iter for type 524288!
Geany-INFO: Missing symbol-tree parent iter for type 524288!
Geany-INFO: Missing symbol-tree parent iter for type 524288!
Geany-INFO: Missing symbol-tree parent iter for type 524288!
Geany-INFO: Missing symbol-tree parent iter for type 524288!
Geany-INFO: Missing symbol-tree parent iter for type 524288!
Geany-INFO: Missing symbol-tree parent iter for type 524288!

(geany:2732): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed

It looks therefore there is an error in GTK MENU SHELL...

Marco



On Sun, Jul 28, 2013 at 6:41 AM, Lex Trotman <elextr@gmail.com> wrote:



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


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