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

前端 未结 19 1004
自闭症患者
自闭症患者 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:15

    Just want to add more clarity(scenarios in my experience) to what M Beausoleil mentioned.

    When you are using a shared-working-directory and trying to rewrite the RDS files which are already existing in a working-directory written by some other user, you get this error.

    As some people have already quoted that deleting the existing RDS files or changing the working directory works. It's not a magic. It just works because you are writing a new RDS file and not trying to re-write the old ones.

提交回复
热议问题