Add extra function

Add some feature to remove and update the R packages.