base v3.2.3

The R Base Package

Base R functions.

Functions in base

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

Details

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

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/base)](http://www.rdocumentation.org/packages/base)