This may be a silly question as I am new to R. I wrote a function that sums the square of two inputs. but I can't figure out how to directly use the function every time I open R without first running the function's script. Any help is appreciated.
sum.of.squares <- function(x,y) {
x^2 + y^2
}