View source: R/program_management.R
| unset_program | R Documentation |
unset_program() forgets the location that set_program() saved for a
program. After that, find_ffmpeg() and the other find_*() functions look
for the program on the PATH only.
unset_program(program)
program |
A string naming the program to forget. One of |
The call deletes the file that holds the location. It does not ask you to
confirm first. It does not remove the program, and it does not change the
PATH. A program on the PATH is still found afterwards.
If no location is saved for the program, the call gives a warning and
returns FALSE. It does not give an error, because the program is already
forgotten.
The call also clears a location saved by a version before 0.2.0. See the
section "Locations saved by earlier versions" in find_ffmpeg().
Invisibly, TRUE when the call removed a saved location, and FALSE
when there was none to remove.
set_program() to save a location, and program_status() to see
where the package finds each program.
Other program management functions:
find_ffmpeg(),
install_on_win(),
program_status(),
set_program()
## Not run:
# Forget a location set_program() remembered, so that find_mediainfo() goes
# back to answering from the PATH
unset_program("mediainfo")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.