I was trying the xkcd font as per the instructions given in the vignette: vignette(\"xkcd-intro\")
However get an error on the following step:
Are you sure it's not supposed to be xkcd.ttf
instead of xkcd.tff
?
I'm fairly certain that cp SOURCE OPTION DESTINATION
is not a legal use of cp
on any Unix system. In fact, since you're copying only one file, you don't even need the -t
option. It should probably just be system("cp xkcd.ttf ~/.fonts/")
.