Last chance! 50% off unlimited learning
Sale ends in
R.Version()
provides detailed information about the version of
R running. R.version
is a variable (a list
) holding this
information (and version
is a copy of it for S compatibility).
R.Version()
R.version
R.version.string
version
R.Version
returns a list with character-string components
"i586-unknown-linux"
or "i386-pc-mingw32"
.
"Alpha"
)"unknown"
or a single number. (A range of numbers or a number
with M or S appended indicates inconsistencies in the
sources used to build this version of R.)
"R"
.character
string concatenating some of the info above,
useful for plotting, etc.R.version
and version
are lists of class
"simple.list"
which has a print
method.
sessionInfo
which provides additional information;
getRversion
typically used inside R code,
.Platform
.
require(graphics)
R.version$os # to check how lucky you are ...
plot(0) # any plot
mtext(R.version.string, side = 1, line = 4, adj = 1) # a useful bottom-right note
Run the code above in your browser using DataLab