I am very new to R. I am looking to write a query, for example
hello_world<- c(1,2,3,4)
hi_world <- c(5,6,7)
x<- c(paste("hello","world",sep="_"),paste("hi","world",sep="_"))
I have stored the previously defined variable names as string inside the variable x
Now from x, how can I call out the any of the 2 variables so that it displays
5 6 7
If I call x[2] which is actually hi_world?