Gorjanc Gregor
2005-Jun-27 14:06 UTC
[Rd] Wish/suggestion: Install packages on fly via library()
Hello! I thought that installation of missing packages on fly via library() would be a nice thing to have. Something like this: if (missing(pkg) && getOption("installOnFly")) { install.packages(pkg, ...) } I did look into library() function to find appropriate place for code similar to on above but library() it's massively long and I really don't ... you know. Thanks for remarkable tool. Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si/MR/ggorjan Zootechnical Department mail: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzale fax: +386 (0)1 72 17 888 Slovenia, Europe ---------------------------------------------------------------------- "One must learn by doing the thing; for though you think you know it, you have no certainty until you try." Sophocles ~ 450 B.C.