Displaying 20 results from an estimated 2000 matches similar to: "Working comfortably with (X)Emacs + Sweave"
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
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
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
2006 Oct 13
2
cygwin script for Sweave
below is a very simple bash script to run Sweave from a cygwin terminal, run pdflatex on
the generated .tex file, and then view the resulting .pdf output.
i usually use cygwin when i am (forced to be on) Windoze, but i found a few issues
with paths that this script works around.
pdfview, used in the script, is simply:
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)
2011 Apr 20
1
Sweave
Hello,
I never used Sweave before but now I try and got:
>
> rnwfile <- system.file("Sweave", "example-1.Rnw", package = "utils")
> Sweave(rnwfile)
Writing to file example-1.tex
Processing code chunks with options ...
1 : echo term verbatim
2 : term verbatim pdf
You can now run (pdf)latex on 'example-1.tex'
>
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
2009 Dec 17
2
Sweave Makefile issue
Dear R-specialists,
I am trying to create a Makefile that will first convert all my .Rnw
files into .tex files and then, that will run the LaTeX compiler to
produce a pdf document. This issue has been discussed before. Hence,
I've basically adapted a Makefile I found at
http://n4.nabble.com/R-Sweave-R-and-complex-latex-projects-td810020.html#a810023
to make it compatible with a Windows
2011 Jan 03
23
Managing cronjobs as a file in solaris with appendifnosuchline for specific servers
I want to manage cronjobs as a " file " in solaris through puppet and
not using the puppet cron resource.
I will be managing the file /var/spool/cron/crontabs/root.
I want the cron file to be same across all servers except some servers
will have additional cron entries.
How can I append to the file /var/spool/cron/crontabs/root , something
like appendifnosuchline in cfengine?
Can
2006 Nov 23
2
Sweave question
I try Sweave
and get Sweave-test-1.tex
but hot to run LaTeX on 'Sweave-test-1.tex'?
I am using WinEdt.
thanks,
Aimin
> Sweave(testfile)
Writing to file Sweave-test-1.tex
Processing code chunks ...
1 : print term verbatim
2 : term hide
3 : echo print term verbatim
4 : term verbatim
5 : echo term verbatim
6 : echo term verbatim eps pdf
7 : echo term verbatim eps pdf
2011 Apr 25
1
possible minor doc clarification?
Good afternoon,
As a clarification does it make sense to remove the second 'not' in the 'See
Also' documentation for file_test ?
Kind regards,
Sean O'Riordain
-----
Index: src/library/utils/man/filetest.Rd
===================================================================
--- src/library/utils/man/filetest.Rd (revision 55639)
+++ src/library/utils/man/filetest.Rd
2006 Feb 03
3
rubystandard library question
I have a problem getting find.rb and fileutils.rb to coexist in the
same script. When I require both I get the following:
/usr/lib/ruby/1.8/find.rb:36:in `dup'': can''t dup NilClass
(TypeError)
from /usr/lib/ruby/1.8/find.rb:36:in `find''
from /usr/lib/ruby/1.8/find.rb:36:in `find''
I googled for this problem and did not come across any place
2010 Aug 19
5
Does anyone use Sweave (RweaveLatex) option "expand=FALSE"?
I am trying to improve the error reporting in Sweave documents, so that
if you have a syntax error in a code chunk, it will tell you which line
of your input file contained the error.
For example, currently you get this:
Error: chunk 1 (label=named)
Error in parse(text = chunk) : unexpected symbol in "x <- foo bar"
Execution halted
and I'd like errors to be more like this:
2012 Jul 17
8
How to override $::operatingsystem fact
Hi,
I want to introduce "Proxmox" as new value in $::operatingsystem.
"Proxmox" is based on Debian, so the normal value is currently "Debian".
To change that, I just write a custom fact based on the facter fact
"operatingsystem"
Facter.add(:operatingsystem) do
> ...
> setcode do
> ...
> elsif
2003 Aug 24
2
wxRuby 0.1.0 Alpha has been released!
http://rubyforge.org/project/showfiles.php?group_id=35&release_id=46
The code itself has been quite stable for several weeks. This release
includes Gour''s excellent MinGW README notes, along with various updates
to the README, and clarification of the LICENSE.
Thanks to everyone for your help in putting this together. It was
definitely a team project. I look forward to getting lots
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)
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
2008 May 21
4
Sweave / Latex per-chapter output
Dear R-help,
I am using Sweave and pdflatex to generate a large report from data
contained in my database (Postgres via RODBC). Currently, I work with
a single R/Sweave file, containing several "chapter" indications for
the Latex engine. My master tex file sets the document class, and
includes the introduction, the main Sweave file, and a conclusions and
reference file. I use a makefile
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
2002 May 15
3
Processing "vignette" files
Is there any way to process the "vignette" documantation files?
I have been looking at the bioconductor packages and most of them have
*.Rnw files in doc directories. They look like regular TeX but have
sections showing R code that seem to choke TeX.
Thanks,
Andy
__________________________________
Andy Jaworski
Engineering Systems Technology Center
3M Center, 518-1-01
St. Paul, MN