base v3.3.3

The R Base Package

Base R functions.

Functions in base

Name Description
AsIs Inhibit Interpretation/Conversion of Objects
CallExternal Modern Interfaces to C/C++ code
Comparison Relational Operators
Control Control Flow
Constants Built-in Constants
Cstack_info Report Information on C Stack Size and Usage
Bessel Bessel Functions
Colon Colon Operator
Arithmetic Arithmetic Operators
DateTimeClasses Date-Time Classes
Deprecated Marking Objects as Deprecated
Extremes Maxima and Minima
Encoding Read or Set the Declared Encodings for a Character Vector
Extract.data.frame Extract or Replace Parts of a Data Frame
Dates Date Class
EnvVar Environment Variables
Extract.factor Extract or Replace Parts of a Factor
Defunct Marking Objects as Defunct
Foreign-internal Internal Versions of the Foreign Function Interface
Extract Extract or Replace Parts of an Object
LongVectors Long Vectors
La_version
InternalMethods Internal Generic Functions
Foreign Foreign Function Interface
ISOdatetime Date-time Conversion Functions from Numeric Representations
log Logarithms and Exponentials
Hyperbolic Hyperbolic Functions
Last.value Value of Last Evaluated Expression
Internal Call an Internal Function
Logic Logical Operators
.Platform Platform Specific Variables
Memory Memory Available for Data Storage
Paren Parentheses and Braces
Primitive Look Up a Primitive Function
Memory-limits Memory Limits in R
NA Not Available
NULL The Null Object
Ops.Date Operators on the Date Class
MathFun Miscellaneous Mathematical Functions
NumericConstants Numeric Constants
Random.user User-supplied Random Number Generation
Special Special Functions of Mathematics
Quotes Quotes
Recall Recursive Calling
RdUtils Utilities for Processing Rd Files
Startup Initialization at Start of an R Session
Rhome Return the R Home Directory
Round Rounding of Numbers
Reserved Reserved Words in R
Random Random Number Generation
Sys.readlink
Sys.setFileTime
Sys.getpid Get the Process ID of the R Session
Sys.glob Wildcard Expansion on File Paths
Sys.info Extract System and User Information
Sys.localeconv Find Details of the Numerical and Monetary Representations
Syntax Operator Syntax and Precedence
Sys.setenv Set or Unset Environment Variables
Sys.sleep Suspend Execution for a Time Interval
Sys.getenv Get Environment Variables
Vectorize Vectorize a Scalar Function
R.Version Version Information
abbreviate Abbreviate Strings
Sys.time Get Current Date and Time
Trig Trigonometric Functions
UseMethod Class Methods
agrep Approximate String Matching (Fuzzy Matching)
Sys.which Find Full Paths to Executables
all Are All Values True?
all.equal Test if Two Objects are (Nearly) Equal
as.Date Date Conversion Functions to and from Character
as.data.frame Coerce to a Data Frame
array Multi-way Arrays
append Vector Merging
all.names Find All Names in an Expression
args Argument List of a Function
apply Apply Functions Over Array Margins
any Are Some Values True?
as.POSIX* Date-time Conversion Functions
aperm Array Transposition
as.environment Coerce to an Environment Object
base-defunct Defunct Functions in Package
attr Object Attributes
assign Assign a Value to a Name
assignOps Assignment Operators
backsolve Solve an Upper or Lower Triangular System
as.function Convert Object to Function
attach Attach Set of R Objects to Search Path
attributes Object Attribute Lists
autoload On-demand Loading of Packages
.bincode Bin a Numeric Vector
base-package
basename Manipulate File Paths
browser Environment Browser
bitwise Bitwise Logical Operations
base-internal Internal Objects in Package
bquote Partial substitution in expressions
bindenv Binding and Environment Locking, Active Bindings
base-deprecated Deprecated Functions in Package
body Access to and Manipulation of the Body of a Function
char.expand Expand a String with Respect to a Target Table
commandArgs Extract Command Line Arguments
col Column Indexes
chol The Choleski Decomposition
chol2inv Inverse from Choleski (or QR) Decomposition
call Function Calls
callCC Call With Current Continuation
class Object Classes
cbind Combine R Objects by Rows or Columns
comment Query or Set a
colSums Form Row and Column Sums and Means
row+colnames Row and Column Names
browserText
contributors R Project Contributors
copyright Copyrights of Files Used to Build R
data.frame Data Frames
data.matrix Convert a Data Frame to a Numeric Matrix
builtins Returns the Names of All Built-in Objects
cut Convert Numeric to Factor
data.class Object Classes
delayedAssign Delay Evaluation
cat Concatenate and Print
drop Drop Redundant Extent Information
files File Manipulation
capabilities Report Capabilities of this Build of R
file.show Display One or More Text Files
exists Is an Object Defined?
deparse Expression Deparsing
eval Evaluate an (Unevaluated) Expression
conflicts Search for Masked Objects on the Search Path
gc Garbage Collection
eigen Spectral Decomposition of a Matrix
funprog Common Higher-Order Functions in Functional Programming Languages
deparseOpts Options for Expression Deparsing
date System Date and Time
dataframeHelpers Data Frame Auxiliary Functions
eapply Apply a Function Over Values in an Environment
det Calculate the Determinant of a Matrix
connections Functions to Manipulate Connections (Files, URLs, ...)
gc.time Report Time Spent in Garbage Collection
gctorture Torture Garbage Collector
diag Matrix Diagonals
getNativeSymbolInfo
forceAndCall Call a function with Some Arguments Forced
do.call Execute a Function Call
formals Access to and Manipulation of the Formal Arguments
iconv Convert Character Vector between Encodings
gettext Translate Text Messages
diff Lagged Differences
dimnames Dimnames of an Object
cumsum Cumulative Sums, Products, and Extremes
dput Write an Object to a File or Recreate it
by Apply a Function to a Data Frame Split by Factors
charmatch Partial String Matching
c Combine Values into a Vector or List
character Character Vectors
crossprod Matrix Crossproduct
icuSetCollate Setup Collation by ICU
detach Detach Objects from the Search Path
.Device
function Function Definition
getCallingDLL Compute DLL for Native Interface Call
get Return the Value of a Named Object
findInterval Find Interval Numbers or Indices
dump Text Representations of R Objects
grep Pattern Matching and Replacement
droplevels droplevels
force Force Evaluation of an Argument
formatC Formatting Using C-style Formats
grepRaw Pattern Matching for Raw Vectors
dim Dimensions of an Object
duplicated Determine Duplicate Elements
cut.POSIXt Convert a Date or Date-Time Object to a Factor
is.object Is an Object
curlGetHeaders
difftime Time Intervals / Differences
is.recursive Is an Object Atomic or Recursive?
chartr Character Translation and Casefolding
chkDots Warn About Extraneous Arguments in the "..." of Its Caller
dyn.load Foreign Function Interface
encodeString
l10n_info Localization Information
environment Environment Access
labels Find Labels from Object
mapply Apply a Function to Multiple List or Vector Arguments
make.unique Make Character Strings Unique
lazyLoad Lazy Load a Database of R Objects
make.names Make Syntactically Valid Names
lapply Apply a Function over a List or Vector
margin.table Compute table margin
message Diagnostic Messages
missing Does a Formal Argument have a Value?
complex Complex Numbers and Basic Functionality
conditions Condition Handling and Recovery
dontCheck Identity Function to Suppress Checking
dcf Read and Write Data in DCF Format
debug Debug a Function
extSoftVersion
double Double-Precision Vectors
factor Factors
file.access Ascertain File Accessibility
file.choose Choose a File Interactively
format.info format(.) Information
format Encode in a Common Format
gzcon
hexmode Display Numbers in Hexadecimal
interaction Compute Factor Interactions
interactive Is R Running Interactively?
library.dynam Loading DLLs from Packages
license The R License Terms
list2env From A List, Build or Add To an Environment
load Reload Saved Datasets
kappa Compute or Estimate the Condition Number of a Matrix
kronecker Kronecker Products on Arrays
length Length of an Object
locales Query or Set Aspects of the Locale
lengths Lengths of List or Vector Elements
logical Logical Vectors
ns-internals Namespace Internals
ns-hooks Hooks for Namespace Events
find.package Find Packages
files2 Manipulaton of Directories and File Permissions
numeric_version Numeric Versions
octmode Display Numbers in Octal
identical Test Objects for Exact Equality
getDLLRegisteredRoutines Reflectance Information for C/Fortran routines in a DLL
getLoadedDLLs Get DLLs Loaded in Current Session
identity Identity Function
is.function Is an Object of Type (Primitive) Function?
is.language Is an Object a Language Object?
is.R Are we using R, rather than S?
readline Read a Line from the Terminal
reg.finalizer Finalization of Objects
proc.time Running Time of R
prod Product of Vector Elements
socketSelect Wait on Socket Connections
scan Read Data Values
slotOp Extract or Replace A Slot
stop Stop Function Execution
scale Scaling and Centering of Matrix-like Objects
grouping Grouping Permutation
groupGeneric S3 Group Generic Functions
is.finite Finite, Infinite and NaN Numbers
jitter Jitter
isSymmetric Test if a Matrix or other Object is Symmetric (Hermitian)
invisible Change the Print Mode to Invisible
libcurlVersion
library Loading/Attaching and Listing of Packages
matrix Matrices
maxCol Find Maximum Position in Matrix
memCompress In-memory Compression and Decompression
mean Arithmetic Mean
noquote Class for
ns-load Loading and Unloading Name Spaces
norm Compute the Norm of a Matrix
ns-reflect.Rd Namespace Reflection Support
pos.to.env Convert Positions in the Search Path to Environments
pretty Pretty Breakpoints
readRDS Serialization Interface for Single Objects
readRenviron
print Print Values
match.fun Extract a Function Specified by Name
print.data.frame Printing Data Frames
name Names and Symbols
qr The QR Decomposition of a Matrix
matmult Matrix Multiplication
mode The (Storage) Mode of an Object
QR.Auxiliaries Reconstruct the Q, R, or X Matrices from a QR Object
rawConversion Convert to or from Raw Vectors
readBin Transfer Binary Data To and From Connections
mat.or.vec Create a Matrix or a Vector
ls List Objects
isS4 Test for an S4 object
lower.tri Lower and Upper Triangular Part of a Matrix
nrow The Number of Rows/Columns of an Array
ns-dblcolon Double Colon and Triple Colon Operators
match Value Matching
names The Names of an Object
nargs The Number of Arguments to a Function
on.exit Function Exit Code
file.path Construct Path to File
expand.grid Create a Data Frame from All Combinations of Factor Variables
expression Unevaluated Expressions
file.info Extract File Information
getwd Get or Set Working Directory
gl Generate Factor Levels
ifelse Conditional Element Selection
format.pval Format P Values
formatDL Format Description Lists
integer Integer Vectors
options Options Settings
polyroot Find Zeros of a Real or Complex Polynomial
pmatch Partial String Matching
print.default Default Printing
prmatrix Print Matrices, Old-style
readChar Transfer Character Strings To and From Connections
readLines Read Text Lines from a Connection
remove Remove Objects from a Specified Environment
round.POSIXt Round / Truncate Data-Time Objects
sample Random Samples and Permutations
normalizePath Express File Paths in Canonical Form
pcre_config
rank Sample Ranks
prop.table Express Table Entries as Fraction of Marginal Table
ns-topenv Top Level Environment
rapply Recursively Apply a Function to a List
path.expand Expand File Paths
numeric Numeric Vectors
pushBack Push Text Back on to a Connection
NotYet Not Yet Implemented Functions and Unused Arguments
is.single Is an Object of Single Precision Type?
memory.profile Profile the Usage of Cons Cells
merge Merge Two Data Frames
list Lists -- Generic and Dotted Pairs
list.files List the Files in a Directory/Folder
match.arg Argument Verification Using Partial Matching
match.call Argument Matching
is.unsorted Test if an Object is Not Sorted
levels Levels Attributes
libPaths Search Paths for Packages
rev Reverse Elements
tabulate Tabulation for Vectors
sprintf Use C-style String Formatting Commands
tempfile Create Names for Temporary Files
nchar Count the Number of Characters (or Bytes or Width)
srcfile References to Source Files and Code
table Cross Tabulation and Table Creation
rle Run Length Encoding
showConnections Display Connections
sign Sign Function
nlevels The Number of Levels of a Factor
order Ordering Permutation
outer Outer Product of Arrays
parse Parse Expressions
raw Raw Vectors
rawConnection Raw Connections
rowsum Give Column Sums of a Matrix or Data Frame, Based on a Grouping Variable
quit Terminate an R Session
range Range of Values
paste Concatenate Strings
sQuote Quote Text
subset Subsetting Vectors, Matrices and Data Frames
stopifnot Ensure the Truth of R Expressions
structure Attribute Specification
strwrap Wrap Character Strings to Format Paragraphs
slice.index Slice Indexes in an Array
strtrim Trim Character Strings to Specified Display Widths
sequence Create A Vector of Sequences
sink Send R Output to a File
seq Sequence Generation
sys.parent Functions to Access the Function Call Stack
sys.source Parse and Evaluate Expressions from a File
try Try an Expression Allowing Error Recovery
switch Select One of a List of Alternatives
system Invoke a System Command
xtfrm Auxiliary Function for Sorting and Ranking
shell Invoke a System Command, using a Shell
shell.exec Open a File or URL using Windows File Associations
typeof The Type of an Object
rep Replicate Elements of Vectors and Lists
seq.POSIXt Generate Regular Sequences of Times
replace Replace Values in a Vector
row.names Get and Set Row Names for Data Frames
row Row Indexes
seq.Date Generate Regular Sequences of Dates
source Read R Code from a File or a Connection
split Divide into Groups and Reassemble
strptime Date-time Conversion Functions to and from Character
strrep Repeat the Elements of a Character Vector
save Save R Objects
sets Set Operations
shQuote Quote Strings for Use in OS Shells
solve Solve a System of Equations
sort Sorting or Ordering Vectors
strsplit Split the Elements of a Character Vector
strtoi Convert Strings to Integers
sum Sum of Vector Elements
summary Object Summaries
taskCallbackManager Create an R-level Task Callback Manager
.Machine Numerical Characteristics of the Machine
transform Transform an Object, for Example a Data Frame
trimws Remove Leading/Trailing Whitespace
textConnection Text Connections
warning Warning Messages
vector Vectors
withVisible Return both a value and its visibility
with Evaluate an Expression in a Data Environment
regmatches Extract or Replace Matched Substrings
regex Regular Expressions as used in R
search Give Search Path for R Objects
standardGeneric Formal Method System -- Dispatching S4 Methods
setTimeLimit Set CPU and/or Elapsed Time Limits
startsWith Does String Start or End With Another String?
serialize Simple Serialization Interface
seek Functions to Reposition Connections
substitute Substituting and Quoting Expressions
substr Substrings of a Character Vector
traceback Get and Print Call Stacks
system.time CPU Time Used
system.file Find Names of R System Files
tracemem Trace Copying of Objects
unlink Delete Files and Directories
validUTF8
unlist Flatten Lists
utf8Conversion Convert Integer Vectors to or from UTF-8-encoded Character Vectors
svd Singular Value Decomposition of a Matrix
sweep Sweep out Array Summaries
tapply Apply a Function Over a Ragged Array
taskCallback Add or Remove a Top-Level Task Callback
toString Convert an R Object to a Character String
unname Remove
userhooks Functions to Get and Set Hooks for Load, Attach, Detach and Unload
trace Interactive Tracing and Debugging of Calls to a Function or Method
which.min Where is the Min() or Max() or first TRUE or FALSE ?
which Which indices are TRUE?
tilde Tilde Operator
system2 Invoke a System Command
t Matrix Transpose
warnings Print Warning Messages
timezones Time Zones
weekdays Extract Parts of a POSIXt or Date Object
.Script Scripting Language Interface
zapsmall Rounding of Numbers
Signals Interrupting Execution of R
unique Extract Unique Elements
taskCallbackNames Query the Names of the Current Internal Top-Level Task Callbacks
write Write Data to a File
writeLines Write Lines to a Connection
zpackages Listing of Packages
zutils Miscellaneous Internal/Programming Utilities
No Results!

Details

Priority base
License Part of R 3.3.3
suggests methods
Contributors contributors worldwide, R team

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/base)](http://www.rdocumentation.org/packages/base)