View source: R/seek_seeds.R View source: R/_old_seek_seeds.R
seek_seeds_word | R Documentation |
Iterate over a vector of seeds to find a magic number for your word of choice.
Iterate over a vector of seeds to find a magic number for your word of choice.
seek_seeds_word(.seeds, .word, .eval = "seq", cl = NULL, .progress = FALSE)
seek_seeds_word(.seeds, .word, .eval = "seq", cl = NULL, .progress = FALSE)
.seeds |
vector of seeds to iterate over, e. g. 0:1e5 |
.word |
word of choice that you want to find a magic number for |
.eval |
type of evaluation: "seq" uses parallel::lapply(), "par" uses clusterApply, "future" uses future.apply::future_lapply |
cl |
cluster object for clusterApply(). cl <- makeCluster(parallelly::availableCores(omit = 1)) |
.progress |
Show progress bar (TRUE) or not (FALSE); ignored if .eval = "par" |
Currently no useful return value. In case of success, calculation stops, the magic number (seed) is displayed in the console.
Currently no useful return value. In case of success, calculation stops, the magic number (seed) is displayed in the console.
seek_seeds_word(0:1e3, "ab")
seek_seeds_word(50000:70000, "xmas", .eval = "par", cl)
seek_seeds_word(50000:70000, "xmas", .eval = "future", cl)
seek_seeds_word(0:1e3, "ab")
seek_seeds_word(50000:70000, "xmas", .eval = "par", cl)
seek_seeds_word(50000:70000, "xmas", .eval = "future", cl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.