Advertisement
Guest User

Untitled

a guest
Sep 19th, 2014
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. symb <- "IBM"
  2.  
  3. colnames(paste0(symb)) <- c("Open","High","Low","Close","Volume","Adjusted")
  4.  
  5. df <- get(symb)
  6. colnames(df) <- c("Open","High","Low","Close","Volume","Adjusted")
  7. assign(symb, df)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement