Skip to content
Snippets Groups Projects
Commit 2f39b7a3 authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

Improved help file.

parent ed1fbd33
No related branches found
No related tags found
1 merge request!9Added a lot of error handling.
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#' filePath <- system.file("extdata", package="dataRetrieval") #' filePath <- system.file("extdata", package="dataRetrieval")
#' filePath <- paste(filePath,"/",sep="") #' filePath <- paste(filePath,"/",sep="")
#' fileName <- 'ChoptankRiverFlow.txt' #' fileName <- 'ChoptankRiverFlow.txt'
#' getDataFromFile(filePath,fileName, separator="\t") #' ChopData <- getDataFromFile(filePath,fileName, separator="\t")
getDataFromFile <- function (filePath,fileName,hasHeader=TRUE,separator=","){ getDataFromFile <- function (filePath,fileName,hasHeader=TRUE,separator=","){
totalPath <- paste(filePath,fileName,sep=""); totalPath <- paste(filePath,fileName,sep="");
tmp <- read.delim( tmp <- read.delim(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment