@itemize @w{} Changes/New Features in 5.14: @itemize @bullet @item @ESS{[BUGS/JAGS]}: Batch BUGS is back! For recent OpenBUGS versions, 3.0.8+, a batch BUGS script is once again available, but for Linux only. Therefore, since it seems that BUGS and JAGS must co-exist (rather than a transition from BUGS to JAGS), .bug files are now in @ESS{[BUGS]} mode and .jag files are in @ESS{[JAGS]} mode. @ESS{[BUGS]} now works like @ESS{[JAGS]} rather than the original mode @ESS{[BUGS]} mode which was difficult to maintain. Although, @ESS{[BUGS]} appears to work, there still may be some features missing as well as bugs. @item @ESS{[R]}: New customizable variable @code{ess-swv-plug-into-AUCTeX-p} Commands to Sweave current file and LaTeX the result are now available to AUCTeX users, if this variable is set to @code{t}. @item @ESS{[S]}: @kbd{C-c C-c} (@code{ess-eval-function-or-paragraph-and-step}) is now skipping over comments as the other paragraph functions do. It (and similar functions) should no longer wrongly find @samp{function()} beginnings inside comments or strings. @item @ESS{[SAS]}: improved by better support for GNU Emacs @end itemize Changes/New Features in 5.13: @itemize @bullet @item @ESS{[R]}: On Windows, for R 2.12.0 and later, the Rterm executables (in subdirectories i386 / x64) now are found as well as for earlier R versions. @item @ESS{[S+]}: on Windows, both 32- and 64-bit versions of S+ (``S-PLUS'') are found now and made available on the menu. @item @ESS{[R]}: When prompting for a starting directory, the R version is (always?) correct now. @item @ESS{[R]}: on non-Windows platforms, the @code{use-dialog-box} variable is no longer temporarily changed (to @code{nil} for R-x.y.z version functions and to @code{t} for @command{R} itself), but rather the user customization is obeyed. @item @ESS{[R]}: more Roxygen improvements. @item `Rd-preview-help' now generates preview buffers with navigation facilities the same as regular help buffers. @item @ESS{}: New functions and keys C-c [up] / [down] for evaluating the buffer ``from beginning till here''. @end itemize Changes/New Features in 5.12: @itemize @bullet @item @ESS{[SAS]} Font-locking: update of PROCs keywords (up to SAS 9.22); error/warnings. @item @ESS{[R]}: Roxygen improvements: S4 classes; also optionally keep spaces when filling arguments @item @ESS{[Rd]}: support new keywords: section-name \subsection plus a dozen ``new'' keywords; should match R 2.12.x now. @item @command{ess-display-help-on-object} (@kbd{C-c C-v}) now @emph{caches} the list of topics, thus speeding up the improvement feature introduced in 5.9. @end itemize Changes/New Features in 5.11: @itemize @bullet @item Filename completion within buffers now adds only trailing characters to complete the filename, rather than expanding to an absolute file path. This filename completion is bound to the TAB key. @item @kbd{M-n P} in Sweave buffers now prompts for the command to run instead of using @command{pdflatex} unconditionally, offering completion from customizable collection @code{ess-swv-pdflatex-commands}, the first of which is taken as default and that defaults to @command{texi2pdf}. @item @kbd{M-RET} is now also bound in S language (R and S+) buffers to @command{ess-use-this-dir}. It sends @code{setwd(..)} to the S process to set the working directory to the one of the source file. @end itemize Changes/New Features in 5.10: @itemize @bullet @item @kbd{M-RET} in *S* buffers is now bound to @code{ess-dirs}. This function will set Emacs's current directory to be the same as the *S* process. This is useful if you use @code{setwd()} within a *S* process. @end itemize Changes/New Features in 5.9: @itemize @bullet @item Toolbar: The toolbar now has an icon for starting Splus. @item Indentation: New documentation and code has been added to make it easier to change how ESS indents code. In particular, see @code{ess-default-style}, @code{ess-own-style-list} and the documention subsection ``Changing indentation styles''. @item @command{ess-display-help-on-object} (@kbd{C-c C-v}) now offers completion candidates for help file aliases, in addition to object names. @item Font locking: is now turned on even without @command{window-system} is @code{nil}, whenever @var{ess-font-lock-mode} is non-nil, i.e., by default. @item @ESS{} script editing: ess-eval-deactivate-mark default is now t, as suggested by Leo Alekseyev and subsequent ``unanimous'' ESS-help discussion. @item @ESS{[R]}: Editing support for ``#!'' (Rscript / littler) editing, thanks to Jeffrey Arnold. @item @ESS{[R]}: Now finds all R versions, both 64-bit and 32-bit, on some 64-bit Windows machines. Please report back to ess-core success or failure on your 64-bit Windows machine. @item ESS Manual now more visually pleasing; @uref{http://ess.r-project.org/Manual/ess.html} @item @ESS{[R]}: Roxygen on XEmacs no longer font locks for now (as it required missing features and hence broke ESS startup, there). @item @ESS{[R]}: Roxygen has a sub-menu on the [ESS] menu. @item @ESS{[R]}: Function @command{ess-rutils-htmldocs} in @file{ess-rutils.el} offers an alternative to @code{help.start()} for navigating R documentation, using the @command{browse-url} Emacs function. @end itemize Changes/New Features in 5.8: @itemize @bullet @item @ESS{[R]}: New @file{ess-rutils.el} with utilities for listing, loading, installing, and updating packages, as well as object manipulation (listing, viewing, and deleting). It also provides an alternative to @code{RSiteSearch()} that uses the @command{browse-url} function, so results can be viewed in an Emacs web browser. @item @ESS{[R]}: much more extensive Roxygen interface, via ess-roxy.el from Henning Redestig. Ess-roxy supports filling of roxygen fields, generation and updating roxygen templates, completion of roxygen tags, basic navigation (marking and moving between entries), folding using hs-minor-mode and preview of the Rd file. @item Emacs lisp files have got better names (partly, for now). @end itemize Changes/New Features in 5.7: @itemize @bullet @item @ESS{[R]}: loading a source file (@kbd{C-c C-l}) now works in Windows, similarly to other platforms; (further; it had accidentally been broken in ESS 5.6 on all platforms) @end itemize Changes/New Features in 5.6: @itemize @bullet @item @ESS{[R]}: help() calls have to differ from old default, with newer versions of R; currently via .help.ESS <- function(...) hack. @end itemize Changes/New Features in 5.4: @itemize @bullet @item @ESS{[SAS]}: The long overdue change from @code{make-regexp} to @code{regexp-opt} for font-locking is complete. The new @code{regexp-opt} is now the default since it is better than the old code in many ways (and especially more maintainable). However, there are certainly some special cases missed (bug reports and patches welcome!). Setting @code{ess-sas-run-regexp-opt} to @code{nil} will result in the old code being used. @item @ESS{[BUGS]} and @ESS{[JAGS]}: typing @code{=} now results in @code{<-}. @item @ESS{[R]} function arguments ``show'' @code{(ess-r-args-show)} now uses the new @code{(tooltip-show-at-point)} contributed by Erik Iverson. @item Toolbar icons now also work in (beta) Emacs 23. @item @ESS{[S]}: New function @code{ess-change-directory} for setting both emacs' current directory and the directory of an *R* or *S* buffer. @item @ESS{[S]} when transient-mark-mode is true, the mark is now kept, rather than deactivated, thanks to a patch from David Reitter. @end itemize Changes/New Features in 5.3.11: @itemize @bullet @item @ESS{[SAS]}: work around bug in Emacs 22.2 & 22.3 which fails to set case-fold fontification automatically. @item Rd mode: support new keyword 'Rdversion' @item @ESS{[R]}: now again works with Emacs 21.x @end itemize Changes/New Features in 5.3.10: @itemize @bullet @item Fixed noweb-mode bug accidentally introduced into 5.3.9 @item In noweb-mode, e.g., Rnw-mode, electric ``<'' also inserts closing ``@@". Further, the code chunk boundaries are better kept up-to-date, such that code[R] <-> text[LaTeX] minor mode switching should happen more reliably. @item In noweb-mode, fix a buglet in rare [Enter] or [Tab] behavior; further, by default disable the former `[[' .. `]]' code-protection-when-filling behavior which has been found to be buggy. @end itemize Changes/New Features in 5.3.9: @itemize @bullet @item @ESS{[SAS]}: evince PDF viewer now supported as well; search order: evince, Xpdf, Adobe/Acrobat Reader @item @ESS{[R]}: added support for Roxygen, potentially to be extended. @item @ESS{[S]} (and R): inferior (@code{*R*}) and transcript modes no longer fontify language keywords (such as @code{for}, @code{in}, etc). @item @iESS{[Stata]}: Customize the @code{ess-sta-delimiter-friendly} setting to @code{t} to convert embedded semi-colons to newlines for Stata processing. @item Sweave fix for embedded blanks in PDF reader and PDF files @item Several fixes for Major Mode Convention violations in @code{ess-mode} and @code{noweb-mode}. @item @ESS{[JAGS]}: @code{M-x comment-region} now available! @item @ESS{[S]} The @code{ess-swv-*} commands (and keybindings) are now in a submenu of the ``Noweb'' menu, when editing Sweave files. @end itemize Changes/New Features in 5.3.8: @itemize @bullet @item @ESS{[JAGS]}: more separation from @ESS{[BUGS]} (as much as is currently planned); now @kbd{C-c C-c} on an empty @file{.jmd} creates a template as it should; symbolic links are created for CODA output so BOA is happy: from @file{index.txt} to @file{.ind} and @file{chain#.txt} to @file{#.out} @item @ESS{[SAS]}: buffer-local @code{ess-sas-submit-command} and @code{ess-sas-submit-command-options} now recognized by @code{ess-sas-submit-region} @item @ESS{[S]}: When trying to evaluate code in an S language buffer and there is no associated process, now start R automatically instead of signalling an error. Also, restart R if there is an associated process which is not running. However, do not start R just via the ``electric'' @kbd{(} (@code{ess-r-args-auto-show}). @item @ESS{[S]}: For (one-line) functions withOUT '@{ .. @}' bodys, the end of function is now correctly found more often. This notably improves @kbd{C-c C-c} (@code{ess-eval-function-or-paragraph-and-step}). @item @ESS{[JAGS]}: cleanup/re-organization of elisp code; symbolic links for CODA output are now only created by the new JAGS @code{system} command in version 1.0.3; specify whether this command is available via @code{ess-jags-system}; if not present, then no links are created so that the @code{*shell*} buffer does not become unresponsive during the batch run @end itemize Changes/New Features in 5.3.7: @itemize @bullet @item @ESS{}: @code{ess-default-style} now *is* customizable, i.e., changing its value in @file{~/.emacs} now does have the desired effect. @item @ESS{}: @code{ess-font-lock-mode} is a new variable (default: t) which controls whether font-locking is enabled in ESS buffers. @item @ESS{[R]}: for XEmacs on Windows; another tweak to find R versions @item @ESS{[SAS]}: font-locking updated for ODS and SAS Bayesian Procedures; a more consistent handling of SAS options by @code{ess-sas-submit-command-options} which is buffer-local; portable snooze for MS Windows via customize-able @code{ess-sleep-for} (floats welcome); Xpdf now supported as a PDF viewer @item @ESS{[Rnw]}: now also works with ``emacs -nw'' and Emacs 22. @item @ESS{[JAGS]}: now requires JAGS 1.0 (see the new ESS for JAGS help section for more information): both need work; suggestions welcome @item @ESS{[R]}: [TAB] completion now uses the R-internal completion mechanism (for R >= 2.5.0). @item @ESS{[R], [S]}: interpretation of ``_'' as assignment has been removed in @code{ess-continued-statement-p} for R and S. @item several internal code cleanups. @item @ESS{[R]}: An experimental version of a new command @code{Rgui} on MS Windows to send lines directly from emacs to @code{Rgui} is available in file @code{lisp/essd-rgui.el}. Preliminary documentation is in file @code{doc/rgui-doc.txt}. @end itemize Changes/New Features in 5.3.6: @itemize @bullet @item @ESS{}: for XEmacs, using ``gnuclient'' (without a ``-q'') works for things like fix() after M-x gnuserv-start has been done. @item @ESS{[R]}: M-x R-newest should now work in more situations on MS Windows, e.g., when R has been installed in a non-default "ProgramFiles" directory tree. In these cases, there's no need to specify the name (and full path) of the R program anymore. @item @ESS{[R]}: For XEmacs, startup (with new tooltip code) works again. @end itemize Changes/New Features in 5.3.5: @itemize @bullet @item @ESS{[R]} a new defun is available, @kbd{M-x R-newest}, which will start the newest version of R that it can find on your system. @item @ESS{[R]} add Sven Hartenstein's ``R function arguments tips'' functionality, via new file @file{../lisp/essd-r-args.el}. Note that this includes an ``electric "("'' behavior inside @code{R-mode} which is @emph{active by default} and can be customized via @code{ess-r-args-electric-paren}; i.e., use @code{(setq ess-r-args-electric-paren nil)} to turn it off. Further, @code{ess-r-args-show-as} allows to switch to the ``tooltip'' mode. @item @ESS{}: functions @code{ess-get-pdf-viewer} and *-ps-viewer; built on new customizable variables @code{ess-pdf-viewer-pref} and @code{ess-ps-viewer-pref}; currently used in @code{ess-swv-PDF} and @code{*-PS}. @item @ESS{[R]} Improved @code{ess-swv-PDF} to run pdf viewer only if pdflatex was ok @item @ESS{[R]} Improved @code{ess-swv-weave} to start R automatically if none is running. @item @ESS{}: Do no longer ask @emph{which} ESS process to use if there is only one. @end itemize Changes/New Features in 5.3.4: @itemize @bullet @item @ESS{[R]} now better work with options(error=recover); and the new default of CHM help files on windows. @item @ESS{[R]} some more cleanup in the ``sweave'' functions @item miscellaneous fixes @end itemize Changes/New Features in 5.3.3: @itemize @bullet @item @ESS{[S]} fix buglet (5.3.2 only) which left command prompt in ``execute buffer'' and hence help files. @item new customizable variable @code{ess-display-buffer-reuse-frames} set to true (which changes default behavior) such that execution or help *frames* are reused. @end itemize Changes/New Features in 5.3.2: @itemize @bullet @item Classic BUGS now supported by @code{(require 'essd-bugs)} with @ESS{[BUGS]} and JAGS by @code{(require 'essd-jags)} with @ESS{[JAGS]}. But, only one of them can be used at a time since they don't play nice together. Also, @kbd{C-c C-c} is now bound to the function @code{ess-bugs-next-action} (@kbd{F12} has been retired). And finally, note that @file{essl-bug.el} is deprecated and the replacement is @file{essl-bugs.el}. @item @ESS{[R]} Improved some of the ``Sweave-make'' functions (yet scarcely documented) in @file{ess-swv.el}. @item @ESS{[S]} No longer mess with .Last.value (nor in other ``languages''). @end itemize Changes/New Features in 5.3.1: @itemize @bullet @item See the docs for 2 ways to install @ESS{} for XEmacs @enumerate @item by uncommenting the XEmacs part of Section 1 of @file{Makeconf} and performing @code{make install} @item by unpacking either @file{ess-5.3.1.tgz} or @file{ess-5.3.1.zip} into @file{PREFIX/lib/xemacs/site-packages} on unix or @file{PREFIX\XEmacs\site-packages} on windows @end enumerate @item @ESS{[R]}: fixed bugs so that Rterm.exe can be found by XEmacs @item @ESS{[S]}: @kbd{ess-toggle-S-assign-key} is slightly changed; in particular, the default @code{ess-assign-key} is now @kbd{C-x =}. @item @ESS{[R]}: @kbd{M-x R-site-search} is a new (slightly experimental) utility similar to R's @code{RSiteSearch(..)} but with the advantage of using Emacs' preferred browser, see @code{browse-url-browser-function} @end itemize Changes/New Features in 5.3.0: @itemize @bullet @item @ESS{[BUGS]}: sanely re-format statistical output, @file{.bog}, from scientific notation to numbers rounded with 4 decimal places with @kbd{M-x ess-bugs-sci-round-to-4-dp}. @item The keys for navigating among section headings in help buffers worked, but only for one language per session; they should now work for multiple languages. (They were also broken on Windows machines.) @item @ESS{[S]} long standing buglets in the internal logic for loading lisp code on Windows. Particularly fixed behavior in help mode with S-plus GUI. @item New variable, @code{ess-use-inferior-program-name-in-buffer-name}, which enables using the executable name instead of the dialect name for R. Feature request. @item @ESS{[S]} @kbd{ess-execute-screen-options} now also works correctly when there is more than one window *side-by-side* in the same frame and runs in the correct buffer also when there is more than one S buffer. @item @iESS{[S]} new functions @code{ess-eval-paragraph-and-step} and @code{ess-eval-function-or-paragraph-and-step} are bound to keys @kbd{C-c C-p} and @kbd{C-c C-c} respectively and to the menu in @ESS{}-mode; also bound in the help mode (for evaluating examples). @item @ESS{[S]} new function @code{ess-toggle-S-assign-key} allows to assign the `` <- '' insertion to an arbitrary key. @end itemize @end itemize