[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: R scratch buffer
From: |
Benoit G. |
Subject: |
Re: R scratch buffer |
Date: |
Fri, 13 Jul 2012 05:46:17 -0700 (PDT) |
User-agent: |
G2/1.0 |
On 13 juil, 14:32, "Pascal J. Bourguignon" <p...@informatimago.com>
wrote:
> "Benoit G." <benoit.gous...@gmail.com> writes:
> > On 13 juil, 12:12, "Pascal J. Bourguignon" <p...@informatimago.com>
> > wrote:
> >> "Benoit G." <benoit.gous...@gmail.com> writes:
> >> > Thank you again for this fast answer.
>
> >> > The problem is that calling M-x R-mode under emacs usually works.
> >> > But while calling R-mode with .emacs, it don't work anymore. And my
> >> > R-scratch buffer is still in fundamental mode.
>
> >> > If I find any answer, I will post it.
>
> >> Perhaps M-x R-mode RET asks for parameters? Type C-h f R-mode RET and
> >> see what's its usage.
>
> > C-h f R-mode returns :
>
> > "
> > R-mode is an interactive compiled Lisp function in `ess-r-d.el'.
> > (R-mode &optional PROC-NAME)
> > Major mode for editing R source. See `ess-mode' for more help.
> > "
>
> > and ess-mode returns (first lines) :
>
> > "
> > R-mode is an interactive compiled Lisp function in `ess-r-d.el'.
> > (R-mode &optional PROC-NAME)
> > Major mode for editing R source. See `ess-mode' for more help.
> > "
>
> > I don't think it needed any required argument but I may be wrong...
>
> Indeed, (R-mode) should work.
>
> M-x toggle-debug-on-error RET
> and try again.
>
> --
> __Pascal Bourguignon__ http://www.informatimago.com/
> A bad day in () is better than a good day in {}.
The problem seems to be solved.
I added (require 'ess-site) in the .emacs file and the code you
published in the second message and the R-scratch buffer is
automatically created in R-mode while opening emacs. I guess this
solve the problem.
Thank you for helping !
- R scratch buffer, Benoit G., 2012/07/12
- Re: R scratch buffer, Pascal J. Bourguignon, 2012/07/12
- Re: R scratch buffer, Benoit G., 2012/07/13
- Re: R scratch buffer, Benoit G., 2012/07/13
- Re: R scratch buffer, Pascal J. Bourguignon, 2012/07/13
- Re: R scratch buffer, Benoit G., 2012/07/13
- Re: R scratch buffer, Pascal J. Bourguignon, 2012/07/13
- Re: R scratch buffer, Benoit G., 2012/07/13
- Re: R scratch buffer, Pascal J. Bourguignon, 2012/07/13
- Re: R scratch buffer,
Benoit G. <=