[R] Create macro_var in R

Amoy Yang amoy_y at yahoo.com
Wed Feb 3 18:41:25 CET 2016


 There is a %LET statement in SAS: %let MVAR=population; Thus, MVAR can be used through entire program.
In R, I tried MAVR<-c("population"). The problem is that MAVR comes with double quote "...." that I don't need. But MVAR<-c(population) did NOT work out. Any way that double quote can be removed as done in SAS when creating macro_var?
Thanks in advance for helps!
Amoy


	[[alternative HTML version deleted]]



More information about the R-help mailing list