Rev 54810 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/base/man/base-defunct.Rd% Part of the R package, http://www.R-project.org% Copyright 1995-2011 R Core Development Team% Distributed under GPL 2 or later\name{base-defunct}\alias{base-defunct}\title{Defunct Functions in Base Package}%------ PLEASE: put \alias{.} here for EACH !\alias{Version}\alias{provide}\alias{.Provided}\alias{category}\alias{print.anova.glm}\alias{print.anova.lm}\alias{print.tabular}\alias{print.plot}\alias{save.plot}\alias{system.test}\alias{getenv}\alias{read.table.url}\alias{scan.url}\alias{source.url}\alias{httpclient}\alias{parse.dcf}\alias{.Alias}\alias{print.ordered}\alias{.Dyn.libs}\alias{.lib.loc}\alias{machine}\alias{Platform}\alias{Machine}\alias{restart}\alias{printNoClass}\alias{codes}\alias{codes.factor}\alias{codes.ordered}\alias{codes<-}\alias{print.atomic}\alias{La.eigen}\alias{tetragamma}\alias{pentagamma}\alias{package.description}\alias{loadURL}\alias{delay}\alias{write.table0}\alias{format.char}\alias{La.chol}\alias{La.chol2inv}\alias{symbol.C}\alias{symbol.For}\alias{unix}\alias{gammaCody}\alias{manglePackageName}\alias{.Import}\alias{.ImportFrom}\alias{.Export}\alias{.S3method}%\description{The functions or variables listed here are no longer part of \R asthey are no longer needed.}\usage{%--- oldfun(.)Version()provide(package)% Removed in 1.2.0.Providedcategory(\dots)print.anova.glm(.)print.anova.lm(.)print.tabular(.)print.plot(.)save.plot(.)system.test(.)% </Removed 1.2.0>% Removed in 1.3.0getenv(\dots)% </Removed 1.3.0>% Removed in 1.4.0read.table.url(url, method,\dots)scan.url(url, file = tempfile(), method, \dots)source.url(url, file = tempfile(), method, \dots)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)% </Removed 1.4.0>% Removed in 1.5.0.Alias(expr)% </Removed 1.5.0>% Removed in 1.6.0print.ordered(.).Dyn.libs.lib.loc% </Removed 1.6.0>% Removed in 1.7.0machine()Machine()Platform()restart()% </Removed 1.7.0>% Removed in 1.8.0printNoClass(x, digits = NULL, quote = TRUE, na.print = NULL,print.gap = NULL, right = FALSE, \dots)% </Removed 1.8.0>% Removed in 1.9.0codes(x, \dots)codes(x, \dots) <- value% print.atomic(x, quote = TRUE, \dots)% </Removed 1.9.0>% Removed in 2.0.0La.eigen(x, symmetric, only.values = FALSE, method = c("dsyevr", "dsyev"))tetragamma(x)pentagamma(x)package.description(pkg, lib.loc = NULL, fields = NULL)% </Removed 2.0.0>% Removed in 2.2.0loadURL(url, envir = parent.frame(), quiet = TRUE, \dots)delay(x, env = .GlobalEnv)% </Removed 2.2.0>% Removed in 2.3.0format.char(x, width = NULL, flag = "-")% </Removed 2.3.0>% Removed in 2.4.0La.chol(x)La.chol2inv(x, size = ncol(x))% </Removed 2.4.0>% Removed in 2.4.0symbol.C(name)symbol.For(name)% </Removed 2.4.0>% Removed in 2.5.0unix(call, intern = FALSE)% </Removed 2.5.0>% Removed in 2.8.0gammaCody(x)% </Removed 2.8.0>% Removed in 2.9.0manglePackageName(pkgName, pkgVersion)% </Removed 2.9.0>% Removed in 2.13.0.Import(...).ImportFrom(name, ...).Export(...).S3method(generic, class, method)% </Removed 2.13.0>}\details{\code{category} has been an old-S function before there were factors;should be replaced by \code{\link{factor}} throughout!The new function \code{dev.print()} should now be used for savingplots to a file or printing them.\code{provide} and its object \code{.Provided} have been removed.They were never used for their intended purpose, to allow onepackage to subsume another.\code{getenv} has been replaced by \code{\link{Sys.getenv}}.\code{*.url} are replaced by calling \code{read.table}, \code{scan} or\code{source} on a \code{\link{url}} connection.\code{httpclient} was used by the deprecated \code{"socket"} methodof \code{\link{download.file}}.\code{parse.dcf} has been replaced by \code{read.dcf}, which is muchfaster, but has a slightly different interface.\code{.Alias} provided an unreliable way to create duplicatereferences to the same object. There is no direct replacement. Wheremultiple references to a single object are required for semanticreasons consider using environments or external pointers. There aresome notes on \url{http://developer.r-project.org}.\code{.Dyn.libs} and \code{.lib.loc} were internal variables used forstoring and manipulating the information about packages with DLLs, andthe known \R library trees. These are now dynamic variables which onecan get or set using \code{\link{.dynLibs}} and\code{\link{.libPaths}}, respectively.\code{Machine()} and \code{Platform()} were functions returning thevariables \code{\link{.Machine}} and \code{\link{.Platform}}respectively.\code{restart()} should be replaced by \code{try()}, in preparationfor an exception-based implementation. If you use \code{restart()} ina way that cannot be replaced with \code{try()} then ask for helpon \code{r-devel}.\code{printNoClass} was in package \pkg{methods} and called directly theinternal function \code{print.default}.\code{codes} was almost always used inappropriately. To get theinternal coding of a factor, use \code{unclass}, \code{as.vector} or\code{as.integer}. For \emph{ordered} factors, \code{codes} wasequivalent to these, but for \emph{unordered} factors it assumed analphabetical ordering of the levels in the locale in use.\code{La.eigen} has become the default for \code{\link{eigen}}.\code{tetragamma} and \code{pentagamma} have been replaced by\code{\link{psigamma}}.\code{package.description} has been replaced by\code{\link{packageDescription}} in \pkg{utils}.\code{loadURL} has been superseded by \code{\link{load}(url())}.\code{delay} has been replaced by \code{\link{delayedAssign}}.Unevaluated promises should never be visible.\code{write.table0} was an \R-level version of \code{write.table}provided for temporary back-compatibility.\code{format.char} was an auxiliary function for \code{\link{formatC}}whose functionality (and more) is provided by \code{\link{format.default}}.\code{La.chol} and \code{La.chol2inv} became the default methods for\code{\link{chol}} and \code{\link{chol2inv}}.Functions \code{symbol.C} and \code{symbol.For} were for historicalcompatibility with S. \code{symbol.C} just returns its argumentunchanged, whereas \code{symbol.For} will map to lower case andappend an underscore on those platforms (almost all) which do so forFortran symbols. These are no longer of any use in \R.\code{unix} was a \emph{deprecated} (since the 1990s) alternative to\code{\link{system}}, available for backwards compatibility.\code{gammaCody} was the \eqn{(\Gamma)} function from the Specfunpackage used at C level in the Bessel code. It may have beensomewhat faster but less precise and/or robust than \R's standard\code{\link{gamma}}. The \R-level interface was here for experimentalpurposes.\code{manglePackageName} was part of the defunct support for versionedinstalls.\code{.Import}, \code{.ImportFrom}, \code{.Export} and\code{.S3method} were part of an experimental alternative way tospecify namespaces.}\seealso{\code{\link{Defunct}}, \code{\link{base-deprecated}}}\keyword{internal}