Thank you, Professor Ripley. It is exactly what I need.
Best wishes!
Leon
Prof Brian Ripley wrote:
> By reading from a file or connection, as in
>
> foo <- scan("", "", n=1)
> c:\tmp\foo
>
> The parser always interprets \ in strings, so you must avoid the parser.
>