Skip to content

R editor that will work with Rcmdr

12 messages · John Sorkin, Peter Dalgaard, John Fox +5 more

#
R 2.8.1
Windows XP
Fedora Linux.

I would like a suggestion for an editor that will help format my R code that can be used with Rcmdr. Is there anything I need to know about running or installing an editor when using Rcmdr? I run R on both Windows and Linux (Fedora).
Thank you,
John


John David Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing)

Confidentiality Statement:
This email message, including any attachments, is for th...{{dropped:6}}
#
Dear John,

I'm not entirely sure what you have in mind. Any editor or IDE that
communicates with the R process and is compatible with the tcltk package
will work in parallel with the Rcmdr. That is, when you submit R code from
the editor, it will go directly to R and not to the Rcmdr script window. 

Regards,
 John
On
that
#
John Fox wrote:
One fun prospect would be to integrate the "Ctext" widget as the
built-in script editor. Some assembly required though.

	-p

  
    
#
Dear Peter,

I've resisted trying to make the script window a full-fledged editor but it's been moving in that direction (right-click context menu, line wrapping, etc). I don't think that the Ctext widget is currently provided via the tcltk package. I still think that people who want a real programming editor are better off not using the Rcmdr for that purpose.

Best,
 John
#
Peter,
I see that you do not think Rcmdr should be used to as a program editor
for R code. I understand that modifying Rmcdr to make it an editor would
be an enormous undertaking, nevertheless, having a program editor that
works with Rcmdr would be a wonderful addition to what is already an
outstanding package. It would be nice to know that my R code was
automatically formatted as I enter it into Rcmdr.
John  

John David Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing)
Dear Peter,

I've resisted trying to make the script window a full-fledged editor
but it's been moving in that direction (right-click context menu, line
wrapping, etc). I don't think that the Ctext widget is currently
provided via the tcltk package. I still think that people who want a
real programming editor are better off not using the Rcmdr for that
purpose.

Best,
 John
that
package
code from
window.
[mailto:r-help-bounces at r-project.org]
code
running or
Linux
faxing)
...{{dropped:10}}

            
35327918
35327907




Confidentiality Statement:
This email message, including any attachments, is for th...{{dropped:6}}
#
Dear John,

If you tell me what you want to happen, I'll consider it when I next make substantial revisions to the package in the summer. I'm still sceptical about using the Rcmdr as a programming editor; among other things, it doesn't provide a true R console.

Regards,
John
#
John Sorkin <jsorkin <at> grecc.umaryland.edu> writes:
can be used with Rcmdr. Is there
Rcmdr? I run R on both Windows and
Hi John,
there can be problems using either of these in conjunction with Rcmdr under
Windows.  From John Fox's own 'An Introduction to ESS + XEmacs for Windows
Users of R': "The Rcmdr package does not run reliably under XEmacs/ESS for
Windows."  On Windows XP at least, this still seems to be the case - for me it
always ends up crashing R.  
Under Windows, Tinn-R and Notepad++ with NppToR
(http://sourceforge.net/projects/npptor/) work fine alongside Rcmdr, but both of
them are Windows only.  Other IDEs such as Eclipse I haven't tested.

Hope this is helpful,

Michael Bibo
Queensland Health
#
Dear Michael,

For what it's worth, I develop the Rcmdr under Eclipse, and it works fine
with Eclipse -- both under Windows and under Mac OS X. Of the IDEs that I've
used with R, I'm most impressed with Eclipse/StatET, but configuration is
non-trivial and documentation is sparse.

I have a little experience with the Rcmdr under Emacs (as opposed to XEmacs)
on Windows, and that too seems to work.

Regards,
 John
On
Linux,
under
me
both
http://www.R-project.org/posting-guide.html
#
Hi,

I also use R under Eclipse/StatET. I found the following doc really
useful:

http://www.splusbook.com/Rintro/R_Eclipse_StatET.pdf

Regards

Alain
212-449-4894



-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of John Fox
Sent: Friday, March 06, 2009 10:31 AM
To: 'Michael Bibo'
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] R editor that will work with Rcmdr


Dear Michael,

For what it's worth, I develop the Rcmdr under Eclipse, and it works
fine
with Eclipse -- both under Windows and under Mac OS X. Of the IDEs that
I've
used with R, I'm most impressed with Eclipse/StatET, but configuration
is
non-trivial and documentation is sparse.

I have a little experience with the Rcmdr under Emacs (as opposed to
XEmacs)
on Windows, and that too seems to work.

Regards,
 John
[mailto:r-help-bounces at r-project.org]
On
code
using
Linux,
under
Windows
for
for
me
but
both
http://www.R-project.org/posting-guide.html
______________________________________________
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.

--------------------------------------------------------------------------
This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. References to "Merrill Lynch" are references to any company in the Merrill Lynch & Co., Inc. group of companies, which are wholly-owned by Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this E-communication may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing.
--------------------------------------------------------------------------
2 days later
#
Thanks for posting this.  I've never used Eclipse before but this
document inspired me to give it a try.  Unfortunately, it's a little
out of date, but I think that I finally got it to work.  In case
anyone else would like to try this, I put a PDF of my notes online at:

http://www.gofsharp.com/R/Setting_up_Eclipse_with_R.pdf

Thanks again,

Dan Viar
Chesapeake, VA


On Fri, Mar 6, 2009 at 11:43 AM, Ledon Wong, Alain (Portfolio
Analytics) <Alain_LedonWong at ml.com> wrote:
10 days later
#
Thank you both, Daniel and Alain. I tried eclipse as well and it seems 
as if the combination with eclipse and StatEt was exactly what I was 
looking for.

Regards,
Jannis

Am 08.03.2009 22:05, schrieb Tal Galili: