Previously, I have been able to export an xgboost model using xgb.save(model, filepath) and once I would do that, I could then load model object and use it in P
xgb.save(model, filepath)