Apply conversion script to all *.md files. authored by Alexander Hansen Færøy's avatar Alexander Hansen Færøy
Please see also [wiki:"CodingForTor/CodingInC" CodingForTor/CodingInC] and [wiki:"CodingForTor/LoggingAndDocumentation" CodingForTor/LoggingAndDocumentation] because it is best to follow the guidelines there that may apply to R as well as c. Please see also [CodingForTor/CodingInC](./"CodingForTor/CodingInC") and [CodingForTor/LoggingAndDocumentation](./"CodingForTor/LoggingAndDocumentation") because it is best to follow the guidelines there that may apply to R as well as c.
In addition please: In addition please:
...@@ -7,11 +7,12 @@ In addition please: ...@@ -7,11 +7,12 @@ In addition please:
* use two spaces for indentation, four for following lines, no tabs * use two spaces for indentation, four for following lines, no tabs
* use no trailing whitespace * use no trailing whitespace
You may find the following helpful to place in your .emacs This is derived from [[BR]]https://cran.r-project.org/doc/manuals/R-ints.html#R-coding-standards You may find the following helpful to place in your .emacs This is derived from
https://cran.r-project.org/doc/manuals/R-ints.html#R-coding-standards
Note that I would love to not make it indent so far for continued expressions, but I don't know how to do this. I have read through the elisp for emacs ess mode, but as far as I can tell the indent functions would have to be rewritten to support this. Note that I would love to not make it indent so far for continued expressions, but I don't know how to do this. I have read through the elisp for emacs ess mode, but as far as I can tell the indent functions would have to be rewritten to support this.
{{{ ```
(add-hook 'ess-mode-hook (add-hook 'ess-mode-hook
(lambda () (lambda ()
(setq 'c-basic-offset 4) (setq 'c-basic-offset 4)
...@@ -23,4 +24,4 @@ Note that I would love to not make it indent so far for continued expressions, b ...@@ -23,4 +24,4 @@ Note that I would love to not make it indent so far for continued expressions, b
(setq ess-nuke-trailing-whitespace-p t) (setq ess-nuke-trailing-whitespace-p t)
) )
) )
}}} ```
\ No newline at end of file \ No newline at end of file