Expand description
File I/O builtins β reading and writing data files (CSV, table, lines, scan) and file system utilities (file.path, file.exists).
EnumsΒ§
- IoError
- Structured error type for file I/O operations.
ConstantsΒ§
- MINIR_
RDS_ πHEADER - MINIR_
WORKSPACE_ πCLASS
StaticsΒ§
- __
BUILTIN_ πREG_ BUILTIN_ FILE_ PATH - __
INTERP_ πREG_ BUILTIN_ FILE_ EXISTS - __
INTERP_ πREG_ BUILTIN_ READ_ CSV - __
INTERP_ πREG_ BUILTIN_ READ_ TABLE - __
INTERP_ πREG_ BUILTIN_ SAVE_ RDS - __
INTERP_ πREG_ BUILTIN_ SCAN - __
INTERP_ πREG_ BUILTIN_ WRITE_ CSV - __
INTERP_ πREG_ BUILTIN_ WRITE_ TABLE - __
INTERP_ πREG_ INTERP_ LOAD - __
INTERP_ πREG_ INTERP_ READ_ RDS - __
PRE_ πEVAL_ REG_ PRE_ EVAL_ SAVE - __
PRE_ πEVAL_ REG_ PRE_ EVAL_ SAVE_ IMAGE
FunctionsΒ§
- builtin_
file_ πexists - Test whether files exist at the given paths.
- builtin_
file_ πpath - Construct a platform-independent file path from components.
- builtin_
read_ πcsv - Read a CSV file into a data frame.
- builtin_
read_ πtable - Read a whitespace- or delimiter-separated table from a file.
- builtin_
save_ πrds - Serialize a single R object to an RDS file in GNU R-compatible format.
- builtin_
scan π - Read data from a file, splitting into tokens.
- builtin_
write_ πcsv - Write a data frame to a CSV file.
- builtin_
write_ πtable - Write a data frame, list, or matrix to a text file.
- escape_
r_ πstring - eval_
arg_ πvalue - format_
cell π - Format a single cell from a vector for write.table output.
- interp_
load π - Load a workspace file (saved with save()) into an environment.
- interp_
read_ πrds - Read a single R object from an RDS file.
- is_
workspace_ πvalue - pre_
eval_ πsave - Save named R objects to a workspace file in GNU R binary format (RDX2).
- pre_
eval_ πsave_ image - Save all objects in the global environment to β.RDataβ.
- push_
save_ πname - read_
minirds π - read_
rds_ πpath - resolved_
path_ πstring - serialize_
attr_ πpairs - serialize_
complex π - serialize_
rvalue π - serialize_
vector π - serialize_
with_ πattrs - split_
line π - Split a line by separator (whitespace if empty).
- syntactic_
attr_ πname - try_
load_ binary_ rdata - Try to load a GNU R binary .RData file (RDX2 header + serialized pairlist).
- workspace_
binding_ πnames - workspace_
bool_ πarg - workspace_
class_ πvalue - workspace_
file_ πarg - workspace_
requested_ πnames - workspace_
target_ πenv - write_
minirds π