On Mon, Feb 11, 2013 at 5:20 PM, Michael Holt <MHolt at terapeak.com>
wrote:> I've been searching for information on using deques in R for the past
couple of days. What little I've found has pointed me towards either the
Rcpp package or the cpp project on R-forge
(https://r-forge.r-project.org/projects/cpp/), but I've had trouble finding
working examples. Are these the best ways to go about trying to implement a
deque in R and does anyone have examples of how to do so?
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
It appears there was a package called Containers that implemented a
deque (and other things):
http://cran.uvigo.es/web/packages/Containers/
but I can't find it on CRAN now...
http://cran.r-project.org/web/packages/Containers/
so you could hook the code out of the archives and find out if it still works...
Barry