Nothing
# should exist
Sys.which("bash")
## bash
## "/usr/bin/bash"
Sys.which("sh")
## sh
## "/usr/bin/sh"
Does bash
work?
echo hello world
echo 'a b c' | sed 's/ /\|/g'
# number of lines
awk 'END{print NR;}' 027-engine-bash.Rmd
## hello world
## a|b|c
## 23
How about sh
?
# run wc on all engine examples
wc 027-engine-bash.Rmd
## 23 53 347 027-engine-bash.Rmd
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.