similar to: Can't get Sweave syntax highlighting with Emacs

Displaying 20 results from an estimated 2000 matches similar to: "Can't get Sweave syntax highlighting with Emacs"

2004 Feb 26
2
Sweave and Xemacs on Windows2000?
Hallo! Trying to configure Xemacs to work with .snw files on windows 2000. Tried to do it how it is described in the FAQ for Sweaves. When starting xemacs with and Snw file *ESS* buffer contains hundrets of lines and the few last ones. (ess-loop-timeout . 500000) (inferior-ess-primary-prompt . ^) (inferior-ess-secondary-prompt . ^) (comint-use-prompt-regexp-instead-of-fields . t)
2003 Apr 23
1
Setting up Xemacs + Sweave
Dear list, I have tried to setup my Xemacs for use with Sweave, which I indend to learn. I have followed the instructions in the Sweave FAQ, that is to say, I put (defun Rnw-mode () (require 'ess-noweb) (noweb-mode) (if (fboundp 'R-mode) (setq noweb-default-code-mode 'R-mode))) (add-to-list 'auto-mode-alist '("\\.Rnw\\'" . Rnw-mode)) (add-to-list
2002 Jul 17
1
editing Sweave files in xemacs with ess (noweb), auctex and reftex
I am having some trouble getting reftex, in particular the bibtex related features, to work properly in xemacs when editing text in Sweave files. I have added (defun Rnw-mode () (noweb-mode) (if (fboundp 'R-mode) (setq noweb-default-code-mode 'R-mode))) (add-to-list 'auto-mode-alist '("\\.Rnw\\'" . Rnw-mode)) (add-to-list 'auto-mode-alist
2003 Feb 10
0
calling sweave function from LaTex re directories, formatting
System info: Mandrake 9.0 R Version 1.6.1 ESS 5.1.21 Emacs 21.2.1 ------------------- Colleagues I have followed suggestions by David Whiting, Friedrich Leisch and Frank Harrell, but have a few more queries. 1. On formatting: I added the suggested sweave customization to my .emacs file ; Sweave customisation (defun Rnw-mode () (require 'ess-noweb) (noweb-mode) (if (fboundp
2003 Apr 30
2
Working comfortably with (X)Emacs + Sweave
Dear List, I am trying to become more familiar with Sweave at the moment, beacuse I am convinced that it will eventually make my life easier. However, I have not found anything relevant in the mail archives about the following problem. Both the article in R-News and the Sweave FAQ suggest that Emacs would be a great development environment for working with Sweave. So far, it doesn't seem to
2007 Jun 20
1
Help With Sweave:
Hi All, I am running Ubuntu Feisty (7.04) on a Thinkpad T41. I've installed the nowebm package for Ubuntu. Working from this HowTo: http://www.ci.tuwien.ac.at/~leisch/Sweave/example-1.Snw I try to compile the example *.Snw as in the Sweave manual: mdj at lapmdj:~/Desktop/Sweave/example1$ noweb example-1.Snw Can't open output file Despite the error, a *.tex file is produced. Now I am
2006 Mar 14
3
rails on emacs - need a working .emacs sample
I would like to hear from some one who has ecb, multiple modes with ruby mode + html mode, rails mode all working together and playing well. I had ecb working with Ruby syntax highlighting. That was a no-brainer since I just had to apt-get them on my Debian Sarge box. It got a bit more comlex after I got most of the .el files in the articles http://www.emacswiki.org/cgi-bin/emacs/RubyOnRails
2004 Jan 15
3
Extracting multiple elements from a list
For a long time I've wanted a way to conveniently extract multiple elements from a list, which [[ doesn't allow. Can anyone suggest an efficient function to do this? Wouldn't it be a sensible addition to R? For example, alist <- list() alist[[1]] <- list() alist[[1]]$name <- "first" alist[[1]]$vec <- 1:4 alist[[2]] <- list() alist[[2]]$name <-
2008 May 03
1
ESS and Xemacs version 21.5.28
Hi, When I start Xemacs version 21.5.28 (in Unix), using the init.el: (setq bell-volume 0) (setq sound-alist nil) (setq grep-find-use-xargs nil) (require 'ess-site) I get the following error: (1) (initialization/error) An error has occurred while loading $home/.xemacs/init.el: Cannot open load file: "ess-site" Backtrace follows: signal(file-error ("Cannot open
2007 May 18
1
How to extract R codes that embedded in a HTML file
> -------- Original Message -------- > Subject: Re: [R] How to extract R codes that embedded in a HTML file > using Stangle? > Date: Thu, 17 May 2007 17:01:30 +0000 > From: Tao Shi <shitao at hotmail.com> > To: ligges at statistik.uni-dortmund.de, lecoutre at stat.ucl.ac.be > CC: r-help at stat.math.ethz.ch > : <jmcconnell at
2006 Feb 05
30
Emacs rails.el
Features: * Management WEBrick - start, stop * Viewing log files * Abbrev from TextMate * Switching between View/Action http://www.emacswiki.org/cgi-bin/emacs/rails.el
2009 Jan 19
1
Sweave encoding problem
Hello, Sweave seems to have trouble processing german letters in R. For example, my noweb R-input looks like this. <<>>= Oberfl?chenfehler = c(4, 11, 6, 2, 7, 9) @ If I send it through Sweave, I get the following error message. error: chunk 1 Error in parse(text = chunk) : unexpected input in "Oberfl??" extra: Warning message: In readLines(f[1]) : underfull last line in
2007 Feb 08
3
coding style
Dear developers, I would like to make the following additions to the section on coding style to developers.txt. Any objections / comments ? -- Peter Index: docs/developers.txt =================================================================== --- docs/developers.txt (revision 799) +++ docs/developers.txt (working copy) @@ -154,6 +154,10 @@ off the right margin of the screen, expect them to
2004 Jul 05
1
Apparent conflict between \Sexpr in Sweave and R2HTML
I have come across an apparent bug in the operation of Sweave. If I load the package R2HTML then execution of \Sexpr{} in an *.Rnw file no longer works. The \Sexpr{} code is simply written to the *.tex file. Below are my *.Rnw file, commands, and output. The Sweave file, Sweave-test-1_short.Rnw: % -*- mode: noweb; noweb-default-code-mode: R-mode; -*- \documentclass{article} \title{A Test
2015 Jan 05
2
[LLVMdev] [PATCH] Fix Emacs package formatting
Hi I'd like users to be able to install the LLVM major modes from MELPA[1], the most popular Emacs package repository. However, these files are not well-formed packages. I've made the following changes: * Both files have valid package headers and footers (you can verify with M-x checkdoc). * Fixed style warnings generated by checkdoc. * Fixed a byte-compiler warning in llvm-mode.el. *
2003 Aug 20
0
end-of-loop-timeout problem and submit-bug-report output (resending) (PR#3841)
(Hi, I tried sending this to ess-bugs, but got it bounced back: "user unknown". Hope this isn't too off-topic for ess-help. Scot) I'm using Xemacs 21.4, ess 5.1.24, on Windows 98 SE, with John Fox's configuration files: (http://socserv.mcmaster.ca/jfox/Books/Companion/ESS/index.html) and am getting the end-of-loop-timeout warning message I've seen reported to
2006 Apr 08
5
rails.el on Ubuntu
Anybody who have a working .emacs (++) for Ubuntu (or Debian) with the newest emacs-rails (v.0.3). I have especially trouble with getting HTML Mode Snippets to work. - Henrik
2009 Aug 11
1
[PATCH libguestfs] doc: improve emacs snippets
I've made some local commits that introduce TABs as indentation, and thus provoke a "make syntax-check" failure. This would have prevented it: >From 4740b66adc5985d9a72a7648aa60c5389ffc31af Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Tue, 11 Aug 2009 09:53:16 +0200 Subject: [PATCH libguestfs] doc: improve emacs snippets * HACKING: Make (setq
2006 Apr 19
4
emacs rails 0.39
Testing version of Emacs Rails (http://rubyforge.org/projects/emacs-rails/) was released. If you have some suggestion or you find some bugs please inform us. Features: * Management of WEBrick/Mongrel * Display color log file * Toggle Switch between Action/View and other file (tests, helpers) automaticly or with menu * Switching to file from current line f.e. from redirect_to :controller =>
2005 Jul 27
4
LyX and Sweave
>>>>> On Mon, 25 Jul 2005 14:12:41 +0200, >>>>> Gorjanc Gregor (GG) wrote: > Hello R-users! > I have tried to use Sweave within LyX* and found two ways to accomplish > this. I have attached LyX source file for both ways as well as generated > PDFs. I have copied Gregor's files at http://www.ci.tuwien.ac.at/~leisch/Sweave/LyX for those who