R: Code Execution
Theory
Practical
System Commands
# System()
system("ls -l") # Executes the ls -l command in Unix-like systems
# System2()
output <- system2("ls", args = "-l", stdout = TRUE)
output
# Shell()
shell("ls -l")File Reading
List Directory Contents
REFERENCES
Last updated