Not able to install xkcd fonts

前端 未结 3 572
挽巷
挽巷 2021-01-19 11:59

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:



        
3条回答
  •  梦毁少年i
    2021-01-19 12:10

    @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")

提交回复
热议问题