[R] Syntax Highlightning and Editor for Linux

Rainer M Krug r.m.krug at gmail.com
Fri Jul 23 16:09:50 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23/07/2010 15:56, Alaios wrote:
> I would like oto thank everyone for the replies.
> I instaled rkward.. It looks like an editor.. Is it possible to execute
Yes

> also your code from the text editor.
Look into the "Run" menu

> If there is a function call myfunc inside my file test.R
> Is it possible to exectute the function from the rwkard?

How do you mean? You can open an R console in rkward (by pressing the "R
console" button on the bottom. Then you can type there. You can submit
to the R Console via the Run menu or keyboard shortcuts.

Cheers,

Rainer

> 
> Best Regards
> Alex
> 
> ------------------------------------------------------------------------
> *From:* Federico Andreis <federico.andreis at gmail.com>
> *To:* Rainer M Krug <r.m.krug at gmail.com>
> *Cc:* Alaios <alaios at yahoo.com>; r-help at r-project.org
> *Sent:* Fri, July 23, 2010 3:46:08 PM
> *Subject:* Re: [R] Syntax Highlightning and Editor for Linux
> 
> I have been trying emacs with ess, Kate, plain gedit..nothing really
> satisfied me..
> but then I found a nice plugin for gedit: Rgedit !
> 
> it supports split screen with R terminal window (you can also
> personalize colour if, like me, do like to
> stick with old habits :) ), moreover gedit has a brackets completion and
> a brackets highlight plugin which are very useful.
> 
> check it out here
> 
> http://www.stattler.com/article/using-gedit-or-rgedit-r
> 
> <http://www.stattler.com/article/using-gedit-or-rgedit-r>simple "send
> code to terminal" shortcuts (much simpler than emacs, in my opinion) and
> nice interface..give it a try!
> 
> /federico
> 
> 
> On Fri, Jul 23, 2010 at 2:42 PM, Rainer M Krug <r.m.krug at gmail.com
> <mailto:r.m.krug at gmail.com>> wrote:
> 
> On 23/07/2010 14:17, Alaios wrote:
>> I would like to thank you for your immediate reply.
>> Actually I do not like vim and emacs.. I am trying to find an
> editor with a gui
>> that will work fine in Linux.
> Well - you are missing out with not using emacs + ess - but it is quite
> a learning curve. Despite this:
> 
> Try rkward - syntax highlighting and many other nice features.
> 
> Another option: eclipse with statet plugin(
> http://www.walware.de/goto/statet)
> 
> Cheers,
> 
> Rainer
> 
>> One more question. If I am editing a file using my external text
> editor is it
>> possible to execute directly one of the functions that are inside
> the file
>> without executing the source("myfile.R") command first?
> 
>> Best Regards
>> Alex
> 
> 
> 
>> ----- Original Message ----
>> From: Duncan Murdoch <murdoch.duncan at gmail.com
> <mailto:murdoch.duncan at gmail.com>>
>> To: alaios <alaios at yahoo.com <mailto:alaios at yahoo.com>>
>> Cc: r-help at r-project.org <mailto:r-help at r-project.org>
>> Sent: Fri, July 23, 2010 2:13:48 PM
>> Subject: Re: [R] Syntax Highlightning and Editor for Linux
> 
>> On 23/07/2010 8:08 AM, alaios wrote:
>>>  Hello to the community .
>>> First post :)
>>> I would like to ask you which text editor do you use in Linux and
> how did
>>> you setup the syntax highlightning?
>>>
> 
>> I don't use Linux, but I think the most popular editors there are
> vim and emacs,
>> the latter with ESS.
> 
>>> one more question is it possible to debug any program in R by
> inserting
>>> breakpoints?
>>>
>>>
> 
>> Yes, see the setBreakpoint() and trace() functions.
> 
>> Duncan Murdoch
> 
>>> I would like to thank you in advance for your help
>>> Best Regards
>>> Alex
>>>
> 
>> ______________________________________________
>> R-help at r-project.org <mailto:R-help at r-project.org> mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> 
> 

______________________________________________
R-help at r-project.org <mailto:R-help at r-project.org> mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.





- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:        +33 - (0)9 53 10 27 44
Cell:       +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:      Rainer at krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxJoq0ACgkQoYgNqgF2egq8sACffnYZQ0bkWm+bL51UxtG/LRAq
YmgAn1qivOiOOcopqk6CD7FTQqtHVc9I
=2wCL
-----END PGP SIGNATURE-----



More information about the R-help mailing list