In this program, You will learn How to initialize more than one variable at a time in R.

**R Example:** How to initialize more than one variable at a time in R

1 2 3 4 5 6 7 8 9 |
x = y = z = 20 print(paste("x value is :",x)) print(paste("y value is :",y)) print(paste("z value is :",z)) |

**Output:**

1 2 3 4 5 6 7 8 9 10 11 12 13 |
> x = y = z = 20 > > print(paste("x value is :",x)) [1] "x value is : 20" > > print(paste("y value is :",y)) [1] "y value is : 20" > > print(paste("z value is :",z)) [1] "z value is : 20" > |

## Add comment