5 Useful R Commands for Working with Big Data

BY IN Code, R, Tutorials NO COMMENTS YET ,

5 useful R commands for working with big data 1. View a large object (big RData file called object for example) in a manner similar to less in command line. page(object, method=”print”) 2. Listing top n objects in memory. rev(sort(sapply(ls(envir=globalenv()), function(x) { object.size(get(x,env=globalenv())) })))[1:n] 3. Remove all objects except for those contained in a set

CONTINUE READING …