# base v3.5.1

## The R Base Package

Base R functions.

## Functions in base

Name | Description | |

Arithmetic | Arithmetic Operators | |

Foreign | Foreign Function Interface | |

LongVectors | Long Vectors | |

Hyperbolic | Hyperbolic Functions | |

MathFun | Miscellaneous Mathematical Functions | |

Sys.glob | Wildcard Expansion on File Paths | |

Sys.info | Extract System and User Information | |

InternalMethods | Internal Generic Functions | |

agrep | Approximate String Matching (Fuzzy Matching) | |

all | Are All Values True? | |

args | Argument List of a Function | |

array | Multi-way Arrays | |

Constants | Built-in Constants | |

autoload | On-demand Loading of Packages | |

Control | Control Flow | |

backsolve | Solve an Upper or Lower Triangular System | |

Deprecated | Marking Objects as Deprecated | |

bindenv | Binding and Environment Locking, Active Bindings | |

Encoding | Read or Set the Declared Encodings for a Character Vector | |

bitwise | Bitwise Logical Operations | |

browser | Environment Browser | |

Startup | Initialization at Start of an R Session | |

bquote | Partial substitution in expressions | |

DateTimeClasses | Date-Time Classes | |

log | Logarithms and Exponentials | |

Cstack_info | Report Information on C Stack Size and Usage | |

char.expand | Expand a String with Respect to a Target Table | |

browserText | Functions to Retrieve Values Supplied by Calls to the Browser | |

Logic | Logical Operators | |

character | Character Vectors | |

NumericConstants | Numeric Constants | |

by | Apply a Function to a Data Frame Split by Factors | |

EnvVar | Environment Variables | |

body | Access to and Manipulation of the Body of a Function | |

Ops.Date | Operators on the Date Class | |

Round | Rounding of Numbers | |

Dates | Date Class | |

Special | Special Functions of Mathematics | |

Extract | Extract or Replace Parts of an Object | |

La_version | LAPACK Version | |

Last.value | Value of Last Evaluated Expression | |

Defunct | Marking Objects as Defunct | |

Paren | Parentheses and Braces | |

cumsum | Cumulative Sums, Products, and Extremes | |

append | Vector Merging | |

R.Version | Version Information | |

Bessel | Bessel Functions | |

.Platform | Platform Specific Variables | |

Random.user | User-supplied Random Number Generation | |

curlGetHeaders | Retrieve Headers from URLs | |

Sys.getenv | Get Environment Variables | |

La_library | LAPACK Library | |

Colon | Colon Operator | |

Random | Random Number Generation | |

dontCheck | Identity Function to Suppress Checking | |

Sys.sleep | Suspend Execution for a Time Interval | |

do.call | Execute a Function Call | |

abbreviate | Abbreviate Strings | |

Primitive | Look Up a Primitive Function | |

Sys.time | Get Current Date and Time | |

Sys.getpid | Get the Process ID of the R Session | |

any | Are Some Values True? | |

as.environment | Coerce to an Environment Object | |

Quotes | Quotes | |

CallExternal | Modern Interfaces to C/C++ code | |

Extract.data.frame | Extract or Replace Parts of a Data Frame | |

file.info | Extract File Information | |

Extract.factor | Extract or Replace Parts of a Factor | |

aperm | Array Transposition | |

file.path | Construct Path to File | |

gc.time | Report Time Spent in Garbage Collection | |

Comparison | Relational Operators | |

NA | ‘Not Available’ / Missing Values | |

NULL | The Null Object | |

ISOdatetime | Date-time Conversion Functions from Numeric Representations | |

isSymmetric | Test if a Matrix or other Object is Symmetric (Hermitian) | |

Recall | Recursive Calling | |

Internal | Call an Internal Function | |

deparse | Expression Deparsing | |

gctorture | Torture Garbage Collector | |

RdUtils | Utilities for Processing Rd Files | |

base-internal | Internal Objects in Package base | |

Sys.setFileTime | Set File Time | |

builtins | Returns the Names of All Built-in Objects | |

jitter | ‘Jitter’ (Add Noise) to Numbers | |

Sys.setenv | Set or Unset Environment Variables | |

Syntax | Operator Syntax and Precedence | |

Sys.which | Find Full Paths to Executables | |

apply | Apply Functions Over Array Margins | |

as.data.frame | Coerce to a Data Frame | |

base-package | The R Base Package | |

c | Combine Values into a Vector or List | |

Trig | Trigonometric Functions | |

kronecker | Kronecker Products on Arrays | |

locales | Query or Set Aspects of the Locale | |

call | Function Calls | |

Memory | Memory Available for Data Storage | |

get | Return the Value of a Named Object | |

UseMethod | Class Methods | |

attr | Object Attributes | |

Memory-limits | Memory Limits in R | |

findInterval | Find Interval Numbers or Indices | |

charmatch | Partial String Matching | |

attributes | Object Attribute Lists | |

getCallingDLL | Compute DLL for Native Interface Call | |

contributors | R Project Contributors | |

file.show | Display One or More Text Files | |

chartr | Character Translation and Casefolding | |

integer | Integer Vectors | |

Reserved | Reserved Words in R | |

cat | Concatenate and Print | |

logical | Logical Vectors | |

Vectorize | Vectorize a Scalar Function | |

cbind | Combine R Objects by Rows or Columns | |

row+colnames | Row and Column Names | |

all.equal | Test if Two Objects are (Nearly) Equal | |

matrix | Matrices | |

date | System Date and Time | |

class | Object Classes | |

chol2inv | Inverse from Choleski (or QR) Decomposition | |

Sys.localeconv | Find Details of the Numerical and Monetary Representations in the Current Locale | |

connections | Functions to Manipulate Connections (Files, URLs, ...) | |

Rhome | Return the R Home Directory | |

force | Force Evaluation of an Argument | |

commandArgs | Extract Command Line Arguments | |

.Device | Lists of Open/Active Graphics Devices | |

Sys.readlink | Read File Symbolic Links | |

expand.grid | Create a Data Frame from All Combinations of Factor Variables | |

all.names | Find All Names in an Expression | |

as.Date | Date Conversion Functions to and from Character | |

assignOps | Assignment Operators | |

attach | Attach Set of R Objects to Search Path | |

diag | Matrix Diagonals | |

maxCol | Find Maximum Position in Matrix | |

base-defunct | Defunct Functions in Package base | |

comment | Query or Set a "comment" Attribute | |

complex | Complex Numbers and Basic Functionality | |

encodeString | Encode Character Vector as for Printing | |

dots | …, ..1, etc used in Functions | |

double | Double-Precision Vectors | |

dcf | Read and Write Data in DCF Format | |

environment | Environment Access | |

function | Function Definition | |

formatC | Formatting Using C-style Formats | |

getNativeSymbolInfo | Obtain a Description of one or more Native (C/Fortran) Symbols | |

base-deprecated | Deprecated Functions in Package base | |

names | The Names of an Object | |

nargs | The Number of Arguments to a Function | |

deparseOpts | Options for Expression Deparsing | |

as.POSIX* | Date-time Conversion Functions | |

cut.POSIXt | Convert a Date or Date-Time Object to a Factor | |

drop | Drop Redundant Extent Information | |

as.function | Convert Object to Function | |

expression | Unevaluated Expressions | |

dput | Write an Object to a File or Recreate it | |

assign | Assign a Value to a Name | |

ns-hooks | Hooks for Namespace Events | |

callCC | Call With Current Continuation | |

missing | Does a Formal Argument have a Value? | |

cut | Convert Numeric to Factor | |

QR.Auxiliaries | Reconstruct the Q, R, or X Matrices from a QR Object | |

basename | Manipulate File Paths | |

col | Column Indexes | |

.bincode | Bin a Numeric Vector | |

qr | The QR Decomposition of a Matrix | |

ns-internals | Namespace Internals | |

files | File Manipulation | |

normalizePath | Express File Paths in Canonical Form | |

capabilities | Report Capabilities of this Build of R | |

debug | Debug a Function | |

getwd | Get or Set Working Directory | |

chkDots | Warn About Extraneous Arguments in the "..." of Its Caller | |

gettext | Translate Text Messages | |

list2env | From A List, Build or Add To an Environment | |

colSums | Form Row and Column Sums and Means | |

conditions | Condition Handling and Recovery | |

conflicts | Search for Masked Objects on the Search Path | |

data.matrix | Convert a Data Frame to a Numeric Matrix | |

raw | Raw Vectors | |

dataframeHelpers | Data Frame Auxiliary Functions | |

grepRaw | Pattern Matching for Raw Vectors | |

grep | Pattern Matching and Replacement | |

ifelse | Conditional Element Selection | |

rawConnection | Raw Connections | |

delayedAssign | Delay Evaluation | |

is.function | Is an Object of Type (Primitive) Function? | |

chol | The Choleski Decomposition | |

duplicated | Determine Duplicate Elements | |

readChar | Transfer Character Strings To and From Connections | |

match.arg | Argument Verification Using Partial Matching | |

dyn.load | Foreign Function Interface | |

copyright | Copyrights of Files Used to Build R | |

regex | Regular Expressions as used in R | |

regmatches | Extract or Replace Matched Substrings | |

load | Reload Saved Datasets | |

extSoftVersion | Report Versions of Third-Party Software | |

crossprod | Matrix Crossproduct | |

diff | Lagged Differences | |

gl | Generate Factor Levels | |

factor | Factors | |

data.class | Object Classes | |

data.frame | Data Frames | |

is.language | Is an Object a Language Object? | |

det | Calculate the Determinant of a Matrix | |

lazyLoad | Lazy Load a Database of R Objects | |

lapply | Apply a Function over a List or Vector | |

readline | Read a Line from the Terminal | |

svd | Singular Value Decomposition of a Matrix | |

mapply | Apply a Function to Multiple List or Vector Arguments | |

kappa | Compute or Estimate the Condition Number of a Matrix | |

length | Length of an Object | |

difftime | Time Intervals / Differences | |

strtoi | Convert Strings to Integers | |

detach | Detach Objects from the Search Path | |

dim | Dimensions of an Object | |

forceAndCall | Call a function with Some Arguments Forced | |

remove | Remove Objects from a Specified Environment | |

round.POSIXt | Round / Truncate Data-Time Objects | |

nchar | Count the Number of Characters (or Bytes or Width) | |

margin.table | Compute table margin | |

sets | Set Operations | |

showConnections | Display Connections | |

lengths | Lengths of List or Vector Elements | |

shQuote | Quote Strings for Use in OS Shells | |

nlevels | The Number of Levels of a Factor | |

numeric_version | Numeric Versions | |

octmode | Display Numbers in Octal | |

droplevels | Drop Unused Levels from Factors | |

formals | Access to and Manipulation of the Formal Arguments | |

dump | Text Representations of R Objects | |

eapply | Apply a Function Over Values in an Environment | |

dimnames | Dimnames of an Object | |

sign | Sign Function | |

eval | Evaluate an (Unevaluated) Expression | |

match.call | Argument Matching | |

sprintf | Use C-style String Formatting Commands | |

path.expand | Expand File Paths | |

funprog | Common Higher-Order Functions in Functional Programming Languages | |

pcre_config | Report Configuration Options for PCRE | |

eigen | Spectral Decomposition of a Matrix | |

file.access | Ascertain File Accessibility | |

message | Diagnostic Messages | |

print.data.frame | Printing Data Frames | |

strwrap | Wrap Character Strings to Format Paragraphs | |

NotYet | Not Yet Implemented Functions and Unused Arguments | |

exists | Is an Object Defined? | |

gc | Garbage Collection | |

srcfile | References to Source Files and Code | |

files2 | Manipulation of Directories and File Permissions | |

subset | Subsetting Vectors, Matrices and Data Frames | |

print.default | Default Printing | |

gzcon | (De)compress I/O Through Connections | |

file.choose | Choose a File Interactively | |

hexmode | Display Numbers in Hexadecimal | |

tempfile | Create Names for Temporary Files | |

find.package | Find Packages | |

formatDL | Format Description Lists | |

format.pval | Format P Values | |

reg.finalizer | Finalization of Objects | |

getDLLRegisteredRoutines | Reflectance Information for C/Fortran routines in a DLL | |

getLoadedDLLs | Get DLLs Loaded in Current Session | |

icuSetCollate | Setup Collation by ICU | |

sys.source | Parse and Evaluate Expressions from a File | |

iconv | Convert Character Vector between Encodings | |

prmatrix | Print Matrices, Old-style | |

invisible | Change the Print Mode to Invisible | |

is.finite | Finite, Infinite and NaN Numbers | |

slotOp | Extract or Replace A Slot | |

is.R | Are we using R, rather than S? | |

format | Encode in a Common Format | |

paste | Concatenate Strings | |

system | Invoke a System Command | |

interaction | Compute Factor Interactions | |

taskCallbackManager | Create an R-level Task Callback Manager | |

taskCallbackNames | Query the Names of the Current Internal Top-Level Task Callbacks | |

format.info | format(.) Information | |

rowsum | Give Column Sums of a Matrix or Data Frame, Based on a Grouping Variable | |

groupGeneric | S3 Group Generic Functions | |

grouping | Grouping Permutation | |

traceback | Get and Print Call Stacks | |

interactive | Is R Running Interactively? | |

is.object | Is an Object ‘internally classed’? | |

parse | Parse Expressions | |

tracemem | Trace Copying of Objects | |

scale | Scaling and Centering of Matrix-like Objects | |

sQuote | Quote Text | |

is.recursive | Is an Object Atomic or Recursive? | |

serialize | Simple Serialization Interface | |

isS4 | Test for an S4 object | |

identical | Test Objects for Exact Equality | |

levels | Levels Attributes | |

setTimeLimit | Set CPU and/or Elapsed Time Limits | |

Print Values | ||

l10n_info | Localization Information | |

system2 | Invoke a System Command | |

warning | Warning Messages | |

strptime | Date-time Conversion Functions to and from Character | |

libPaths | Search Paths for Packages | |

lower.tri | Lower and Upper Triangular Part of a Matrix | |

labels | Find Labels from Object | |

list | Lists -- Generic and Dotted Pairs | |

readLines | Read Text Lines from a Connection | |

strrep | Repeat the Elements of a Character Vector | |

strsplit | Split the Elements of a Character Vector | |

identity | Identity Function | |

sum | Sum of Vector Elements | |

list.files | List the Files in a Directory/Folder | |

is.single | Is an Object of Single Precision Type? | |

warnings | Print Warning Messages | |

tapply | Apply a Function Over a Ragged Array | |

sweep | Sweep out Array Summaries | |

taskCallback | Add or Remove a Top-Level Task Callback | |

summary | Object Summaries | |

.Machine | Numerical Characteristics of the Machine | |

match.fun | Extract a Function Specified by Name | |

is.unsorted | Test if an Object is Not Sorted | |

libcurlVersion | Report Version of libcurl | |

library.dynam | Loading DLLs from Packages | |

library | Loading/Attaching and Listing of Packages | |

unlist | Flatten Lists | |

license | The R License Terms | |

matmult | Matrix Multiplication | |

unname | Remove names or dimnames | |

scan | Read Data Values | |

ls | List Objects | |

memory.profile | Profile the Usage of Cons Cells | |

on.exit | Function Exit Code | |

.Script | Scripting Language Interface | |

make.names | Make Syntactically Valid Names | |

make.unique | Make Character Strings Unique | |

merge | Merge Two Data Frames | |

mat.or.vec | Create a Matrix or a Vector | |

match | Value Matching | |

try | Try an Expression Allowing Error Recovery | |

name | Names and Symbols | |

nrow | The Number of Rows/Columns of an Array | |

mode | The (Storage) Mode of an Object | |

options | Options Settings | |

socketSelect | Wait on Socket Connections | |

pmatch | Partial String Matching | |

textConnection | Text Connections | |

weekdays | Extract Parts of a POSIXt or Date Object | |

which | Which indices are TRUE? | |

utf8Conversion | Convert Integer Vectors to or from UTF-8-encoded Character Vectors | |

withVisible | Return both a Value and its Visibility | |

polyroot | Find Zeros of a Real or Complex Polynomial | |

ns-dblcolon | Double Colon and Triple Colon Operators | |

userhooks | Functions to Get and Set Hooks for Load, Attach, Detach and Unload | |

ns-topenv | Top Level Environment | |

numeric | Numeric Vectors | |

outer | Outer Product of Arrays | |

order | Ordering Permutation | |

mean | Arithmetic Mean | |

zapsmall | Rounding of Numbers | |

t | Matrix Transpose | |

zpackages | Listing of Packages | |

typeof | The Type of an Object | |

memCompress | In-memory Compression and Decompression | |

rawConversion | Convert to or from Raw Vectors | |

prop.table | Express Table Entries as Fraction of Marginal Table | |

write | Write Data to a File | |

rapply | Recursively Apply a Function to a List | |

rank | Sample Ranks | |

pushBack | Push Text Back on to a Connection | |

readBin | Transfer Binary Data To and From Connections | |

rep | Replicate Elements of Vectors and Lists | |

noquote | Class for ‘no quote’ Printing of Character Strings | |

ns-load | Loading and Unloading Name Spaces | |

readRDS | Serialization Interface for Single Objects | |

readRenviron | Set Environment Variables from a File | |

norm | Compute the Norm of a Matrix | |

ns-reflect.Rd | Namespace Reflection Support | |

row | Row Indexes | |

pos.to.env | Convert Positions in the Search Path to Environments | |

seq.Date | Generate Regular Sequences of Dates | |

replace | Replace Values in a Vector | |

sample | Random Samples and Permutations | |

row.names | Get and Set Row Names for Data Frames | |

seq.POSIXt | Generate Regular Sequences of Times | |

pretty | Pretty Breakpoints | |

split | Divide into Groups and Reassemble | |

source | Read R Code from a File, a Connection or Expressions | |

save | Save R Objects | |

proc.time | Running Time of R | |

prod | Product of Vector Elements | |

quit | Terminate an R Session | |

seek | Functions to Reposition Connections | |

sink | Send R Output to a File | |

range | Range of Values | |

search | Give Search Path for R Objects | |

slice.index | Slice Indexes in an Array | |

rle | Run Length Encoding | |

rev | Reverse Elements | |

table | Cross Tabulation and Table Creation | |

seq | Sequence Generation | |

tabulate | Tabulation for Vectors | |

sequence | Create A Vector of Sequences | |

toString | Convert an R Object to a Character String | |

stop | Stop Function Execution | |

trace | Interactive Tracing and Debugging of Calls to a Function or Method | |

solve | Solve a System of Equations | |

transform | Transform an Object, for Example a Data Frame | |

stopifnot | Ensure the Truth of R Expressions | |

startsWith | Does String Start or End With Another String? | |

sort | Sorting or Ordering Vectors | |

standardGeneric | Formal Method System -- Dispatching S4 Methods | |

substr | Substrings of a Character Vector | |

substitute | Substituting and Quoting Expressions | |

trimws | Remove Leading/Trailing Whitespace | |

validUTF8 | Check if a Character Vector is Validly Encoded | |

system.file | Find Names of R System Files | |

system.time | CPU Time Used | |

writeLines | Write Lines to a Connection | |

vector | Vectors | |

which.min | Where is the Min() or Max() or first TRUE or FALSE ? | |

strtrim | Trim Character Strings to Specified Display Widths | |

structure | Attribute Specification | |

xtfrm | Auxiliary Function for Sorting and Ranking | |

switch | Select One of a List of Alternatives | |

with | Evaluate an Expression in a Data Environment | |

tilde | Tilde Operator | |

sys.parent | Functions to Access the Function Call Stack | |

unlink | Delete Files and Directories | |

timezones | Time Zones | |

zutils | Miscellaneous Internal/Programming Utilities | |

unique | Extract Unique Elements | |

AsIs | Inhibit Interpretation/Conversion of Objects | |

Foreign-internal | Internal Versions of the Foreign Function Interface | |

Extremes | Maxima and Minima | |

No Results! |

## Details

Priority | base |

License | Part of R 3.5.1 |

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)
```