# exrs1.r example print string, integer, float print("R exrs1.r running") str="my string" print(str) n=13 print(n) cat("n=",n,"\n") # optional and redundant, see output x=37.95e+20 print("x=") # only one item allowed print(x) cat("x=",x,"\n") # many items separated by commas print(paste("x=",x), quote=FALSE) # do not print quote character print("exrs1.r finished")