Everyone may encounter some issues while installing R packages. Over years of troubleshooting in R package installation, I summarize some methods as my “go-to” list to check , in addition to search solutions on forum.
Shiny enables R programmers to write web applications without knowning javascript. It creates a nice web-based user interface to allow non-programmers to perform complicated calculation running on the backend. To enhance user experience, we usually find a need to communicate with users, eg, inform user input is invalid, follow the progress, present the steps of backend computation, etc.
Taking in options from command line is an essential step towards generalized usage of scripts. However, it is a chapter I skipped in almost all language textbooks since my primary goal was to code for a specific problem and did not mind re-writing the scripts in different situations.