base v3.4.3

The R Base Package

Base R functions.

Functions in base

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


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

Include our badge in your README