more comments to the code for the RStudio Plugin