I am new to R language. I came to a situation where I need to fill the zero at alternate Position in the vector. for Example:

```
v<-c(1,2,3,4,5,6,7,8,9,10)

```

I need the new vector like 

```
0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10

```

I tried with for loop to fill the zero but I am not able to do.