Hi,
an easy way, is to save your functions in a file and
have it in your working directoy and sources it.
i.e.
source("myfile.r")
otherwise you can try to build your own package,
see
?package.skeleton
Hope it helps
Regards
A
----- Messaggio originale -----
Da: Arun Kumar Saha <[EMAIL PROTECTED]>
A: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Inviato: Mercoledì 27 febbraio 2008, 8:03:26
Oggetto: [R] Loading user defined functions autometically each time I start R
Hi all,
I wrote some user defined function for my own. Now I want to get a mechanism
so that every time I start R, those function will automatically be loaded in
R without manually copying pasting. Can gurus here pls tell me how to do
that? Or I have to build my own packages bundled with those functions.
However I am not familiar in writing R package yet.
Regards,
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
___________________________________
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.