Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

running function

Help
andy
2014-01-27
2014-01-28
  • andy
    andy
    2014-01-27

    Hi all.

    i am new to R.

    I have a function that i have written in tinn.
    if i select the code and click the R:send button, the whole script executes just fine in the RGui.

    however if i am in the gui and type xxx<-myfunction() i get the message "Error: could not find function "myfunction".

    if i type list.files() at the command prompt i see myfunction.R in the list.

    Can someone help me work out what i am missing? I am sure it is very obvious, but i am stuck.

    Thanks
    andy