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

posted by Helmut Homepage – Vienna, Austria, 2013-03-01 17:22 (4864 d 00:47 ago) – Posting: # 10141
Views: 9,639

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,655 posts in 4,993 threads, 1,571 registered users;
143 visitors (0 registered, 143 guests [including 28 identified bots]).
Forum time: 19:10 CEST (Europe/Vienna)

The great tragedy of Science – the slaying
of a beautiful hypothesis by an ugly fact.    Thomas Henry Huxley

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