Description Usage Arguments Note
This function executes ImageMagick commands to generate covers. It is a complex function.
1 2 | makeCommandsCovers(df, sdir = "./", odir = "./", stockdir = "originals/",
exec = FALSE)
|
df |
The author/title dataframe that we'll loop through. |
sdir |
The working directory, we need to be in this directory to perform ImageMagick functions. It is much easier to set now than screw with path later. |
odir |
The out directory. As in, where you want your new files to go. |
stockdir |
The directory that leads to the stock images that we'll be working with. |
exec |
Set to false; set to true will attempt to execute the commands in the system() interface. |
If exec=TRUE breaks/crashes R, you may need to make sure that R can find ImageMagick, and can also find ghostscript. The easiest way, on a Mac, is to use MacPorts. Install ImageMagick; if it doesn't work, install ghostscript. Consult the internet.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.