inst/roxygen-examples/dot-read_line-example.R

# Reads a line from the console
# (only run interactively)
if (interactive()) {
  name <- .read_line("What's your name? ")
  cat("Hello,", name, "\n")
}

Try the causalDisco package in your browser

Any scripts or data that you put into this service are public.

causalDisco documentation built on April 13, 2026, 5:06 p.m.