# we use a pair of cruly brackets my_function<-function(x,y,z){ # line 1 # line 2 # line 3 # more }