base-defunct {base} | R Documentation

## Defunct Functions in Base Package

### Description

The functions or variables listed here are no longer part of R as they are not needed (any more).

### Usage

    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
    print.atomic(x, quote = TRUE, ...)
    La.eigen(x, symmetric, only.values = FALSE, method = c("dsyevr", "dsyev"))
    tetragamma(x)
    pentagamma(x)
    package.description(pkg, lib.loc = NULL, fields = NULL)
    loadURL(url, envir = parent.frame(), quiet = TRUE, ...)
    delay(x, env = .GlobalEnv)

### Details

`category` has been an old-S function before there were factors; should be replaced by `factor` throughout!

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. They were never used for their intended purpose, to allow one package to subsume another.

`getenv` has been replaced by `Sys.getenv`.

`*.url` are replaced by calling `read.table`, `scan` or `source` on a `url` connection.

`httpclient` was used by the deprecated `"socket"` method of `download.file`.

`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 http://developer.r-project.org.

`.Dyn.libs` and `.lib.loc` were internal variables used for storing and manipulating the information about packages with dynloaded shared libs, and the known R library trees. These are now dynamic variables which one can get or set using `.dynLibs` and `.libPaths`, respectively.

`Machine()` and `Platform()` were functions returning the variables `.Machine` and `.Platform` respectively.

`restart()` should be replaced by `try()`, in preparation for an exception-based implementation. If you use `restart()` in a way that cannot be replaced with `try()` then ask for help on `r-devel`.

`printNoClass` was in package methods and calls directly the internal function `print.default`.

`codes` was almost always used inappropriately. To get the internal coding of a factor, use `unclass`, `as.vector` or `as.integer`. For ordered factors, `codes` was equivalent to these, but for unordered factors it assumed an an alphabetical ordering of the levels in the locale in use.

`print.atomic` differed from `print.default` only in its argument sequence. It is not a method for `print`.

`La.eigen` has become the default for `eigen`.

`tetragamma` and `pentagamma` have been replaced by `psigamma`.

`package.description` has been replaced by `packageDescription` in utils.

`loadURL` has been superseded by `load(url())`.

`delay` has been replaced by `delayedAssign`. As from R 2.1.0 promises should never be visible unevaluated.

### See Also

`Defunct`, `base-deprecated`

[Package base version 2.2.1 Index]