Hi all, I am really new to the R language. I am a long time Matlab and C++ user and I was "forced" to learn R because I am taking a statistics class. I am seeking to reduce the learning curve to as smooth as possible. Are there any addon/plug-in features that can reduce the learning curve, for example, the following features can be very helpful for new learners: 1. Matlab-like command line auto-completion: Matlab has huge amount of command and nobody is able to remember them off the head. So a nice feature of Matlab command line is that I just need to type the first a few letters and then I press "TAB" key, there will be a list of possible commands popping up so I just need to select one. This helps a lot in terms of learning for new comers. A more advanced command auto-completion is Visual C++-like, which is implemented in program editor. It helps a lot while doing programming; 2. A good IDE editor with embedded inline debugger: can be as good as VC++, but also can be as simple as Matlab's debugger, which can breakpoint and trace line-by-line... the editor can do syntax correction, syntax check, syntax highlighting, code formatting, etc. Could you please recommend some good addon/plugins that have the above features? Could you please also suggest some tips/tools/tricks that can help me reduce the learning curve? Thank you very much! Michael. [[alternative HTML version deleted]]
Hello Michael, you might want to utilise Emacs/ESS. ESS provides auto-completion by using <TAB> for a process buffer '*R*' and C-c<TAB> for a source file '*.R' (ess-mode). As far as debugging is concerned, R offers: ?browser ?debug ?trace for example. Additionally, there is a CRAN package named 'debug' available and an article in RNews: Mark Bravington. Debugging without (too many) tears. R News, 3(3):29-32, December 2003, about it. HTH, Bernhard -----Urspr??ngliche Nachricht----- Von: Michael [mailto:comtech.usa at gmail.com] Gesendet: Mittwoch, 25. Januar 2006 09:10 An: R-help at stat.math.ethz.ch Betreff: [R] reducing learning curves? Hi all, I am really new to the R language. I am a long time Matlab and C++ user and I was "forced" to learn R because I am taking a statistics class. I am seeking to reduce the learning curve to as smooth as possible. Are there any addon/plug-in features that can reduce the learning curve, for example, the following features can be very helpful for new learners: 1. Matlab-like command line auto-completion: Matlab has huge amount of command and nobody is able to remember them off the head. So a nice feature of Matlab command line is that I just need to type the first a few letters and then I press "TAB" key, there will be a list of possible commands popping up so I just need to select one. This helps a lot in terms of learning for new comers. A more advanced command auto-completion is Visual C++-like, which is implemented in program editor. It helps a lot while doing programming; 2. A good IDE editor with embedded inline debugger: can be as good as VC++, but also can be as simple as Matlab's debugger, which can breakpoint and trace line-by-line... the editor can do syntax correction, syntax check, syntax highlighting, code formatting, etc. Could you please recommend some good addon/plugins that have the above features? Could you please also suggest some tips/tools/tricks that can help me reduce the learning curve? Thank you very much! Michael. [[alternative HTML version deleted]] ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html ***************************************************************** Confidentiality Note: The information contained in this mess...{{dropped}}
In regards to text editors: If you are a Unix user, I'd recommend Emacs (although it has its own large learning curve.) On Windows I use PSpad (www.pspad.com) because it is easy to use and learn and has some of the features you request: syntax highlighting, code completion, code builder, among many other features I find useful. ~Nick -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Michael Sent: Wednesday, January 25, 2006 12:10 AM To: R-help at stat.math.ethz.ch Subject: [R] reducing learning curves? Hi all, I am really new to the R language. I am a long time Matlab and C++ user and I was "forced" to learn R because I am taking a statistics class. I am seeking to reduce the learning curve to as smooth as possible. Are there any addon/plug-in features that can reduce the learning curve, for example, the following features can be very helpful for new learners: 1. Matlab-like command line auto-completion: Matlab has huge amount of command and nobody is able to remember them off the head. So a nice feature of Matlab command line is that I just need to type the first a few letters and then I press "TAB" key, there will be a list of possible commands popping up so I just need to select one. This helps a lot in terms of learning for new comers. A more advanced command auto-completion is Visual C++-like, which is implemented in program editor. It helps a lot while doing programming; 2. A good IDE editor with embedded inline debugger: can be as good as VC++, but also can be as simple as Matlab's debugger, which can breakpoint and trace line-by-line... the editor can do syntax correction, syntax check, syntax highlighting, code formatting, etc. Could you please recommend some good addon/plugins that have the above features? Could you please also suggest some tips/tools/tricks that can help me reduce the learning curve? Thank you very much! Michael. [[alternative HTML version deleted]] ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Hello, If you work under Windows, you can find a lot of useful tools in SciViews-R (http://www.sciviews.org/SciViews-R) and Tinn-R (http://www.sciviews.org/Tinn-R). For instance, you have: - syntax coloring, - code completion, - calltips (tips displaying the syntax of a function as you type it), - object explorer with lots of useful shortcuts in the object's context menu, - electronic reference cards, - viewing and reproting features, - etc... For a nice, graphical, debugger, look at debug package (you have to install it from CRAN and load it using: > library(debug) Then, try: > ?mtrace Best, Philippe Grosjean Michael wrote:> Hi all, > > I am really new to the R language. I am a long time Matlab and C++ user and > I was "forced" to learn R because I am taking a statistics class. > > I am seeking to reduce the learning curve to as smooth as possible. > > Are there any addon/plug-in features that can reduce the learning curve, for > example, the following features can be very helpful for new learners: > > 1. Matlab-like command line auto-completion: Matlab has huge amount of > command and nobody is able to remember them off the head. So a nice feature > of Matlab command line is that I just need to type the first a few letters > and then I press "TAB" key, there will be a list of possible commands > popping up so I just need to select one. This helps a lot in terms of > learning for new comers. A more advanced command auto-completion is Visual > C++-like, which is implemented in program editor. It helps a lot while doing > programming; > > 2. A good IDE editor with embedded inline debugger: can be as good as VC++, > but also can be as simple as Matlab's debugger, which can breakpoint and > trace line-by-line... the editor can do syntax correction, syntax check, > syntax highlighting, code formatting, etc. > > Could you please recommend some good addon/plugins that have the above > features? > > Could you please also suggest some tips/tools/tricks that can help me reduce > the learning curve? > > Thank you very much! > > Michael. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > >
Keeping this reference card handy might reduce it somewhat: http://www.rpad.org/Rpad/Rpad-refcard.pdf On 1/25/06, Michael <comtech.usa at gmail.com> wrote:> Hi all, > > I am really new to the R language. I am a long time Matlab and C++ user and > I was "forced" to learn R because I am taking a statistics class. > > I am seeking to reduce the learning curve to as smooth as possible. > > Are there any addon/plug-in features that can reduce the learning curve, for > example, the following features can be very helpful for new learners: > > 1. Matlab-like command line auto-completion: Matlab has huge amount of > command and nobody is able to remember them off the head. So a nice feature > of Matlab command line is that I just need to type the first a few letters > and then I press "TAB" key, there will be a list of possible commands > popping up so I just need to select one. This helps a lot in terms of > learning for new comers. A more advanced command auto-completion is Visual > C++-like, which is implemented in program editor. It helps a lot while doing > programming; > > 2. A good IDE editor with embedded inline debugger: can be as good as VC++, > but also can be as simple as Matlab's debugger, which can breakpoint and > trace line-by-line... the editor can do syntax correction, syntax check, > syntax highlighting, code formatting, etc. > > Could you please recommend some good addon/plugins that have the above > features? > > Could you please also suggest some tips/tools/tricks that can help me reduce > the learning curve? > > Thank you very much! > > Michael. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
In addition to the other suggestions you may want to look at JGR (http://www.rosuda.org/JGR/). It does most of what you asked (except debugging, use the debug package for that). -----Original Message----- From: r-help-bounces@stat.math.ethz.ch on behalf of Michael Sent: Wed 1/25/2006 1:09 AM To: R-help@stat.math.ethz.ch Subject: [R] reducing learning curves? Hi all, I am really new to the R language. I am a long time Matlab and C++ user and I was "forced" to learn R because I am taking a statistics class. I am seeking to reduce the learning curve to as smooth as possible. Are there any addon/plug-in features that can reduce the learning curve, for example, the following features can be very helpful for new learners: 1. Matlab-like command line auto-completion: Matlab has huge amount of command and nobody is able to remember them off the head. So a nice feature of Matlab command line is that I just need to type the first a few letters and then I press "TAB" key, there will be a list of possible commands popping up so I just need to select one. This helps a lot in terms of learning for new comers. A more advanced command auto-completion is Visual C++-like, which is implemented in program editor. It helps a lot while doing programming; 2. A good IDE editor with embedded inline debugger: can be as good as VC++, but also can be as simple as Matlab's debugger, which can breakpoint and trace line-by-line... the editor can do syntax correction, syntax check, syntax highlighting, code formatting, etc. Could you please recommend some good addon/plugins that have the above features? Could you please also suggest some tips/tools/tricks that can help me reduce the learning curve? Thank you very much! Michael. [[alternative HTML version deleted]] ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html [[alternative HTML version deleted]]
Michael <comtech.usa <at> gmail.com> writes:> > Hi all, > > I am really new to the R language. I am a long time Matlab and C++ user and > I was "forced" to learn R because I am taking a statistics class. > > I am seeking to reduce the learning curve to as smooth as possible. >This cheatsheet might be helpful for a Matlab user: http://cran.us.r-project.org/doc/contrib/R-and-octave.txt and help.search("keyword") and RSiteSearch("terms of intererst") are very useful in finding tips. [ rest deleted ]
Hi all, Are there any R addon/pluggins with the following feature: (1) command history? even stores the command history many days ago? Like Matlab does? (2) online help? for example, as I see it, the Rcmdr is a good companian for a newbie like me who just touched R for 1.5 days. I can use Rcmdr to guide me to learn the commands to use for data analysis. However, Rcmdr does not have online help reference for R commands. For example, I saw the command "abline" and I want to know how to use it, I have to copy/type it in R-console, and do "?abline" things, so that I can obtain help. But this is troublesome, does any editor offer online-help for commands, so I just need to hover my mouse on "abline" and then press F1 key then a help window will open automatically? Thanks a lot! On 1/25/06, Michael <comtech.usa@gmail.com> wrote:> > Hi all, > > I am really new to the R language. I am a long time Matlab and C++ user > and I was "forced" to learn R because I am taking a statistics class. > > I am seeking to reduce the learning curve to as smooth as possible. > > Are there any addon/plug-in features that can reduce the learning curve, > for example, the following features can be very helpful for new learners: > > 1. Matlab-like command line auto-completion: Matlab has huge amount of > command and nobody is able to remember them off the head. So a nice feature > of Matlab command line is that I just need to type the first a few letters > and then I press "TAB" key, there will be a list of possible commands > popping up so I just need to select one. This helps a lot in terms of > learning for new comers. A more advanced command auto-completion is Visual > C++-like, which is implemented in program editor. It helps a lot while doing > programming; > > 2. A good IDE editor with embedded inline debugger: can be as good as > VC++, but also can be as simple as Matlab's debugger, which can breakpoint > and trace line-by-line... the editor can do syntax correction, syntax check, > syntax highlighting, code formatting, etc. > > Could you please recommend some good addon/plugins that have the above > features? > > Could you please also suggest some tips/tools/tricks that can help me > reduce the learning curve? > > Thank you very much! > > Michael. > > >[[alternative HTML version deleted]]