diff --git a/R/getDataFromFile.r b/R/getDataFromFile.r index ac85f8829278ec9584efbcd43d52fd0a84b2b751..34da1fee126b6303e9339e2a43dd9fc4453fce77 100644 --- a/R/getDataFromFile.r +++ b/R/getDataFromFile.r @@ -17,7 +17,7 @@ #' filePath <- system.file("extdata", package="dataRetrieval") #' filePath <- paste(filePath,"/",sep="") #' fileName <- 'ChoptankRiverFlow.txt' -#' getDataFromFile(filePath,fileName, separator="\t") +#' ChopData <- getDataFromFile(filePath,fileName, separator="\t") getDataFromFile <- function (filePath,fileName,hasHeader=TRUE,separator=","){ totalPath <- paste(filePath,fileName,sep=""); tmp <- read.delim(