Is there a way to find to see what is the time taken to perform certain operation in R. I know we can use system start time and end time. But is there another way to do this. Something like timetaken(fun(3,4))
for example
fun <- function(x,y){
c = x + y
return(c)
}
fun(3,4)
7