Message-ID: <CAP01uRmyip-B4dux6U+cxzXaCt0B=GfFAveTtp1BrWoUQzbtBQ@mail.gmail.com>
Date: 2011-07-31T23:39:42Z
From: Gabor Grothendieck
Subject: Display/show the evaluation result of R commands automatically
In-Reply-To: <CAPzsQz5-8+1Bdq=HkS3=aR_7vwEG0NN-HxFZ4wMSi80qAO4uaQ@mail.gmail.com>
On Sun, Jul 31, 2011 at 7:15 AM, Anthony Ching Ho Ng
<anthony.ch.ng at gmail.com> wrote:
> Hello R-help,
>
> I wonder if it is possible to configure R, so that it will
> display/show the evaluation result of the R commands automatically
> (similar to the behavior of Matlab)
>
> i.e. If I type x <- 8
>
> it will print 8 in the command prompt, instead of having type x
> explicitly to show the result and perhaps put an ";" at the end to
> suppress the output.
>
> i.e. x <- 8;
>
Not quite the same but perhaps good enough is that at the console this
will give you the last value:
.Last.value
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com