There's more...

For the load, read.table, and read.csv functions, the file to be read can also be a complete URL (for supported URLs, use ?url for more information).

On some occasions, data may be in an Excel file instead of a flat text file. The WriteXLS package allows writing an object into an Excel file with a given variable in the first argument and the file to be written in the second argument:

  1. Install the WriteXLS package:
        > install.packages("WriteXLS")  
  1. Load the WriteXLS package:
        > library("WriteXLS")  
  1. Use the WriteXLS function to write the DataFrame iris into a file named iris.xls:
        > WriteXLS("iris", ExcelFileName="iris.xls")  
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset