base v3.1.1

The R Base Package

Base R functions

Functions in base

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

Details

Priority base
License Part of R 3.1.1

Include our badge in your README

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