base v3.3.0

The R Base Package

Base R functions.

Functions in base

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

Details

Priority base
License Part of R 3.3.0
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)