Save gist files to disk
Arguments
- gist
A gist object or something coerceable to a gist
- path
Root path to write to, a directory, not a file b/c a gist can contain many files. A folder is created with name of the gist id within this root directory. File names will be the same as given in the gist.
- x
An object of class
gist_files
(the output fromgist_save()
Details
gist_save
: files are written into a new folder, named by the gist id,
e.g., a65ac7e56b7b3f746913
gist_open
: opens files in your editor/R GUI. Internally, uses
file.edit()
to open files, using getOption("editor")
to
open the files. If you're in R.app or RStudio, or other IDE's, files will
open in the IDE (I think).