Read-only file system

Hello, I'm unable to knit or create any files.
Seeing this error:
Error in readLines(con, warn = FALSE) : cannot open the connection
Calls: ... partition_yaml_front_matter -> grep -> read_utf8 -> readLines
In addition: Warning messages:
1: In file.create(output) :
cannot create file '', reason 'Read-only file system'
2: In readLines(con, warn = FALSE) :
cannot open file '': No such file or directory
Execution halted

Project url:

Something similar to me when I render any graphic and some glitch is in the command. I only came across a solution: delete the project, create a new one and pull it again from github.

I am sorry you are having issues with
I haven't been able to track down any issues with your project, are you still experiencing the same problem? If so, are you able to open the Terminal tab? If you are, could you run df -h and then report the output?

After posting I went back and looked under Session to see what I could do. I restarted R a few times... and after about 3 tries I had write access again.

Not sure how or why it happened.

Hi Josh,

I am experiencing this problem now with Here is the output of df -h:

Filesystem      Size  Used Avail Use% Mounted on
overlay         125G   23G  103G  18% /
tmpfs            64M     0   64M   0% /dev
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/nvme0n1p1  125G   23G  103G  18% /opt/R
/dev/nbd6       2.7G  4.4M  2.6G   1% /home/rstudio-user
/dev/nbd4       2.7G   42M  2.5G   2% /cloud/project
shm              64M     0   64M   0% /dev/shm
/dev/nbd5       2.7G  303M  2.3G  12% /home/rstudio-user/R
/dev/nbd7       2.7G   34M  2.5G   2% /home/rstudio-user/.rstudio
tmpfs            16G     0   16G   0% /proc/scsi
tmpfs            16G     0   16G   0% /sys/firmware

Today it seems to be not a problem any longer. I didn't do anything to fix it.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.