rstack: Stack Data Type as an 'R6' Class

> 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