Error in gzfile(file, “wb”): cannot open the connection or compressed file

前端 未结 19 1256
自闭症患者
自闭症患者 2021-02-05 06:49

I\'m trying to run two things: first, I\'m creating a PDF with 4x5, ending with dev.off(), and then trying to create a new graph. However, after starting the second plot, I get:

19条回答
  •  自闭症患者
    2021-02-05 07:23

    I just ran into this problem after changing my system locale. Check your locale using Sys.getlocale(). Change it to appropriate one using Sys.setLocale("LC_ALL","ENG") (replace "ENG" with appropriate one)

    I can't say with certainty which locale would be appropriate, but it seems to be coherent with default OS one.

    Hope this helps!

提交回复
热议问题