Needed this one recently, it pops up a window to pick a file to be used by r, then reads the contents into myData:
myFile <- file.choose()
myData <- read.table(myFile,header=TRUE)
Tags: file handling, r
Needed this one recently, it pops up a window to pick a file to be used by r, then reads the contents into myData:
myFile <- file.choose()
myData <- read.table(myFile,header=TRUE)
Tags: file handling, r
This entry was posted on Thursday, May 6th, 2010 at 7:47 pm and is filed under feature, r. You can follow any comments to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
Comments are closed.
© 2024.