select.disk.frame | R Documentation |
Please see the dplyr document for their usage. Please note 'chunk_arrange' performs the actions within each chunk
## S3 method for class 'disk.frame' select(.data, ...) ## S3 method for class 'disk.frame' rename(.data, ...) ## S3 method for class 'disk.frame' filter(.data, ...) ## S3 method for class 'disk.frame' mutate(.data, ...) ## S3 method for class 'disk.frame' transmute(.data, ...) ## S3 method for class 'disk.frame' arrange(.data, ...) chunk_arrange(.data, ...) ## S3 method for class 'disk.frame' distinct(...) chunk_distinct(.data, ...) ## S3 method for class 'disk.frame' glimpse(.data, ...)
.data |
a disk.frame |
... |
Same as the dplyr functions |
library(dplyr) cars.df = as.disk.frame(cars) mult = 2 # use all any of the supported dplyr cars2 = cars.df %>% select(speed) %>% mutate(speed2 = speed * mult) %>% filter(speed < 50) %>% rename(speed1 = speed) %>% collect # clean up cars.df delete(cars.df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.