[ESS] ESS-help Digest, Vol 107, Issue 19

Serdar akin1876 at gmail.com
Mon Jan 23 20:27:52 CET 2012


On 2012-01-23 16.39, ess-help-request at r-project.org wrote:
> Send ESS-help mailing list submissions to
> 	ess-help at r-project.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://stat.ethz.ch/mailman/listinfo/ess-help
> or, via email, send a message with subject or body 'help' to
> 	ess-help-request at r-project.org
>
> You can reach the person managing the list at
> 	ess-help-owner at r-project.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ESS-help digest..."
>
>
> Today's Topics:
>
>     1.  Automatic insertion of space after comma in iESS mode
>        (Aleksandar Blagoti?)
>     2. Re:  Integration of Sweave R and ESS (Mathieu Basille)
>     3. Re:  Automatic insertion of space after comma in iESS mode
>        (Vitalie Spinu)
>     4. Re:  public git mirror? (Rodney Sparapani)
>     5. Re:  public git mirror? (Rodney Sparapani)
>     6. Re:  Automatic insertion of space after comma in iESS mode
>        (Richard M. Heiberger)
>     7. Re:  Automatic insertion of space after comma in iESS mode
>        (Aleksandar Blagoti?)
>     8. Re:  Automatic insertion of space after comma in iESS mode
>        (Heinz Tuechler)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 23 Jan 2012 15:09:27 +0100
> From: Aleksandar Blagoti?<aca.blagotic at gmail.com>
> To: ess-help at r-project.org
> Subject: [ESS] Automatic insertion of space after comma in iESS mode
> Message-ID:
> 	<CAL8dPfftXkQZojkWuwuZre-dyb+pVoQmGiuigXrmsTkBXhJADA at mail.gmail.com>
> Content-Type: text/plain
>
> After recent upgrade I noticed that ESS inserts space after comma by
> default, which is really frustrating, especially because I tend to insert
> space manually, and end up with two spaces after comma, which is quite
> ugly. I can't seem to find a variable that holds reference to this feature.
> Any ideas?
>
> aL3xa
>
> 	[[alternative HTML version deleted]]
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 23 Jan 2012 09:35:30 -0500
> From: Mathieu Basille<basille at ase-research.org>
> To: ess-help at r-project.org
> Subject: Re: [ESS] Integration of Sweave R and ESS
> Message-ID:<4F1D7032.8060708 at ase-research.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Dear Serdar,
>
> I'm not sure I understood your question perfectly, but I have the following
> code in my .emacs to integrate Sweave with AucTEX:
>
> (setq TeX-file-extensions
>         '("Snw" "Rnw" "nw" "tex" "sty" "cls" "ltx" "texi" "texinfo"))
> (add-to-list 'auto-mode-alist '("\\.Rnw\\'" . Rnw-mode))
> (add-to-list 'auto-mode-alist '("\\.Snw\\'" . Snw-mode))
> (add-hook 'Rnw-mode-hook
> (lambda ()
>     (add-to-list 'TeX-command-list
> 	       '("Sweave" "R CMD Sweave %s"
> 		 TeX-run-command nil (latex-mode) :help "Run Sweave") t)
>     (add-to-list 'TeX-command-list
> 	       '("LatexSweave" "%l %(mode) %s"
> 		 TeX-run-TeX nil (latex-mode) :help "Run Latex after Sweave") t)
>     (add-to-list 'TeX-command-list
> 	       '("RubberSweave" "rubber -d %s&&  xpdf '%s.pdf'" TeX-run-command
> nil t) t)
>     (setq TeX-command-default "Sweave")))
>
> You can skip the rubber line if you're not using it. What it does is
> allowing the user to Sweave a Rnw document using a plain 'C-c C-c' as one
> would do to compile a LaTeX document.
>
> See here for more details:
> https://sites.google.com/site/andreaskiermeier/essmaterials
> (I can see that the code has been updated)
>
> Does this help?
> Mathieu.
>
>
> Le 21/01/2012 09:09, Serdar a ?crit :
>> Hi,
>>
>> I'm using ESS under Windows and want to know if there is someone that know
>> a good macro for running first Sweave then pdflatex. I have found one on
>> the but that uses R CMD Sweave command and due to some restriction I cannot
>> load Rtools nor GnuWin or alike to execute similar commands. I it possible
>> to run Rnw-file in R first than pdflatex afterwards in one Emacs macro.
>>
>> Regards Serdar
>>
>> ______________________________________________
>> ESS-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
Hi,

This works on my mac at home, but from at my workplace we are not 
allowed to work with UNIX or Linux so we have to use Windows. Hence 
there is no terminal where I can use R CMD Sweave %, yet. But we have R 
and can use the Sweave command,  but how do a adjust the code given for 
this?

Serdar



More information about the ESS-help mailing list