Defunct Functions in Package base
The functions or variables listed here are no longer part of R as they are no longer needed.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
# Defunct in 1.x Version() provide(package) .Provided category(...) print.anova.glm(.) print.anova.lm(.) print.tabular(.) print.plot(.) save.plot(.) system.test(.) getenv(...) read.table.url(url, method, ...) scan.url(url, file = tempfile(), method, ...) source.url(url, file = tempfile(), method, ...) httpclient(url, port = 80, error.is.fatal = TRUE, check.MIME.type = TRUE, file = tempfile(), drop.ctrl.z = TRUE) parse.dcf(text = NULL, file = "", fields = NULL, versionfix = FALSE) .Alias(expr) print.ordered(.) .Dyn.libs .lib.loc machine() Machine() Platform() restart() printNoClass(x, digits = NULL, quote = TRUE, na.print = NULL, print.gap = NULL, right = FALSE, ...) codes(x, ...) codes(x, ...) <- value # Defunct in 2.0.0 La.eigen(x, symmetric, only.values = FALSE, method = c("dsyevr", "dsyev")) tetragamma(x) pentagamma(x) package.description(pkg, lib.loc = NULL, fields = NULL) # Defunct in 2.2.0 loadURL(url, envir = parent.frame(), quiet = TRUE, ...) delay(x, env = .GlobalEnv) # Defunct in 2.3.0 format.char(x, width = NULL, flag = "-") # Defunct in 2.4.0 La.chol(x) La.chol2inv(x, size = ncol(x)) # Defunct in 2.4.0 symbol.C(name) symbol.For(name) # Defunct in 2.5.0 unix(call, intern = FALSE) # Defunct in 2.8.0 gammaCody(x) # Defunct in 2.9.0 manglePackageName(pkgName, pkgVersion) # Defunct in 2.13.0 .Import(...) .ImportFrom(name, ...) .Export(...) .S3method(generic, class, method) # Defunct in 2.14.0 .First.lib(lib, pkg) # Defunct in 2.15.0 mem.limits(nsize = NA, vsize = NA) .saveRDS(...) .readRDS(...) Sys.putenv(...) # Defunct in 3.0.0 real(length = 0) as.real(x, ...) is.real(x) # Defunct in 3.1.0 .find.package(...) .path.package(...)
Some of these have stubs which report that they are defunct, but most have been removed completely (apart from being documented here).
category has been an old-S function before there were factors;
should be replaced by
The new function
dev.print() should now be used for saving
plots to a file or printing them.
provide and its object
.Provided have been removed.
Their intended purpose was to allow one package to subsume another,
but this was never used.
getenv has been replaced by
*.url are replaced by calling
source on a
httpclient was used by the deprecated
parse.dcf has been replaced by
read.dcf, which is much
faster, but has a slightly different interface.
.Alias provided an unreliable way to create duplicate
references to the same object. There is no direct replacement. Where
multiple references to a single object are required for semantic
reasons consider using environments or external pointers. There are
some notes on https://developer.r-project.org.
.lib.loc were internal variables used for
storing and manipulating the information about packages with DLLs, and
the known R library trees. These are now dynamic variables which one
can get or set using
Platform() were functions returning the
restart() should be replaced by
try(), in preparation
for an exception-based implementation. If you use
a way that cannot be replaced with
try() then ask for help
printNoClass was in package methods and called directly the
codes was almost always used inappropriately. To get the
internal coding of a factor, use
as.integer. For ordered factors,
equivalent to these, but for unordered factors it assumed an
alphabetical ordering of the levels in the locale in use.
La.eigen has become the default for
pentagamma have been replaced by
package.description has been replaced by
packageDescription in package utils.
loadURL has been superseded by
delay has been replaced by
Unevaluated promises should never be visible.
write.table0 was an R-level version of
provided for temporary back-compatibility.
format.char was an auxiliary function for
whose functionality (and more) is provided by
La.chol2inv became the default methods for
symbol.For were provided for
historical compatibility with S.
symbol.C just returns its
argument unchanged, whereas
symbol.For will map to lower case
and append an underscore on those platforms (almost all) which do so
for Fortran symbols. These are no longer of any use in R.
unix was a deprecated (since the 1990s) alternative to
system, available for backwards compatibility with S.
gammaCody was the (Γ) function from the Specfun
package used at C level in the Bessel code. The R-level interface was
here for experimental purposes.
manglePackageName was part of the defunct support for versioned
.S3method were part of an experimental alternative way to
.First.lib was the load/attach hook for packages without
mem.limits reported on the old-style limits on the number of
cons cells and size of the vector heap. These are no longer limited
except by overall memory limits.
.saveRDS, were internal-only versions (and
the only versions available prior to R 2.13.0) of
Sys.putenv was a synonym for
deprecated since R 2.5.0.
is.real were long-deprecated
synonyms for the
.path.package were internal-only
versions prior to R 2.13.0, and since deprecated wrappers for