From 2f39b7a30e213d503c5139ad703bfc6c3e1e13e5 Mon Sep 17 00:00:00 2001 From: unknown <ldecicco@usgs.gov> Date: Thu, 11 Sep 2014 10:25:08 -0500 Subject: [PATCH] Improved help file. --- R/getDataFromFile.r | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/getDataFromFile.r b/R/getDataFromFile.r index ac85f882..34da1fee 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( -- GitLab