2022-03-28 15:03:21 +02:00
|
|
|
#+title: :lang ess
|
|
|
|
#+subtitle: 73.6% of all statistics are made up
|
|
|
|
#+created: February 05, 2018
|
|
|
|
#+since: 21.12.0 (#410)
|
2018-02-10 15:11:36 -05:00
|
|
|
|
2021-10-16 01:28:32 +02:00
|
|
|
* Description :unfold:
|
2018-02-10 15:11:36 -05:00
|
|
|
This module adds support for various statistics languages, including R, S-Plus,
|
|
|
|
SAS, Julia and Stata.
|
|
|
|
|
2021-10-16 01:28:32 +02:00
|
|
|
** Maintainers
|
|
|
|
/This module has no dedicated maintainers./ [[doom-contrib-maintainer:][Become a maintainer?]]
|
|
|
|
|
|
|
|
** Module flags
|
|
|
|
- +stan ::
|
|
|
|
Enable support for ~stan-mode~, including code completion and syntax checking.
|
2022-12-04 03:12:02 +00:00
|
|
|
- +tree-sitter ::
|
|
|
|
Leverages tree-sitter for better syntax highlighting and structural text
|
|
|
|
editing. Currently only supports ~ess-r-mode~. Requires [[doom-module::tools tree-sitter]].
|
2021-10-16 01:28:32 +02:00
|
|
|
|
|
|
|
** Packages
|
2022-09-26 02:19:42 +08:00
|
|
|
- [[doom-package:ess]]
|
|
|
|
- [[doom-package:ess-R-data-view]]
|
|
|
|
- [[doom-package:polymode]]
|
|
|
|
- [[doom-package:poly-R]]
|
|
|
|
- if [[doom-module:+stan]]
|
|
|
|
- [[doom-package:company-stan]] if [[doom-module::completion company]]
|
|
|
|
- [[doom-package:eldoc-stan]]
|
|
|
|
- [[doom-package:flycheck-stan]] if [[doom-module::checkers syntax]]
|
|
|
|
- [[doom-package:stan-mode]]
|
2021-10-16 01:28:32 +02:00
|
|
|
|
|
|
|
** Hacks
|
|
|
|
/No hacks documented for this module./
|
|
|
|
|
|
|
|
** TODO Changelog
|
|
|
|
# This section will be machine generated. Don't edit it by hand.
|
|
|
|
/This module does not have a changelog yet./
|
|
|
|
|
|
|
|
* Installation
|
|
|
|
[[id:01cffea4-3329-45e2-a892-95a384ab2338][Enable this module in your ~doom!~ block.]]
|
2018-02-10 15:11:36 -05:00
|
|
|
|
2020-02-02 12:00:36 +09:00
|
|
|
This module has several optional dependencies:
|
2020-02-01 17:06:15 +09:00
|
|
|
|
2021-10-16 01:28:32 +02:00
|
|
|
- [[https://github.com/jimhester/lintr][lintr]]: for R linting.
|
2022-09-26 02:19:42 +08:00
|
|
|
- [[https://github.com/REditorSupport/languageserver][languageserver]]: for LSP support in an R buffer (with [[doom-module:+lsp]] flag).
|
2021-10-16 01:28:32 +02:00
|
|
|
|
|
|
|
* TODO Usage
|
|
|
|
#+begin_quote
|
|
|
|
🔨 /This module's usage documentation is incomplete./ [[doom-contrib-module:][Complete it?]]
|
|
|
|
#+end_quote
|
|
|
|
|
|
|
|
** :map ess-doc-map
|
2018-02-06 02:18:49 +08:00
|
|
|
| key | command |
|
|
|
|
|-----+----------------------------|
|
|
|
|
| "h" | ess-display-help-on-object |
|
|
|
|
| "p" | ess-R-dv-pprint |
|
|
|
|
| "t" | ess-R-dv-ctable |
|
2021-10-16 01:28:32 +02:00
|
|
|
|
|
|
|
** :map ess-mode-map
|
2018-02-06 02:18:49 +08:00
|
|
|
| key | command |
|
|
|
|
|--------------+-----------------------|
|
|
|
|
| "<s-return>" | ess-eval-line |
|
|
|
|
| "<up>" | comint-next-input |
|
|
|
|
| "<down>" | comint-previous-input |
|
2021-10-16 01:28:32 +02:00
|
|
|
|
|
|
|
** :localleader
|
2018-02-06 02:18:49 +08:00
|
|
|
| state | key | command |
|
|
|
|
|-------+-------------+---------------------------------------------------|
|
|
|
|
| :nv | "," | ess-eval-region-or-function-or-paragraph-and-step |
|
|
|
|
| :n | "'" | R |
|
|
|
|
| :n | "<tab>" | ess-switch-to-inferior-or-script-buffer |
|
|
|
|
| :n | "<backtab>" | ess-switch-process |
|
|
|
|
| :n | "B" | ess-eval-buffer-and-go |
|
|
|
|
| :n | "b" | ess-eval-buffer |
|
|
|
|
| :nv | "d" | ess-eval-region-or-line-and-step |
|
|
|
|
| :n | "D" | ess-eval-function-or-paragraph-and-step |
|
|
|
|
| :n | "L" | ess-eval-line-and-go |
|
|
|
|
| :n | "l" | ess-eval-line |
|
|
|
|
| :nv | "R" | ess-eval-region-and-go |
|
|
|
|
| :nv | "r" | ess-eval-region |
|
|
|
|
| :n | "F" | ess-eval-function-and-go |
|
|
|
|
| :n | "f" | ess-eval-function |
|
|
|
|
| :n | "h" | ess-doc-map |
|
|
|
|
| :n | "x" | ess-extra-map |
|
|
|
|
| :n | "p" | ess-r-package-dev-map |
|
|
|
|
| :n | "v" | ess-dev-map |
|
|
|
|
| :n | "cC" | ess-eval-chunk-and-go |
|
|
|
|
| :n | "cc" | ess-eval-chunk |
|
|
|
|
| :n | "cd" | ess-eval-chunk-and-step |
|
|
|
|
| :n | "cm" | ess-noweb-mark-chunk |
|
|
|
|
| :n | "cp" | ess-noweb-previous-chunk |
|
|
|
|
| :n | "cn" | ess-noweb-next-chunk |
|
2021-10-16 01:28:32 +02:00
|
|
|
|
|
|
|
* TODO Configuration
|
|
|
|
#+begin_quote
|
|
|
|
🔨 This module has no configuration documentation yet. [[doom-contrib-module:][Write some?]]
|
|
|
|
#+end_quote
|
|
|
|
|
|
|
|
* Troubleshooting
|
|
|
|
/There are no known problems with this module./ [[doom-report:][Report one?]]
|
|
|
|
|
|
|
|
* Frequently asked questions
|
|
|
|
/This module has no FAQs yet./ [[doom-suggest-faq:][Ask one?]]
|
|
|
|
|
|
|
|
* TODO Appendix
|
|
|
|
#+begin_quote
|
|
|
|
🔨 This module has no appendix yet. [[doom-contrib-module:][Write one?]]
|
|
|
|
#+end_quote
|