I'm operating on some data that looks like below: dataFrame
the command that I'm performing is :
library(magrittr)
#subsetting the data for MAC-OS & sorting by event-timestamp.
macDF <- eventsDF %>%
SparkR::select("device", "event_timestamp") %>%
SparkR::filter("device = macOS") %>%
SparkR::arrange("event_timestamp")
display(macDF)
And the error I get is:
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'arrange': unable to find an inherited method for function ‘filter’ for signature ‘"character", "missing"’
Some(<code style = 'font-size:10p'> Error in h(simpleError(msg, call)): error in evaluating the argument 'x' in selecting a method for function 'arrange': unable to find an inherited method for function ‘filter’ for signature ‘"character", "missing"’ </code>)
Any help would be appreciated, Thanks!