Translate 'SAS' Programs to R with Dependency-Aware Migration


[Up] [Top]

Documentation for package ‘sas2r’ version 0.5.8

Help Pages

$<-.sas2r_dataset The runtime every translated program carries
analyze_output_order Analyze dataset row order independently of content equivalence
apply_format Apply a SAS format
as_digest_json Serialize a diff digest to JSON
chr_cmp Compare values the way SAS does
compare_aligned_outputs Compare aligned outputs under SAS-aware tolerance rules
compare_datasets Compare two datasets under SAS-aware tolerance rules
compare_profile Build a comparison tolerance profile
diff_digest Build the redacted diff digest (the only comparison artifact that may cross to an LLM). Names, counts, magnitudes, and enumerated hints only - never cell values, never key values.
lib_delete Delete explicitly named datasets from a writable library
lib_exists Test whether a library dataset member exists
lib_members List ordinary dataset members in a configured library
lib_read Read and write datasets through librefs
lib_write Read and write datasets through librefs
passed Did a comparison pass within tolerance?
print.sas2r_translation Print a sas2r translation summary
print.sas2r_transpilation Print a sas2r transpilation summary
qc_profile Define reusable dataset quality requirements
read_comparison_report Read a bounded comparison report from the registry
sas2r_fold_names Fold column names to lower case
sas2r_helpers The runtime every translated program carries
sas2r_libname_assign Bind or clear a libref at its point of use
sas2r_libname_clear Bind or clear a libref at its point of use
sas2r_resolve_registry Resolve a bundle's libref registry against its folder
sas2r_runtime The runtime every translated program carries
sas2r_source_include Run an included module where the %INCLUDE stood
sas_code Retrieve staged code for a translated program from the selected bundle
sas_compress SAS character functions
sas_config Load project configuration (optional by design)
sas_display Display values the way SAS prints them
sas_if_else IF/THEN/ELSE assignment with SAS semantics
sas_length SAS character functions
sas_llm Construct an LLM adapter from a project's llm: configuration
sas_llm_models List models visible to the configured provider identity
sas_llm_probe Probe LLM connectivity and configured settings with a structured ping
sas_max Row-wise MIN and MAX with SAS missing semantics
sas_mean Row-wise SUM and MEAN with SAS missing semantics
sas_merge Merge two datasets the way MERGE ... BY does
sas_min Row-wise MIN and MAX with SAS missing semantics
sas_missing SAS missing values and Boolean conditions
sas_preflight Inspect a migration and optionally diagnose findings
sas_put Apply a SAS format
sas_round Round the way SAS does
sas_sort Sort a dataset the way PROC SORT does
sas_substr SAS character functions
sas_sum Row-wise SUM and MEAN with SAS missing semantics
sas_translate Translate SAS programs or project to R with dependency-aware orchestration
sas_true SAS missing values and Boolean conditions
sas_write Write translated code artifacts and outputs to a destination directory
write_comparison_report Write a PROC-COMPARE-style markdown report or versioned JSON comparison report
[[<-.sas2r_dataset The runtime every translated program carries