Шаблон:File — различия между версиями
Материал Psylab.info - энциклопедии психодиагностики
(Новая страница: «<includeonly> <div class="contentbox mw-collapsible" style="border: 1px solid {{{color|#333}}}; background-color: {{{bgcol|#F3F3F3}}}; overflow: auto"> <div class…») |
м |
||
Строка 42: | Строка 42: | ||
</pre> | </pre> | ||
{{file | {{file | ||
− | |subtitle= | + | |subtitle=$HOME/.Rprofile |
|lang=rsplus | |lang=rsplus | ||
|code= | |code= |
Версия 05:33, 17 февраля 2014
Использование
{{file |title=Заголовок |subtitle=Подзаголовок |description=Описание |lang=Язык для подсветки синтаксиса |code=Код }}
Примеры
{{file |subtitle=$HOME/.Rprofile |lang=rsplus |code= # .Rprofile -- commands to execute at the beginning of each R session # # You can use this file to load packages, set options, etc. # # NOTE: changes in this file won't be reflected until after you quit # and start a new session # options(digits = 4) options(digits.secs=3) options(show.signif.stars = FALSE) options(showWarnCalls = TRUE, showErrorCalls = TRUE) utils::rc.settings(ipck = TRUE) }}
Файл
<syntaxhighlight lang="rsplus" enclose="pre"># .Rprofile -- commands to execute at the beginning of each R session
- You can use this file to load packages, set options, etc.
- NOTE: changes in this file won't be reflected until after you quit
- and start a new session
options(digits = 4) options(digits.secs=3) options(show.signif.stars = FALSE) options(showWarnCalls = TRUE, showErrorCalls = TRUE)
utils::rc.settings(ipck = TRUE)</syntaxhighlight>