Movatterモバイル変換


[0]ホーム

URL:


rdrr.io

base-defunct: Defunct Functions in Package 'base'

base-defunctR Documentation

Defunct Functions in Packagebase

Description

The functions or variables listed here are no longer part ofR asthey are no longer needed.

Usage

# Defunct in 1.xVersion()provide(package).Providedcategory(...)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.locmachine()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.0La.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.0loadURL(url, envir = parent.frame(), quiet = TRUE, ...)delay(x, env = .GlobalEnv)# Defunct in 2.3.0format.char(x, width = NULL, flag = "-")# Defunct in 2.4.0La.chol(x)La.chol2inv(x, size = ncol(x))# Defunct in 2.4.0symbol.C(name)symbol.For(name)# Defunct in 2.5.0unix(call, intern = FALSE)# Defunct in 2.8.0gammaCody(x)# Defunct in 2.9.0manglePackageName(pkgName, pkgVersion)# Defunct in 2.13.0.Import(...).ImportFrom(name, ...).Export(...)# Defunct in 2.14.0.First.lib(lib, pkg)# Defunct in 2.15.0, removed for 4.0.0mem.limits(nsize = NA, vsize = NA).saveRDS(...).readRDS(...)Sys.putenv(...) # (removed much earlier)# Defunct in 3.0.0real(length = 0)as.real(x, ...)is.real(x)# Defunct in 3.1.0, removed for 4.1.0.find.package(...).path.package(...)

Details

Some of these have stubs which report that they are defunct, but mosthave been removed completely (apart from being documented here).

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

The new functiondev.print() should now be used for savingplots 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 bySys.getenv.

*.url are replaced by callingread.table,scan orsource on aurl connection.

httpclient was used by the deprecated"socket" methodofdownload.file.

parse.dcf has been replaced byread.dcf, which is muchfaster, but has a slightly different interface.

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

.Dyn.libs and.lib.loc were internal variables used forstoring and manipulating the information about packages with DLLs, andthe knownR library trees. These are now dynamic variables which onecan get or set using.dynLibs and.libPaths, respectively.

Machine() andPlatform() were functions returning thevariables.Machine and.Platformrespectively.

restart() should be replaced bytry(), in preparationfor an exception-based implementation. If you userestart() ina way that cannot be replaced withtry() then ask for helponr-devel.

printNoClass was in packagemethods and called directly theinternal functionprint.default.

codes was almost always used inappropriately. To get theinternal coding of a factor, useunclass,as.vector oras.integer. Forordered factors,codes wasequivalent to these, but forunordered factors it assumed analphabetical ordering of the levels in the locale in use.

La.eigen has become the default foreigen.

tetragamma andpentagamma have been replaced bypsigamma.

package.description has been replaced bypackageDescription in packageutils.

loadURL has been superseded byload(url()).

delay has been replaced bydelayedAssign.Unevaluated promises should never be visible.

write.table0 was anR-level version ofwrite.tableprovided for temporary back-compatibility.

format.char was an auxiliary function forformatCwhose functionality (and more) is provided byformat.default.

La.chol andLa.chol2inv became the default methods forchol andchol2inv.

Functionssymbol.C andsymbol.For were provided forhistorical compatibility with S.symbol.C just returns itsargument unchanged, whereassymbol.For will map to lower caseand append an underscore on those platforms (almost all) which do sofor Fortran symbols. These are no longer of any use inR.

unix was adeprecated (since the 1990s) alternative tosystem, available for backwards compatibility with S.

gammaCody was the(Γ) function from the Specfunpackage used at C level in the Bessel code. TheR-level interface washere for experimental purposes.

manglePackageName was part of the defunct support for versionedinstalls.

.Import,.ImportFrom, and.Export were part of anexperimental alternative way to specify namespaces.

.First.lib was the load/attach hook for packages withoutnamespaces: use.onLoad or.onAttach instead.

mem.limits reported on the old-style limits on the number ofcons cells and size of the vector heap. These are no longer limitedexcept by overall memory limits.

.readRDS and.saveRDS, were internal-only versions (andthe only versions available prior toR 2.13.0) ofreadRDS andsaveRDS.

Sys.putenv was a synonym forSys.setenv,deprecated sinceR 2.5.0.

real,as.real andis.real were long-deprecatedsynonyms for thedouble versions.

.find.package and.path.package were internal-onlyversions prior toR 2.13.0, and since deprecated wrappers forfind.package andpath.package.

See Also

Defunct,base-deprecated


What can we improve?

R Package Documentation

Browse R Packages

We want your feedback!

Note that we can't provide technical support on individual packages. You should contact the package authors for that.

 
Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, readEmbedding Snippets.

Close

[8]ページ先頭

©2009-2026 Movatter.jp