[R] run a slef-written function

Sarah Goslee sarah.goslee at gmail.com
Tue Mar 15 15:53:03 CET 2011


source("myfunction.R") is the usual approach. You could also
just copy your code and paste it into the R console.

Sarah

On Tue, Mar 15, 2011 at 9:21 AM, bra86 <anastasia.krikovtseva at tugraz.at> wrote:
> How could one get started with a self-written function?
> I have a function written in .txt format, but can not find the way to import
> it to the R space.
> Would be very appreciated for help.


-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list