Message-ID: <CA+vqiLHGAnu3MzMyvU-G7AB0C1S5Ovs4+1N9RZfP6s0cwQvjjQ@mail.gmail.com>
Date: 2011-08-17T17:11:53Z
From: Ista Zahn
Subject: Using require() vs. library()
In-Reply-To: <941871A13165C2418EC144ACB212BDB00205CEB2@dshsmxoly1504g.dshs.wa.lcl>
Hi Dan,
Is there something you would like to know that is not covered by help(library) ?
Best,
Ista
On Wed, Aug 17, 2011 at 12:40 PM, Nordlund, Dan (DSHS/RDA)
<NordlDJ at dshs.wa.gov> wrote:
> A recent post prompts me to ask this question. ?Is there any reason to prefer using library() over require()? ?I tend to use require() instead of library() to load packages, but I wonder if there are situations where it would be better to use library().
>
> Enquiring minds would like to know,
>
> Dan
>
> Daniel J. Nordlund
> Washington State Department of Social and Health Services
> Planning, Performance, and Accountability
> Research and Data Analysis Division
> Olympia, WA 98504-5204
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org