You have found the XGBoost R Package!
Checkout the Installation Guide contains instructions to install xgboost, and Tutorials for examples on how to use XGBoost for various tasks.
Read the API documentation.
Please visit Walk-through Examples.