base v3.2.1

The R Base Package

Base R functions.

Functions in base

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


Priority base
License Part of R 3.2.1

Include our badge in your README