noquote() function in R Language is used to prints strings without quotes.
Syntax: noquote(x) Parameters: x: character vectorExample 1:
# R program to illustrate
# noquote function
# Getting letters without the help
# of noquote() function
letters
# Getting letters with the help
# of noquote() function
noquote(letters)
[1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s" [20] "t" "u" "v" "w" "x" "y" "z" [1] a b c d e f g h i j k l m n o p q r s t u v w x y zExample 2:
# R program to illustrate
# noquote function
# Initializing a string
x <- "GFG"
# Getting the string without the help
# of noquote() function
x
# Getting the string with the help
# of noquote() function
noquote(x)
[1] "GFG" [1] GFG