The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Stack data type as an ‘R6’ class
An extremely simple stack data type, implemented with ‘R6’ classes. The size of the stack increases as needed, and the amortized time complexity is O(1). The stack may contain arbitrary objects.
source("https://install-github.me/gaborcsardi/rstack")
library(rstack)
<- stack$new()
S $push(1L)
S$peek() S
#> [1] 1
$pop() S
#> [1] 1
$size() S
#> [1] 0
$push(NULL)
S$push(iris)
Scolnames(S$pop())
#> [1] "Sepal.Length" "Sepal.Width" "Petal.Length" "Petal.Width" "Species"
$peek() S
#> NULL
MIT © Mango Solutions, Gábor Csárdi
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.