base v3.2.5

The R Base Package

Base R functions.

Functions in base

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


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

Include our badge in your README