# List all available examples
run_example()
if (interactive()) {
# Run ggplot2 bar chart example
run_example("bar")
# Run Base R histogram example
run_example("histogram", type = "base_r")
}
Run the code above in your browser using DataLab