Re: [R] writing to the screen and extra "0"

2013-07-01 Thread Thomas Grzybowski
Rui Barradas Em 01-07-2013 19:23, Thomas Grzybowski escreveu: I am using the "write" function like so (R 3.0.1 on linux): "wrt" <- function() { write(system("ls *"),file="") } When the files are listed to the screen with wrt(), there is a &quo

[R] writing to the screen and extra "0"

2013-07-01 Thread Thomas Grzybowski
, when I remove the 'file=""' argument to "write", a file named "data" is created in my default directory, with a zero in it. All I am trying to do is output the "ls" of files in my directory, without any extra characters or type-attribute inf