# [ESS] ESS and Sweave

Shige Song shigesong at gmail.com
Fri Apr 23 16:21:29 CEST 2010

Hi Seb,

Here is the very simple file I used to do this:

---------------------------------------
\documentclass[12pt]{article}

%\usepackage{tikz}
%\usepackage{fullpage}
\usepackage{Sweave}

\begin{document}

This document outlines the analysis to be carried out to look at the
relationship between prenatal famine exposure and fetal loss risk.

\end{document}
-----------------------------------------

Shige

On Fri, Apr 23, 2010 at 9:06 AM, Seb <spluque at gmail.com> wrote:
> On Fri, 23 Apr 2010 06:24:47 -0400,
> Shige Song <shigesong at gmail.com> wrote:
>
>> Dear All, I have a problem with ESS+Sweave. I can sweave my .Rnw file
>> with "M-n s" fine, but when I try to create and display a PDF file
>> with "M-n p", I got error message ".pdf": exited abnormally with code
>> 2". This probably means something wrong in the ESS file "ess-swv.el",
>> but since I don't know much about elisp, I cannot solve this
>> problem. I hope somebody can give me a hand with this.
>
> Can you please show a test *.Rnw file to be able to reproduce?
>
> --
> Seb
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>