fix runExample for #44 and add alias viewExample. might need to remove runExample as it conflicts with shiny.