$", "", txt) }
> # You can also put data into the list:
> MyFunctions$
> tau = 2 * pi
> # etc...
> attach(MyFunctions)
> rm(MyFunctions)
>
> All that is in MyFunctions.R which I can source() again when I update it.
>
>>>>
>
> From: "A
unctions.R which I can source() again when I update it.
>>>
From: "Abhijit Dasgupta, PhD"
To:
CC:
Date: 10/Jul/2011 1:40a
Subject: Re: [R] Storing and managing custom R functions for re-use
I think most of us are in a similar situation. I've usually kept mine in
a file
Same here.
Just made my first package and regret not having learned how to do it from
the very beginning.
Steve
On Sun, Jul 10, 2011 at 3:27 AM, Michael Dewey wrote:
> At 12:30 09/07/2011, Simon Chamaillé-Jammes wrote:
>
>> Dear all,
>>
>> sorry if this is a bit on the sidetrack for R-help.
>>
At 12:30 09/07/2011, Simon Chamaillé-Jammes wrote:
Dear all,
sorry if this is a bit on the sidetrack for R-help.
As a regular R user I have developed quite a lot
of custom R functions, to the point of not
always remembering what I have already programmed, where the file is and so on.
I was wo
On 11-07-09 7:30 AM, Simon Chamaillé-Jammes wrote:
Dear all,
sorry if this is a bit on the sidetrack for R-help.
As a regular R user I have developed quite a lot of custom R functions,
to the point of not always remembering what I have already programmed,
where the file is and so on.
You real
On 07/09/2011 09:30 PM, Simon Chamaillé-Jammes wrote:
Dear all,
sorry if this is a bit on the sidetrack for R-help.
As a regular R user I have developed quite a lot of custom R functions,
to the point of not always remembering what I have already programmed,
where the file is and so on.
I was w
I personally place functions like this in my .First function under the
.Rprofile, making them instantly accessible. I also keep a function called
my.fun() which lists a data frame containing a column of all the function
names, one for arguments, and a brief description. This also goes in .Fir
On Sat, Jul 9, 2011 at 2:37 PM, Abhijit Dasgupta, PhD
wrote:
> I think most of us are in a similar situation. I've usually kept mine in a
> file which is sourced when I start R. The main problem I have with this is
> that it clutters up my environment with a lot of stuff I don't need all the
> tim
I think most of us are in a similar situation. I've usually kept mine in
a file which is sourced when I start R. The main problem I have with
this is that it clutters up my environment with a lot of stuff I don't
need all the time. I'm in the process of creating a custom package which
will be l
9 matches
Mail list logo