If its just a matter of suppressing the warning see:
?suppressWarnings
On 5/26/05, Tuszynski, Jaroslaw W. <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to write a function to read in a whole text file as a single
> string ( so I can calculate its "sha1" hash function using package
> "digest")
Hello,
You can append an end-of-line character in your file doing :
> sink("test2.xml",append=TRUE)
> cat("\n")
> sink()
Romain
Le 26.05.2005 15:17, Tuszynski, Jaroslaw W. a écrit :
Hi,
I am trying to write a function to read in a whole text file as a single
string ( so I can calculate its "
Hi,
I am trying to write a function to read in a whole text file as a single
string ( so I can calculate its "sha1" hash function using package
"digest"). I need a single string containing the whole file, and so far I
was using paste(readLines(fileName), collapse = ""). Unfortunately this
function