base v3.5.3

The R Base Package

Base R functions.

Functions in base

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

Details

Priority base
License Part of R 3.5.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)