How to save lasso datapoint into a R object for downstream analysis

I have created the scatter plot as https://plot.ly/r/shinyapp-plotly-events/
and using lasso or box, I get those datapoint I want to exclude return on
screen. I am just wondering if there is a way to save the return point
into R directly as a vector for downstream processing. At the moment, I
need to cut and paste those return value into a text file… I guess
there must be a better wat to do so. Many thanks for your help.