R: display vector in input format -


this question has answer here:

is there r function displays vector in 'input' format?

for example if

x <- sprintf("%s",seq(1:3))

then function produce

>unknown_function(x) [1] c("1", "2", "3") 

as per d.b's comment

unknown_function <- function(x){cat(deparse(x))} 

Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -