Reordered some R Package installers

This app requires Shiny version 10.1, so dependencies need to be installed first.

We need to make sure that Java gets installed and is properly configured within R.  The issue you have been experiencing results from R package RWeka not installing correctly.  If the app crashes again with these updates, look through the log for the section where RWeka is installed:

==> default: * installing *source* package ‘RWeka’ ...
==> default: ** package ‘RWeka’ successfully unpacked and MD5 sums checked
==> default: ** R
==> default: ** inst
==> default: ** preparing package for lazy loading
==> default: ** help
==> default: *** installing help indices
==> default: ** building package indices
==> default: ** installing vignettes
==> default: ** testing if installed package can be loaded
==> default: * DONE (RWeka)

If it fails there will be a message like: install package RWeka had a non-zero exit status.