Thanks, everybody. I'm taking the suggestion Martin offered, since
this thing is required to be named *.txt in the current OpenBUGS.
Solution
Put this at the end of the *.txt file:
# Local Variables:
# mode: R
# End:
That works.
This question was raised by an interesting problem. This might
Do you notice this:
cd into a folder, say "~/tmp/project/R" and start emacs with a file in
there. The working directory correctly shows "~/tmp/project/R".
Then launch an R session. When you quit the R session, and start a new
R session, the working directory changed, it becomes "~/tmp/project".
of the markdown-style commentary?
>
>
Here is an R file that has "Rstudio sections" that begin with #. I just tested
with their gui and the magic recipe for howto is written below. It is
something like
Emacs org mode, I suppose. Code folding. This is an example of a
file that
Greetings.
I want to have ESS know the working directory from shell pwd, I don't
want it to ask me.
I have a setting in my init.el that used to work that way:
;; start R in current working directory, don't let R ask user:
(setq ess-ask-for-ess-directory nil)
Recently, it has stopped working.
sets the default
>> directory to the package directory. It looks like it treats your tmp
>> directory
>> as a package. @Lionel?
>>
>> Vitalie
>>
>>>> On Thu, Nov 30 2017 18:59, Paul Johnson wrote:
>>
>>> Greetings.
>>
>>> I
If Emacs is not asking for starting directory, it is very likely your
init file has this somewhere:
(setq ess-ask-for-ess-directory nil)
On Mon, Sep 11, 2017 at 3:23 PM, Enrico Schumann
wrote:
> On Mon, 11 Sep 2017, Christian writes:
>
>> Hi,
>>
>> I experienced a
I wonder if I've got polymode set up correctly. I have Ubuntu 17.10
Emacs 25.2 Ess 17.11, it works well to edit R files. Today I installed
polymode from melpa,
When I open an Rmd file, I can visually see a difference. The code
chunks are likely shaded areas. Also, some keywords within the R
t a polymode problem. I just don't like
markdown-mode so much.
If anybody has tips for working with Rmd files, I'm all ears at this point.
Best
pj
> Best,
> Ista
>
> On Tue, Feb 6, 2018 at 11:24 AM, Paul Johnson <pauljoh...@gmail.com> wrote:
>> I wonder if I've got polymod
I'm running Ubuntu-18.10 and the new packaging for elpa-ess provides
ESS 18.10. I still like CUA mode rectangles and so I want to remap
C-RET to S-RET.
5 years ago Vitalie S told me how to do that. The stanza in init.el was:
;; Change shortcut "run this line" to use Shift-Return
;; Suggested by
till discussing the change. For now
> just replace "ess-mode" with "ess" and it should be fine. The change to
> *-visibility-* is needed.
>
> In the future release both ess-mode and ess will work.
>
>
> Vitalie
>
> >> On Wed, Oct 24 2018 14
In functions with roxygen examples, until very recently I could run the
examples even though they had the roxygen comment "##'" at the beginning.
Emacs/ESS would, literally, let me do "next" over and over again to run
example code.
Today I realize that does not happen anymore, Emacs/ESS is
On Wed, Jan 30, 2019 at 4:37 PM Alex Branham wrote:
>
> On Wed 30 Jan 2019 at 12:34, Paul Johnson via ESS-help <
> ess-help@r-project.org> wrote:
>
> > In functions with roxygen examples, until very recently I could run the
> > examples even thoug
On Mon, Feb 4, 2019 at 9:22 AM Alex Branham wrote:
>
> > In my init file I have S-RET as the replacement for C-RET, but I've
> tested
> > this both ways and get same behavior. After removing the init file,
> when I
> > do C-RET, then the one line I'm on will run, but the focus jumps over the
>
confidence interval bound
##' @param arrow.width Arrowhead length must be specified in inches. See
?arrows
##' @param width Thickness of shaded column
##' @param col Color for a bar
##' @param opacity 120 is default, that's partial see through.
##' @return NONE
##' @export
##' @author Paul Johnson
14 matches
Mail list logo