similar to: calling sweave function from LaTex re directories, formatting

Displaying 20 results from an estimated 1000 matches similar to: "calling sweave function from LaTex re directories, formatting"

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
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
2001 Jan 18
1
ESS Default function template for R
Colleagues ---------------------------------- System info: R version rw1020 on NT ESS using emacs ver. 20.4 ~/.emacs ; Default function template (setq ess-insert-function-templates t) ---------------------------------- When loading a new function into the R workspace using ctrl-CD I would like the default function template to come up, rather than a blank buffer. I thought I had the Default
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 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
2000 Nov 29
1
matlab to R / 2
Colleagues, Thanks for the suggestions concerning reading matlab files into R 1. Regarding documentation for the format of matlab files, please see two manuals that I picked up from the matlab websites. The name of the files are: api_guide.pdf api_ref.pdf Use your web browser to access these files in my FTP directory <ftp://ftp.niwa.cri.nz/incoming/mcclatchie> under the appropriate
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
2001 Jun 29
2
Re: ESS and R ver 1.3.0/ graph menu/ save PDF
"SM" == S McClatchie <S.McClatchie> writes: > > SM> I notice that the new option under R ver. 1.3.0 to save a > SM> graph as a pdf file from the graph window menu (file/ save as/ SM> > PDF) works differently (extremely slowly) under ESS, whereas SM> it is > almost instant from the R- gui. > > SM> Does the feature not work
2003 Oct 19
0
Oceanographic lattice plots
System info: Red Hat 9.0 R Version 1.8.0 ESS 5.1.21 Emacs 21.2.1 ------------------- Hello I've been working with Paul Murrell here in New Zealand to develop plots of temperature and density profiles at 22 stations spanning a frontal zxone, and then overlaying the isothermal and mixed layer depths (similar to Kara et al. 2003 JGR Oceans 108(C3) pg. 24-5, figure 2). Paul Murrell has a
2001 Apr 01
1
ylab/ expression/ superscript to a bracket
Colleagues ---------------------------------- System info: R version rw1022 on NT ESS v. 5.1.18 using emacs ver. 20.4 ---------------------------------- I have some rather unusual units for acoustic volume backscattering integrated over several metres depth and 10 transmits (which happens to = 160 m along transect). I need to express these units in a graph label. My problem
2002 Sep 17
2
legend in image()
System info: Linux slackware R Version 1.5.1 (2002-06-17) ESS 5.1.21 Emacs 21.2.1 ------------------- Colleagues Is there a way to add a legend to an image plot? I don't see any reference to legends in the documentation (so I suppose the answer is no?). Although the documentation says image takes plot() parameters, it isn't clear to me how the usual use of legend in a plot command
2003 Oct 01
3
problem downloading Red Hat R-1.7.1-1.i386.rpm
System info: Red Hat 9.0 R Version 1.7.0 ESS 5.1.21 Emacs 21.2.1 ------------------- Colleagues At work I've had to migrate from Mandrake 9.1 to Red Hat 9.0 and I'm reinstalling R. I am having a problem downloading from R-1.7.1-1.i386.rpm from /bin/linux/redhat/9/i386. Basically the download does not complete. I am using mozilla, and when I click on the link the screen corrupts with
2001 Feb 26
1
trying to find the function banking()
Colleagues ---------------------------------- System info: R version rw1020 on NT ESS using emacs ver. 20.4 ---------------------------------- Can anyone please tell me where to find the function "banking()" containing Cleveland's solution to optimising graph aspect ratio? It is mentioned in Venables and Riply 1994, pg. 112, Ex. 3.7, q. 3.5. I have not found it (or perhaps
2001 May 31
1
graph/save file/jpeg/slow
Colleagues ---------------------------------- System info: R version rw1022 on NT ESS v. 5.1.18 using emacs ver. 20.4 ---------------------------------- I notice that saving a file from the menu bar in the graph window to 100% quality jpeg is very slow (more than 2 minutes). Is this something to be avoided? I know I can save the graph with postscript() in the script, or cut and paste into
2003 Jan 16
1
help.start() setup with netscape
System info: Mandrake 9.0 R Version 1.6.1 ESS 5.1.21 Emacs 21.2.1 ------------------- Colleagues I understand that help.start() search function works with netscape and although it may also work with latest versions of mazilla it doesn't seem to with the one I'm using (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826). I thought that there were instructions for setting
2003 May 13
1
how to upgrade R/ linux/ mandrake/ readme suggestion
System info: Mandrake 9.0 R Version 1.7.0 ESS 5.1.21 Emacs 21.2.1 ------------------- Colleagues The R-team has done a great job of making it easy to upgrade to current versions of the R-language using the rpms for linux. I have a minor suggestion for the readme file <Mandrake-Readme.txt> where the mandrake linux binaries reside <http://www.cran.r-project.org/>. The readme at the
2002 Sep 09
3
loading data from a specified directory
System info: Linux slackware R Version 1.5.1 (2002-06-17) ESS 5.1.21 Emacs 21.2.1 ------------------- Colleagues I have some text files in a certain directory and want to process them sequentially. So I want to pass the filename identifier into a function and loop through the processing of each file in turn.I've called the file identifier f in this code segment: image.dvm <- function
2001 Jan 18
0
summary/ returning variables from subfunction
Colleagues ---------------------------------- System info: R version rw1020 on NT ESS using emacs ver. 20.4 ---------------------------------- Below is a summary on returning variable from subfunction, Thanks to Brian Ripley and Douglas Bates: To access the variables within a function, return a list or data structure assigned to a variable in the calling function. For more than one varaible,