try installing packages
fix package installation
avoid stop due to warning messages by Rscript
also install Rtools
install knitr, too