| base-internal | R Documentation |
Internal objects in the base package most of which are only user-visiblebecause of the special nature of the base namespace.
.subset(x, ...).subset2(x, ...).getRequiredPackages(file = "DESCRIPTION", lib.loc = NULL, quietly = FALSE, useImports = FALSE).getRequiredPackages2(pkgInfo, quietly = FALSE, lib.loc = NULL, useImports = FALSE).isMethodsDispatchOn(onOff = NULL)sys.load.image(name, quiet)sys.save.image(name).row_names_info(x, type = 1L).set_row_names(n)findPackageEnv(info)lazyLoadDBfetch(key, file, compressed, hook).TAOCP1997init(seed).gt(x, i, j).gtn(x, strictly).primTrace(obj).primUntrace(obj).Date(xx, cl = "Date").POSIXct(xx, tz = NULL, cl = c("POSIXct", "POSIXt")).POSIXlt(xx, tz = NULL, cl = c("POSIXlt", "POSIXt")).difftime(xx, units, cl = "difftime").cache_class(class, extends).popath.detach(pos).maskedMsg(same, pkg, by)## Only on Windows:.fixupGFortranStdout().fixupGFortranStderr()x | an object
|
file |
|
lib.loc | a character vector describing the location ofRlibrary trees to search through, or |
quiet | logical. Should this not give warnings or an errorif the package(s) are not found? |
useImports | logical. Should the |
quietly | logical: should message(s) be printed. |
pkginfo | A processed ‘DESCRIPTION’ file of class |
built, run | platform strings of the form |
name | name of image file to save or load. |
type | integer. Currently |
n | integer. The number of rows. |
info | character string such as |
key | the object name in a lazyload database. |
compressed | logical: are the values in the database compressed? |
refhook | a load hook: see |
seed | a length-one integer vector. |
i, j | indices. |
strictly | logical. |
obj | anR object. |
xx | a classless object to be placed into the class. |
tz | an optional time zone. |
cl | an optional character vector of classescontainingthe default classes. |
units | see |
... | Arguments passed to non-dot name versions. |
pos | an integer. |
same | character vector ofsame objects, masking others. |
pkg | character string naming the package which is masked from or by. |
by | logical indicating if the masking happensby |
The functions.subset and.subset2 are essentiallyequivalent to the[ and[[ operators,except that methods dispatch does not take place. This is to avoidexpensive unclassing when applying the default method to an object. Theyshould not normally be invoked by end users. Note that unlike theoperators they are builtins and not specials (all arguments areevaluated) and hence do not allow missing arguments.
.getRequiredPackages2 attaches all the packages mentioned in theDepends field: failure to find a package is an error. It alsochecks the versions of the packages found against theDepends field.
.getRequiredPackages is a wrapper to.getRequiredPackages2 using a ‘DESCRIPTION’ file.
The function.isMethodsDispatchOn() returnsTRUE ifthe S4 method dispatch has been turned on in the evaluator (usually byloading packagemethods). It is meant forR internal use only.
sys.save.image is a system function that is called byq()and its GUI analogs;sys.load.image is called by the startup code.These functions should not be called directly and are subject to change.
sys.save.image closes all connections first, to ensure that itis able to open a connection to save the image. This is appropriatewhen called fromq() and allies, but reinforces the warningthat it should not be called directly.
row.names can be stored internally in compact form..set_row_names(n) generates that form for automatic row namesof lengthn, to be assigned toattr(<a data frame>, "row.names")..row_names_infogives information on the internal form of the row names for a dataframe: for details of what information see the argumenttype.
.GenericArgsEnv and.ArgsEnv are environments thatcontain closures with the argument lists that the primitives wouldhave had had they been closures. All the primitives that are internalS3 generics have corresponding members of.GenericArgsEnv andthe remaining non-language-element primitives correspond to.ArgsEnv. See the ‘R Internals’ manual for furtherdetails. They are used byargs andprint.default and the QC functionscodocandcheckS3methods.
findPackageEnv is invoked by the unserialize code to set asaved environment if possible.
.TAOCP1997init is the initialization code for the"Knuth-TAOCP" RNG.
.gt and.gtn are callbacks fromrank andis.unsorted used for (S3 or S4) classed objects.
.primTrace and.primUntrace are the primitivefunctions underlyingtrace anduntracerespectively.
.Date,.POSIXct,.POSIXlt and.difftimeare class generators.
.cache_class caches the inheritance of an S4 class for use inS3 method dispatch. WithNULL second argument it returns thecached inheritance, for diagnostic use.
.popath is a variable created at startup which records wherethetranslations package in use is.
.detach is a ‘bare-bones’ version ofdetach foruse in otherR packages.
.maskedMsg is a utility called both fromattach()andlibrary() for consistency to produce the warning message.
Objects starting.C_ and.F_ are references toregistered C and Fortran entry points.
Only on Windows:.fixupGFortranStdout and.fixupGFortranStderr are helper functionsto enable standard output and standard error units ingfortran whenexecuting external code viasystem andsystem2. By default, theseunits are disabled by the Windows profile when running inside RGui.
.getRequiredPackages and.getRequiredPackages2returninvisible().
testPlatformEquivalence returnsTRUE orFALSE.
Add the following code to your website.
For more information on customizing the embed code, readEmbedding Snippets.