[R] Execution of a function

hafida hafida-06 at hotmail.fr
Tue Aug 7 18:26:48 CEST 2012


Hi

>i have  aproblem withe execution of my function
 
>first, i wrote my function in the script of R 
>nom_fonction <- function(arg1[=expr1], arg2[=expr2], ...){ 
bloc d'instructions
}

> when i want to have the result i mean the laste instruction in the bloc of
> instruction ,  i try to
>wrote the name of function

>source(aj.fun)
Error in readLines(file, warn = FALSE) : 'con' is not a connection

>return(aj.fun)
Error: no function to return from, jumping to top level

thanks for helping
hafida, univ of algeria 

 




--
View this message in context: http://r.789695.n4.nabble.com/Execution-of-a-function-tp4639424.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list