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

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -