rstack: Stack Data Type as an 'R6' Class
- CRAN: http://cran.r-project.org/web/packages/rstack/index.html
- GitHub: https://github.com/MangoTheCat/rstack
> library(rstack)
バージョン: 1.0.0
関数名 | 概略 |
---|---|
stack |
A stack data type, implemented as an R6 class |
stack
> S <- stack$new()
Error in stack$new: object of type 'closure' is not subsettable
> S
Error in eval(expr, envir, enclos): object 'S' not found
> S$pop()
Error in eval(expr, envir, enclos): object 'S' not found
> S$push(NULL)
Error in eval(expr, envir, enclos): object 'S' not found
> S$push(iris)
Error in eval(expr, envir, enclos): object 'S' not found
> colnames(S$pop())
Error in is.data.frame(x): object 'S' not found
> S$peek()
Error in eval(expr, envir, enclos): object 'S' not found