I was trying the xkcd font as per the instructions given in the vignette: vignette(\"xkcd-intro\")
vignette(\"xkcd-intro\")
However get an error on the following step:
@dg99 is correct but the issue is that the filename changes in the documentation
download.file("http://simonsoftware.se/other/xkcd.ttf", dest="xkcd.ttf", mode="wb") system("cp xkcd.tff -t ~/.fonts")
Change the second line to: system("cp xkcd.ttf -t ~/.fonts")
system("cp xkcd.ttf -t ~/.fonts")