R script that generate Excel statistical report

Job ID: 32499252

Budget: ₹12,500 – ₹37,500 INR

I need a R script that has the following input: dataset in xlsx with a dozen variables and a grouping variable name (0 or 1 in value). It needs to generate the following. Excel report: -all variables in the dataset on.