load() ??? [Power / Sample Size]

posted by Helmut Homepage – Vienna, Austria, 2013-03-01 17:22 (4493 d 05:47 ago) – Posting: # 10141
Views: 8,365

Dear Detlew,

welcome back; hope you had a nice vacation. :smoke:

❝ ❝ I prefer require(package) over load(package) because the former loads the package only if not already loaded (saves some fractions of a second). ;-)

❝ May be you meant library(PowerTOST) instead of load(PowerTOST) or missed I somefink here?


Oops; sure.

❝ I must confess that I never understood really the difference between require(...) and library(..)


require(…) loads the package only if not already loaded. library(…) loads in all cases. Therefore the former might be a little bit faster.


Edit: PowerTOST 1.1-02 (2013-02-28) available at CRAN.

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,675 registered users;
44 visitors (0 registered, 44 guests [including 12 identified bots]).
Forum time: 00:09 CEST (Europe/Vienna)

Philosophy, like medicine, has plenty of drugs, few good remedies,
and hardly any specific cures.    Sebastien-Roch Nicolas de Chamfort

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5