add polling to the R layer in w2vec