RosettaCodeData/Task/Execute-a-system-command/R/execute-a-system-command.r

3 lines
45 B
R

system("ls")
output=system("ls",intern=TRUE)