Foreign.R

Internal R structures

data SEXP s a

data SomeSEXP s

unSomeSEXP

Casts and coercions

cast

asTypeOf

unsafeCoerce

Node creation

allocSEXP

allocList

allocVector

allocVectorProtected

install

mkString

mkChar

data CEType

mkCharCE

mkWeakRef

Node attributes

typeOf

isS4

setAttributes

getAttribute

getAttributes

Node accessor functions

Lists

cons

lcons

car

cdr

tag

setCar

setCdr

setTag

Environments

envFrame

envEnclosing

envHashtab

Closures

closureFormals

closureBody

closureEnv

Promises

promiseCode

promiseEnv

promiseValue

Symbols

symbolPrintName

symbolValue

symbolInternal

Vectors

length

trueLength

char

real

integer

logical

complex

raw

string

unsafeSEXPToVectorPtr

unsafeVectorPtrToSEXP

readVector

writeVector

Evaluation

eval

tryEval

tryEvalSilent

lang1

lang2

lang3

findFun

findVar

GC functions

protect

unprotect

unprotectPtr

preserveObject

releaseObject

gc

Globals

Communication with runtime

printValue

Low level info header access

data SEXPInfo

peekInfo

pokeInfo

mark

named

Internal types and functions

data SEXPREC

type SEXP0

sexp

unsexp

release

unsafeRelease

withProtected

Deprecated

indexVector