Rscript -e 'per<-function(x){n2.5*sei)d1=as.Date(lim[1])&q$date<=as.Date(lim[2]),];u<-u[is.finite(u$price.x)&is.finite(u$price.y),];y