# NOTE: The use of "if(interactive())" prevents this example from running
# during automated CRAN checks. This is necessary because the example
# opens a file, a behavior restricted by CRAN policies for automated
# testing.You don't need to use "if(interactive())" in your own scripts.
if(interactive()) {
# Open a PDF file.
f_open_file("example.pdf")
# Open an image file.
f_open_file("image.png")
# Open a text file.
f_open_file("document.txt")
}
Run the code above in your browser using DataLab