R - write() a file to a SAMBA share
I have a file loaded in R that I want to move to a samba share It is something like write(some-file, file = "|smbclient -U user //ip password") It connects to the samba but then (I think) the output is "executed" in the smb: \> and I don't want the file to be executed, I don't know how to pass the file to the destination with a put function inside smbclient. Edit: This is not the same problem as the first post. The first post is solved and answered by me. The point there was connecting to samba. Now I'm already connected to it but the write() function doesn't make a file, instead it pipes out