You provided the answer in your question. Try get
.
> get(x)
[1] 1 2 3
More Related Contents:
- Aggregate / summarize multiple variables per group (e.g. sum, mean)
- Collapse / concatenate / aggregate a column to a single comma separated string within each group
- Order Bars in ggplot2 bar graph
- Filter data.frame rows by a logical condition
- Find complement of a data frame (anti – join)
- Subset data frame based on number of rows per group
- Evaluate expression given as a string
- Pass a data.frame column name to a function
- Drop data frame columns by name
- What is the difference between require() and library()?
- How to sort a character vector where elements contain letters and numbers in R?
- Plot two graphs in same plot in R
- Add column which contains binned values of a numeric column
- Replace all 0 values to NA
- How to find common elements from multiple vectors?
- Using R to download zipped data file, extract, and import data
- Generate multiple graphics from within an R function
- How does one reorder columns in a data frame?
- Group by multiple columns in dplyr, using string vector input
- Scheduling R Script
- Calculate group mean, sum, or other summary stats. and assign column to original data
- What are the main differences between R data files?
- How to filter a data frame
- rank and order in R
- How to convert character of percentage into numeric in R
- How to subtract years?
- Create categorical variable in R based on range
- Apply several summary functions (sum, mean, etc.) on several variables by group in one call
- Order of operator precedence when using “:” (the colon)
- Test if an argument of a function is set or not in R