Displaying 20 results from an estimated 1000 matches similar to: "Setting up Xemacs + Sweave"
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 Nov 13
1
Can't get Sweave syntax highlighting with Emacs
I can't get Emacs to automatically do syntax highlighting of
Sweave files. I have followed Friedrich's suggestion for code
to insert into my .emacs file. The complete section from my .emacs
file is given below. When I load a *.Snw file, font is white until I press
M-x, then the first code and document chunks get highlighted, but not
the rest of the file. Latex and Noweb menus are
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 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
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
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
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
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
2012 Jan 24
1
Sweave driver extension
Almost all of the coxme package and an increasing amount of the survival
package are now written in noweb, i.e., .Rnw files. It would be nice to
process these using the Sweave function + a special driver, which I can
do using a modified version of Sweave. The primary change is to allow
the following type of construction
<<coxme>>
coxme <- function(formula, data, subset, blah blah
2010 Apr 14
0
Processed: submitter 252771, submitter 268152, submitter 312829, submitter 418048, submitter 436960 ...
Processing commands for control at bugs.debian.org:
> submitter 252771 Goswin von Brederlow <goswin-v-b at web.de>
Bug #252771 [bsign] FTBFS: wrong architecture
Changed Bug submitter to 'Goswin von Brederlow <goswin-v-b at web.de>' from 'Goswin von Brederlow <brederlo at informatik.uni-tuebingen.de>'
> submitter 268152 Goswin von Brederlow <goswin-v-b at
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
2008 Jun 17
3
Sweave: problem with usepackage{C:/PROGRA~1/R/R-27~1.0/share/texmf/Sweave}
R users,
I'm at a loss with a problem considering running .tex files produced
by Sweave. When I run (R 2.7.0):
---------------------------------------------------
#Taken from ?Sweave
testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils")
## enforce par(ask=FALSE)
options(device.ask.default=FALSE)
## create a LaTeX file
Sweave(testfile)
2008 Aug 05
4
literate programming
I'm working on the next iteration of coxme. (Rather slowly during the summer).
This is the most subtle code I've done in S, both mathematically and
technically, and seems a perfect vehicle for the "literate programming" paradym
of Knuth. The Sweave project is pointed at S output however, not source code.
I would appreciate any pointers to an noweb type client that was
2023 Nov 29
1
Code editor for writing R code
Presumably there's nothing stopping you *writing* LaTeX in comments
-- do you want a code editor that will render and display the LaTeX as
you write? (Or am I misunderstanding something?)
Does anyone do classic literate programming *sensu* Knuth any more?
https://rpubs.com/bbolker/3153
https://cran.r-project.org/web/packages/noweb/vignettes/noweb.pdf
On 2023-11-29 10:57 a.m.,
2001 Dec 26
1
ESS 5.1.19 w/Xemacs 21.4.6
Probably wrong group for this, but a quick question. I've just switched
from emacs to Xemacs. In reinstalling ESS 5.1.19 I keep getting the
following error when loading Xemacs:
"Error in init file: Symbol's function definition is void: w32-using-nt"
I've debugged the ess-site.el file, which is where the error originates
from. The line causing the difficulty is:
2003 May 26
1
portupgrade issue
I am running 4.8-STABLE.
I recently did a cvsup (repeatedly, most recently today). Ever since,
portupgrade dies with the following messages:
zircon# portupgrade -r pkgconfig
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:310:in `deorigin': failed to
convert nil into String (PkgDB::DBError)
from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:903:in
`tsort_build'
from
2002 Oct 10
1
problem with Sweave on 1.6 on NT4
Hi,
I recently compiled 1.6 on NT4 but
I am having a problem with Sweave.
Using the inbuilt 'Sweave-test-1.Rnw' file as an example:
-------
> library(tools)
> testfile <- file.path(.path.package("tools"),
"Sweave", "Sweave-test-1.Rnw")
## create a LaTeX file
Sweave(testfile)
testfile <-
2006 Jul 05
2
Editors which have strong/solid support for SWeave?
Greetings!
I have a few colleagues who like the idea of Sweave, but have failed
to become enlightened monks of the One True Editor
(http://www.dina.dk/~abraham/religion/)
Are there any other Microsoft-centric editors or IDEs which have solid
support for writing SWeave documents (dual R / LaTeX enhancements
similar to ESS's support)? Has anyone tried the folding editors which
support Noweb?
2003 Apr 01
1
[OFF]- Xemacs, delete key and ESS
Hi,
I use R with XEmacs and ESS, when I'm editing a R file in XEmacs, the delete
key work like the Backspace key.
This behaviour is only in XEmacs + ESS + R file, it dont have this behaviour
on a R section (M+R).
Anybody know how to make a delete key to work like the delete key??
ESS 5.1.20-2
XEmacs 21.4.6-8
Thanks for all
--
You will always have good luck in your personal affairs.
--
2009 Jul 27
2
noweb and R
I'm working on the next release of coxme (ready to start some testing), and
have written major chunks of it using noweb -- very similar to Sweave except I'm
generating code and documentation for the code rather than vingetes.
The question: I have directory with .Rnw objects and a Makefile therein that
generates most of the .R files. I don't see any guidance in the documentation