Skip to main content
7 events
when toggle format what by license comment
Aug 21, 2016 at 17:12 comment added snoram A friendly tip: I suggest using spaces after , and around = as well as <-. Improves readability. More if interested: google.github.io/styleguide/Rguide.xml
Aug 17, 2016 at 1:01 vote accept Eka
Aug 17, 2016 at 0:52 vote accept Eka
Aug 17, 2016 at 0:58
Aug 16, 2016 at 22:28 comment added flodel If your data is very large, you should consider not writing a function as it will temporarily duplicate your data, which is unnecessarily slow and memory-expensive. Instead, you can just do names(x) <- paste0("column", seq_len(ncol(x))) which will only modify the names attributes of your object and not reassign the data in memory.
Aug 16, 2016 at 16:37 answer added Tolani timeline score: 2
Aug 16, 2016 at 15:34 answer added rcs timeline score: 5
Aug 16, 2016 at 13:54 history asked Eka CC BY-SA 3.0