[ESS] Xemacs Rnw strange file display

A.J. Rossini blindglobe at gmail.com
Thu Mar 31 09:22:17 CEST 2005


It would be helpful to know version of ESS, (X)Emacs, and which
operating system you are using.  What line-coding is reportedly being
used by Emacs for this file?
(and what locale are you using, if a Unix-type OS?)

On Wed, 30 Mar 2005 22:13:54 -0600, Wang, Zhu <zhuw at mail.smu.edu> wrote:
> Dear all,
> 
> When I open the file obtained from the link
> 
> http://www.ci.tuwien.ac.at/~leisch/Sweave/example-1.Snw
> 
> The file looks like this:
> 
> \documentclass[a4paper]{article}\title{Sweave Example
> 1}\author{Friedrich Leisch}\begin{document}\maketitleIn this example we
> embed parts of the examples from the\texttt{kruskal.test} help page into
> a \LaTeX{}
> document:<<>>=data(airquality)library(ctest)kruskal.test(Ozone ~ Month,
> data = airquality)@which shows that the location parameter of the Ozone
> distribution varies significantly from month to month. Finally weinclude
> a boxplot of the
> data:\begin{center}<<fig=TRUE,echo=FALSE>>=boxplot(Ozone ~ Month, data =
> airquality)@\end{center}\end{document}
> 
> My Xemacs ~/.xemacs/init.el followed exactly as
> http://www.ci.tuwien.ac.at/~leisch/Sweave/sweave-site.el. My questions
> is why I have the so strange file format without any line break for Rnw files (since I have
> tried other Rnw/Snw files). But if I open some file.R R scripts, for example, I don't have
> such file display and the line breaks appear as expected.
> 
> Thanks,
> 
> Zhu Wang
> 
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
> 


-- 
best,
-tony

"Commit early,commit often, and commit in a repository from which we can easily
roll-back your mistakes" (AJR, 4Jan05).

A.J. Rossini
blindglobe at gmail.com




More information about the ESS-help mailing list