title: r - Update rows in excel using values from a dataframe
body: <p>My objective is to update specific rows in an excel sheet from rows from a dataframe in R.</p>
  <p>For example there is an excel sheet containing the below mentioned records</p>
  <p>Car     Year  Mileage
  Mazda   2020   40000
  Rav4    2017   35000
  Civic   2021   25000</p>
  <p>I read this excel file into R dataframe. I perform a simple calculation which should display rows of data where mileage is greater than 30000. So the df output looks like this.</p>
  <p>df
  Car     Year  Mileage
  Mazda   2020   40000
  Rav4    2017   35000</p>
  <p>My question here is, if there is a way to highlight only these columns back to the excel sheet?</p>