[R] loading packages in a function
Arnaud Gaboury
arnaud.gaboury at a2ct2.com
Thu Feb 9 18:44:28 CET 2012
Hello,
I sourced successfully my function().
I need to load libraries, so I wrote this inside my function():
function()
{
#load needed library
library(plyr)
library(car)
..../...
}
It is OK, but I have this on my invite command when running the function:
> function()
Loading required package: MASS
Loading required package: nnet
YOU DID A GOOD JOB,SEND EMAIL
Last line is the supposed result of my function, so it ok.
How to get rid of the first two lines, only for esthetic purpose?
TY for your time.
Arnaud Gaboury
A2CT2 Ltd.
More information about the R-help
mailing list