I have this function:
func<-function(name){ paste(\"Your name is. . .\") Sys.sleep(1.5) paste(name) }
This function obviously wo
Just wrap your desired output in a print statement:
print
func<-function(name){ print("Your name is. . .") Sys.sleep(1.5) print(name) } #Execute Function func("Martin") [1] "Your name is. . ." [1] "Martin"