diff --git a/DESCRIPTION b/DESCRIPTION index c872f2288215861fb5f1b3fd38f3b534696ace0f..e7822013ed73ae33e35393d65f5bb9238128e127 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -51,9 +51,9 @@ Collate: 'retrieveNWISqwData.r' 'processQWData.r' Depends: - R (>= 2.15.0), - zoo, - methods + R (>= 2.15.0) +Imports: + zoo Suggests: xtable LazyLoad: yes diff --git a/inst/doc/dataRetrieval.Rnw b/inst/doc/dataRetrieval.Rnw index b6cb2aaaea4152f4d4d80ae43fa2f5f526f28278..733b65cd9867893e3cfdd72b61ea374d98bb5604 100644 --- a/inst/doc/dataRetrieval.Rnw +++ b/inst/doc/dataRetrieval.Rnw @@ -538,6 +538,18 @@ If you are new to R, you will need to first install the latest version of R, whi There are many options for running and editing R code, one nice environment to learn R is RStudio. RStudio can be downloaded here: \url{http://rstudio.org/}. Once R and RStudio are installed, the dataRetrieval package needs to be installed as described in the next section. +At any time, you can get information about any function in R by typing a question mark before the functions name. This will open a file (in RStudio, in the Help window) that describes the function, the required arguments, and provides working examples. + +<<helpFunc,eval = FALSE>>= +?removeDuplicates +@ + +To see the raw code for a particular code, type the name of the function: +<<rawFunc,eval = TRUE>>= +removeDuplicates +@ + + %------------------------------------------------------------ \subsection{R User: Installing dataRetrieval} %------------------------------------------------------------