On Wed, 27-Feb-2008 at 10:06AM +, [EMAIL PROTECTED] wrote:
|> > 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 tel
> 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 fu
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 PRO
I am using R 2.6.2. under windows
On Wed, Feb 27, 2008 at 12:43 PM, <[EMAIL PROTECTED]> wrote:
> >From: Arun Kumar Saha <[EMAIL PROTECTED]>
> >Date: 2008/02/27 Wed AM 01:03:26 CST
> >To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> >Subject: [R] Loading user defined functions autometically each time
4 matches
Mail list logo