Use the character.only
argument
foo <- "ggplot2"
library(foo,character.only=TRUE)
More Related Contents:
- Convert string to a variable name
- Making a string concatenation operator in R
- Removing html tags from a string in R
- How to split a string into substrings of a given length? [duplicate]
- How to convert variable (object) name into String [duplicate]
- Remove all special characters from a string in R?
- Getting and removing the first character of a string
- pass character strings to ggplot2 within a function
- Insert a character at a specific location in a string
- Convert R vector to string vector of 1 element [duplicate]
- as.numeric with comma decimal separators?
- Count word occurrences in R
- converting datetime string to POSIXct date/time format in R
- Select rows from data.frame ending with a specific character string in R
- Extract numeric part of strings of mixed numbers and characters in R
- Use character string as function argument
- How can I remove repeated characters in a string with R?
- Number of Occurrences of a Character in NSString
- How to collapse a list of characters into a single string in R
- Split a character vector into individual characters? (opposite of paste or stringr::str_c)
- Repeat and concatenate a string N times
- Remove last character from string. Swift language
- Extract the first (or last) n characters of a string
- Insert line breaks in long string — word wrap
- How to combine multiple character columns into a single column in an R data frame
- Ignore escape characters (backslashes) in R strings
- How to get the number of characters in a string
- Extract characters that differ between two strings
- Create new column in dataframe based on partial string matching other column
- Split string in Lua?