error in file(out, “wt“): cannot open the connection

This error is prompting us: The file cannot open the link, which may be one of the following reasons:

  1. The file does not exist or the path is wrong;
  2. The file is being used by another program;
  3. Insufficient permissions to access the file;
  4. Insufficient hard disk memory;

Ways to try:

  1. You can check whether the file path is correct to ensure that the file is not occupied by other programs;
  2. Check that you have sufficient permissions to access the file, and make sure the hard drive has enough space;

If this error occurs when you do not execute any statement, at this time, the general reason is insufficient memory space.

Can try

dir.create(tempdir())

For the time being.

reference:

error in file(out, "wt") : cannot open the connection - CSDN文库

Guess you like

Origin blog.csdn.net/u011375991/article/details/132022869