DescTools (version 0.99.15)

SysInfo: System Information And DescTools Options

Description

SysInfo is a convenience function to compile some information about the computing system and environment used.

Usage

SysInfo()
FindRProfile()
DescToolsOptions(default = FALSE)

Arguments

default
logical, if set to TRUE the DescTools options will be reset to their default values.

Value

  • character string with all version and system information of the current R system

Details

The function SysInfo is mainly used to save the system environment information in ncdf files containing the results of some calculations. FindRProfile returns path candidates where the profile could be found. Options There are a few options for the graphical output that can be set. DescToolsOptions displays the currently defined options. 1) Footnotes In some tables there are footnote signs used. They're named footnote1, footnote2 and can be changed with e.g. options("footnote1"="*"). Any character can be defined here. 2) plotit The option plotit can be used to make the Desc-procedures produce plots by default. Set: options(plotit=TRUE). Valid values are TRUE and FALSE. 3) Colors Three colors, that are used in many places can be set as options too. The options are col1, col2 and col3. By default they're set to hred, hblue and horange. Change the values by defining options(col1="pink", col2="blue", col2="yellow"). Any color definition can be used here. 4) Format Two format definitions are currently used in the Desc routines. For integer values there's a format named "fmt.abs" and for percentages one named "fmt.perc". The format definitions must be of class "fmt" and may contain any argument used in the function Format. options(fmt.per=structure(list(digits=3, leading="drop"), class="fmt")) would display percentages as .892 and options(fmt.per=structure(list(digits=1, fmt="%"), class="fmt")) as 89.2% options(fmt.abs=structure(list(digits=0, big.mark="'"), class="fmt")) will display integers as 45'123 5) Language The language for names of weekdays and months can be set via option(lang="local") to either "local" or "engl". 6) Stamp The option(lang="stamp") can be set if plots should be stamped by default in the right bottom corner with some author or date information.