r - How to insert output into command line / function -


i have output ("1b" "2b" "3b" ... "40b") values inserted function further calculations. prepping values following code.

# delete column names names(profile.ab)  <- null # insert comma between values  (profile.ab<-sub("([[:digit:]]{1,1})$", "\\1,", profile. ab)) # remove comma last item profile.ab [50] = "2" # remove quotations noquote(profile. ab) # delete leading bracketed numbers cat(profile.ab, "\n") 

at point cutting , pasting laborious task. need list redirected function automatically.

thank you


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -