Skip to content
Back to formatted view

Raw Message

Message-ID: <4f1aa644-a6c0-f1be-2a95-9c55d74af56b@bgc-jena.mpg.de>
Date: 2016-08-30T07:23:09Z
From: Guido Kraemer
Subject: cat(..., append=TRUE) on sftp share

Dear R-SIG-Debian Team,

r-devel sent me to you.

Situation:

Ubuntu 16.04, R-3.3.1, and a file in a folder mounted with sftp via 
gnome virtual file system.

    for(i  in  1:10){cat(i,file  = 
"/run/user/1001/gvfs/sftp:host=server/path on server/test2",append  = TRUE)}

gives a file that reads |10| and not |12345678910|

Further checking:

    * A mapped network drive on Windows 7 and R 3.2.5 works fine.
    * A samba share on a Mac works fine.
    * A samba share on Ubuntu 16.04 works fine.
    * An sftp share on Ubuntu 16.04 does not work, replicated on 2 machines.
    * Handing over a connection to file argument works fine.
    * On the Linux server it worked fine, I am not sure how it is mounted
      there

see also:

https://github.com/klutometis/roxygen/issues/495


Cheers,
Guido


-- 
Guido Kraemer
Max Planck Institute for Biogeochemistry Jena
Department for Biogeochemical Integration
Hans-Kn?ll-Str. 10
07745 Jena
Germany

phone: +49 3641 576293
e-mail: gkraemer at bgc-jena.mpg.de