base-deprecated {base}R Documentation

Deprecated Functions in Package base

Description

These functions are provided for compatibility with older versions of R only, and may be defunct as soon as the next release.

is.R tests if it is not running under historical dialects of S (including S-PLUS), but cannot exclude other (including future) programs claiming compatibility with R. Its historical definition was

  exists("version") && !is.null(vl <- version$language) && vl == "R"

which always evaluates to TRUE in R.

The 12 as.data.frame.<cls> methods have been informally deprecated already for R 4.3.z (via environment variable R_CHECK_AS_DATA_FRAME_EXPLICIT_METHOD, but also in package checks) and formally from R 4.4.0. They are replaced typically by as.data.frame() or possibly as.data.frame.vector().

Usage

is.R()

as.data.frame.raw     (x, row.names=NULL, optional=FALSE, ..., nm=deparse1(substitute(x)))
as.data.frame.logical (x, row.names=NULL, optional=FALSE, ..., nm=deparse1(substitute(x)))
as.data.frame.integer (x, row.names=NULL, optional=FALSE, ..., nm=deparse1(substitute(x)))
as.data.frame.numeric (x, row.names=NULL, optional=FALSE, ..., nm=deparse1(substitute(x)))
as.data.frame.complex (x, row.names=NULL, optional=FALSE, ..., nm=deparse1(substitute(x)))
as.data.frame.factor  (x, row.names=NULL, optional=FALSE, ..., nm=deparse1(substitute(x)))
as.data.frame.ordered (x, row.names=NULL, optional=FALSE, ..., nm=deparse1(substitute(x)))
as.data.frame.Date    (x, row.names=NULL, optional=FALSE, ..., nm=deparse1(substitute(x)))
as.data.frame.difftime(x, row.names=NULL, optional=FALSE, ..., nm=deparse1(substitute(x)))
as.data.frame.POSIXct (x, row.names=NULL, optional=FALSE, ..., nm=deparse1(substitute(x)))
as.data.frame.noquote (x, row.names=NULL, optional=FALSE, ..., nm=deparse1(substitute(x)))
as.data.frame.numeric_version(x, row.names=NULL, optional=FALSE, ...,
                              nm=deparse1(substitute(x)))

Details

Deprecated functions in standard packages other than the base package are listed in help("pkg-deprecated"), where ‘⁠pkg⁠’ is replaced by the name of the package.

See Also

Deprecated


[Package base version 4.4.1 Index]