[R] R help
mkondrin at hppi.troitsk.ru
Thu Mar 13 04:50:04 CET 2003
Spencer Graves wrote:
> Regarding 1 and 2:
> myfunction <-
> function(m=2, n=3)
> array(rnorm(m*n), dim=c(m, n))
> I'll let someone else answer 3.
> Spencer Graves
> Shutnik wrote:
>> Dear friends,
>> I work with Matlab and now a bit in trouble with getting used to R.
>> Could you give me some help with the following questions:
>> 1. how to generate the random matrix mxn with constant mean and
>> variance, say N(0,1)?
>> 2. how to create a code (function), say “myfunction”, and make it
>> available for use every time I run R?
>> 3. how to make a package, say “e1071”, available for use without
>> loading it every time when I start R?
>> Thank you.
Edit ~/.Rprofile - add line
More information about the R-help