Once the package is loaded, you can use the read.xls() function to read an xls file into R. The gdata package uses Perl scripts to convert XLS files to CSV files and then read the CSV files into R, if Perl is not installed on your system, you can install Perl on your system.