Dear Amit,

I hope you are doing good.

Can you try to install xml package by Clicking on Package -> Install -> Package name -> install as in the below screenshot.


Later you try to load the XML package in R as in the below screenshot.