a <- c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)b <- c(1, 2, 3, 4)print(a+b)
Standard input is empty
[1] 2 4 6 8 6 8 10 12 10 12
Warning message: In a + b : longer object length is not a multiple of shorter object length
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!