.. reproducible research tutorial file, created by ARichards Editors ======= What is a text editor? ------------------------------- An editor is a `text editor `_ that is used to write computer code. If you do not already have a favorite text editor we have created on :doc:`lpEdit ` as it was written by our team and designed exactly for the purposes of :doc:`literate programming `. If you are only interested in using R and :math:`\textrm{\LaTeX}` then install `RStudio `_. Otherwise if you are looking for a bit more flexibility there are plenty of other editors out there. Alternative editors that may be useful are the easy-to-use versions of `Emacs `_. For Windows and GNU/Linux this is `XEmacs `_ and in the OS X world it is `Aquamacs `_. There many are different editors available, just be sure that you understand the distinction between a text editor and a word processor before you select one. XEmacs and Aquamacs are free, open-source, stable and have all the same shortcuts that Windows and OS X users are accustomed to. If you have the time and patience the official version of `Emacs `_, although more difficult to use, is a more powerful text editor than the ported versions. The other commonly used text editor that like Emacs requires a bit of a learning curve is `Vim `_. To use XEmacs ^^^^^^^^^^^^^^^^^^ * Windows users `download XEmacs `_ * OS X users `download Aquamacs `_ * Debian based distro users .. code-block:: none ~$ sudo apt-get install xemacs21 Documentation ^^^^^^^^^^^^^^^^^^ * `XEmacs documentation `_ * For Aquamacs there is a manual in the ``Help Menu`` and a `wiki `_ Getting started ^^^^^^^^^^^^^^^^^^^^ To create a new file click on ``buffers``. Then click on ``Go To Buffer`` and enter the file name. Resources ^^^^^^^^^^^^^ * `Wiki's Comparison of text editors `_