You can use the
function in the HH package, available from CRAN with
This works on all platforms. There is menu access to the function through
Rcmdr if you install
If you are on Windows, you can additionally control that function
from an Excel spreadsheet with the RExcel package.
Install with the
RthroughExcelWorkbooksInstaller package from CRAN.