From brian at braverock.com  Tue Nov  5 14:30:14 2013
From: brian at braverock.com (Brian G. Peterson)
Date: Tue, 05 Nov 2013 07:30:14 -0600
Subject: [Rd] cat with backspace and newline characters
In-Reply-To: <21112.61708.698124.149056@stat.math.ethz.ch>
References: <CAHavPHGe1A7R6RxD45exQnq7zJXWatiKQ8rR7SiFJBE2RGVQDQ@mail.gmail.com>
	<CADv2QyG6Nvn+YJ46Pz5PF7FqB9Q-LnEeLE4_EAgfVgBKo+EakA@mail.gmail.com>
	<CAHavPHH7VMYxBLjJsDO_2wwS-tC=gwbHiMfXVeP4fhXPZiJwNg@mail.gmail.com>
	<CAH7sKSN6a7ObU8g7xXf+fHq0cdMeKvsr7PSsorhNZ=DP3Pf8Ow@mail.gmail.com>
	<21112.61708.698124.149056@stat.math.ethz.ch>
Message-ID: <5278F2E6.5070200@braverock.com>

On 11/05/2013 07:22 AM, Martin Maechler wrote:
> which --- as you allude to below --- shows that  RStudio  has changed R
> in so far that it adds a '\n'  even when R, i.e.  cat()  does not.
>
> I can understand that the RStudio programmers want to protect
> their users (*) from getting funny looking output,
> but I still don't like the fact that R inside RStudio is tweaked
> to behave differently from regular R.

No, it just suggests exactly what Prof. Ripley alluded to...

... the output of cat() will be dependent on the display terminal.

RStudio doesn't include R at all, and in fact makes use of the/any R 
binary installed via other processes.  It is not 'tweaked'.

It *does* include a 'terminal' to display the interactions with the R 
console.

Regards,

Brian

-- 
Brian G. Peterson
http://braverock.com/brian/
Ph: 773-459-4973
IM: bgpbraverock



[Rd] cat with backspace and newline characters
Brian G. Peterson