|
Loading Data from a txt file
Many R users prefer to use txt files for the simplicity in importing and exporting data. Importing a txt file can be accomplished per the following: WorkingData = read.table("Pathway/Filename.txt") or WorkingData = read.table("Pathway/Filename.txt", header = T) EXAMPLE: > WorkingData = read.table("C:/My Documents/SampleData.txt") or >WorkingData = read.table("C:/My Documents/SampleData.txt", header = T) IMPORTANT NOTES:
|