Load required packages like data.table, collapse, ggplot2, dplyr, svMisc, ...
to get a fully functional SciViews::R
dialect environment.
Usage
R(..., lang = NULL, dtx = NULL, threads.percent = 75, silent = TRUE)
# S3 method for SciViews_R
print(x, ...)
Arguments
- ...
Further topics to include to configure R (load more packages). Currently,
"infer"
,"model"
,"explore"
,"ml"
,"ts"
or"spatial"
- lang
What is the default natural language to use, e.g.,
"en"
or"fr"
, with uppercase versions"EN"
or"FR"
convert even more strings, for instance,data.io::read()
does not convert factor levels in the corresponding language for supported data sets unless the uppercase version is specified. IfNULL
(by default), current configuration is not changed.- dtx
Which dtx object is to be used be default?
"dtt"
or"data.table"
for data.table,"dtf"
or"data.frame"
for data.frame,"dtbl"
,"tibble"
or"tbl_df"
for tibble's tbl_df, the name of a function to use to convert a data.frame object, orNULL
(by default) to keep current settings.- threads.percent
The percentage of threads to use for {data.table} and {collapse} parallel code (number of threads depend on how many are available, and the value is rounded towards zero).
- silent
If
TRUE
(by default), no report is printed about loaded packages and conflicts.- x
An object to print.
Note
Use SciViews::R
instruction in the beginning of an R script, or in
the setup or first chunk of an R Markdown/Notebook to ensure the SciViews::R
dialect is correctly installed. The report indicating attached packages and
conflicts is largely inspired by the corresponding tidyverse
code,
written by Hadley Wickham.