base v3.1.0

The R Base Package

Base R functions

Functions in base

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


Priority base
License Part of R 3.1.0

Include our badge in your README