All options can be set with options(option.name = option.value)
or
with special functions (see below). You can get value of option with
getOption("option.name").
expss.digits
Number of digits after decimal separator which
will be shown for tables. This parameter is supported in the
datatable, htmlTable.etable and print
methods. NULL
is default and means one digit. NA
means no
rounding. There is convenience function for this option:
expss_digits
.
expss.enable_value_labels_support
By default, all labelled
variables will use labels as labels for factor levels when factor is
called. So any function which calls factor/as.factor will use
value labels. In details this option changes behavior of two methods for
class labelled
- as.character
and unique
- on which
factor
depends entirely. If you have compatibility problems set this
option to zero: options(expss.enable_value_labels_support = 0)
. There
are shortcuts for these options: expss_enable_value_labels_support()
and expss_disable_value_labels_support()
.
expss.output
By default tables are printed in the console.
You can change this behavior by setting this option. There are four possible
values: 'rnotebook'
, 'viewer'
, 'commented'
or
'raw'
. First option is useful when you run your code in the R Notebook
- output will be rendered to nice HTML. The second option will render tables
to RStudio viewer. knitr
is supported automatically via
knit_print
method. 'commented'
prints default output to the
console with comment symbol (#
) at the beginning of the each line.
With comment symbol you can easily copy and paste your output into the
script. Option raw
disables any formatting and all tables are printed
as data.frames. Shortcuts for options: expss_output_default()
,
expss_output_raw()
, expss_output_viewer()
,
expss_output_commented()
and expss_output_rnotebook()
.
expss_digits(digits = NULL)get_expss_digits()
expss_enable_value_labels_support()
expss_disable_value_labels_support()
expss_output_default()
expss_output_commented()
expss_output_raw()
expss_output_viewer()
expss_output_rnotebook()
integer. Number of digits after decimal point. NULL
is
default and means 1 digit. NA
means no rounding.