From d82e5c61de2cf764d8c2d94771a9d03dd2dc6c11 Mon Sep 17 00:00:00 2001 From: Laura DeCicco <ldecicco@usgs.gov> Date: Mon, 25 Feb 2013 13:17:42 -0600 Subject: [PATCH] Changed zoo depends to imports. --- DESCRIPTION | 6 +++--- inst/doc/dataRetrieval.Rnw | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index c872f228..e7822013 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 b6cb2aaa..733b65cd 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} %------------------------------------------------------------ -- GitLab