[R] R help

Petr Pikal petr.pikal at precheza.cz
Thu Mar 13 08:45:24 CET 2003


Hi

On 12 Mar 2003 at 15:45, 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?
> 
On Windows I use this .Rprofile file in working directory to load 
three libraries, one data set and change graphic background to 
white. Its just a plain text file.


library(fun)
library(modreg)
library(ts)
data(stand)
par(bg="white")



>  Thank you.
> 
>  Regards,
> 
>  Max
> 

Cheers

Petr Pikal
petr.pikal at precheza.cz
p.pik at volny.cz



More information about the R-help mailing list