You are attempting to append data to a file saved on an external storage mount point and are getting an error message:
OSError: [Errno 95] Operation not supported.
The error occurs when trying to append to a file from both Python and R.
Direct appends and random writes are not supported in FUSE v2, which is available in Databricks Runtime 6.0 and above. This is by design.
The underlying storage that is mounted to DBFS does not support append. This means that Databricks would have to download the data, run the append, and reupload the data in order to support the command. This works for small files, but quickly becomes an issue as file size increases. Because the DBFS mount is shared between driver and worker nodes, appending to a file from multiple nodes can cause data corruption.