base v3.2.4

The R Base Package

Base R functions.

Functions in base

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


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

Include our badge in your README