Displaying 20 results from an estimated 10000 matches similar to: "Setting locale to support UTF-8"
2013 Jan 09
3
Sweave, Texshop, and sync with included Rnw file
Hello everyone.
I am in the process of writing a book in Latex with Texshop, on Mac.
This book contains a lot of R code, hence the need to use Sweave.
I was able to compile Rnw files, and to sync back and forth from the pdf to the source Rnw.
My problem now is that the book is divided in Chapters, and every chapter is in its own Rnw file.
I can compile them from the main one (book.Rnw) using the
2008 Oct 11
6
Sweave-LaTEX question
Hi:
I am working on a publication and I have heard about LaTEX but I haven't actually tried to learn about it until today. I've found a few examples but I can't actually make them work properly. I have a couple of questions:
Does LATEX have to be installed on your computer? How does the xtable package and Sweave work together? How can I make the code below create a table as pdf file?
2010 May 12
1
Input encoding problem when using sweave with xetex
Hello
Because I want to use different true type fonts with latex, I''m using the
XeTeX typesetting engine for my sweave-documents. I''m using Lyx with Sweave
on a Windows 7 PC and have set up LyX to work with XeTeX according to the
following instructions:
http://wiki.lyx.org/LyX/XeTeX
Because the input file for XeTeX is assumed to be in UTF-8 encoding, I set
the encoding
2011 Mar 26
1
Sweave and Textwrangler
Hi,
I am trying to get TextWrangler to work with LaTeX and Sweave. Ideally
I would call a script from TextWrangler that would run Sweave on a
document, then LaTeX (using SyncTeX), and finally
open the corresponding pdf in Skim. Of course I don't always need to
run Sweave and would be looking for the option of LaTeX -> Open. I
found this http://www.xs4all.nl/~msneep/latex/ but it
2008 Nov 29
3
including Sweave tangled code in '.Rnw' document
Hello List,
I have been using Sweave for my homework this last quarter and have been
very impressed at how much time and effort it saves me. I, however, have
run up against a problem which I have not been able to solve using any of
the Sweave/LaTeX tricks I know. I work through my homework one problem at a
time, typesetting equations and writing R code, etc. and occasionally use
2013 Mar 13
0
sync+Rnw+TeXShop, again
Hi All --
I'm not sure this is the natural place for this question, but this list is
the place with the best Sweave-TeXShop-sync discussion so far.
My problem is that sync+Sweave+TeXShop works sometimes and not others, and
it's not consistent. The failure, in which sync from PDF opens the .tex
file instead of the .Rnw file, always comes after a code chunk.
If I start from a simple
2007 Feb 15
1
Proper way to typeset the symbol for R in LaTeX?
Hoping this is not off topic...
I am in the process of writing some tutorials for my students for
learning R, and naturally I'm using Sweave for this. So suddenly a
question occurred to me: LaTeX has a recommended way of typesetting
the TeX and LaTeX symbols, via the \TeX and \LaTeX commands. Is there
a similar command for the R symbol, or in general are there any
2012 Feb 14
3
configure lyx2.0.2 with sweave in windows 32 bit.
I am using R 2.14.1. I am trying to configure Lyx with Sweave. I have read
articles but I found none to be complete and I cannot import sweave
document in lyx . Can anyone please help me with a stepwise procedure how to
configure Lyx with Sweave so that I can run my R-code chunks from LYX ,the
output being a pdf.?
Thanks in advance.
-Atanu
--
View this message in context:
2008 Feb 29
8
Running LaTeX dvi previewer on MacOS X
Several people have given great advice on how to successfully use X11 on
Mac to so we can use the dvi previewer to view latex() output from
Hmisc. Now after a version upgrade of X11 and X11sdk we are getting
lots of crashes. I noticed a Mac dvi previewer with an executable
stored as /Applications/TeX/TeXShop.app/Contents/MacOS/TeXShop
Can we bypass X11 problems and point Hmisc to this
2004 Apr 26
1
need settings for the listings package
Hi,
I am typesetting R code in TeX using the listings package. I have
experimented with various settings for the text, but all look a bit
ugly. This might be because I have no typographic experience ;-)
I would really appreciate if people sent me the settings they use for
the listings package (eg in the \usepackage line, or \lstset, I am
thinking about choices for basicstyle, ... etc). I
2009 Sep 28
1
Sweave, TEXINPUTS problem
Hi,
I'm trying to use Sweave in my .tex-documents using
\usepackage{Sweave}
notation. I have this line in my .bash_profile
export TEXINPUT=.:/Users/jrara/Library/Frameworks/R.framework/Resources/share/texmf:$TEXINPUTS
When trying to typeset this .tex document, I get an error message saying
ERROR: LaTeX Error: File `Sweave.sty' not found.
I tried to google this problem but could not
2009 Jun 15
2
Sweave template
Dear Group,
I have made significant improvements to our Sweave template, have made
the template self-contained (i.e., you can run it yourself and it will
find the datasets it needs), and have included the output pdf file.
This is at http://biostat.mc.vanderbilt.edu/SweaveTemplate . You will
see in the pdf file the enhancements in how R code is pretty-printed,
and I have added an example
2005 Feb 23
4
Sweave and \input or \include LaTeX commands
Hello!
I was just wondering if Sweave can work with \input or \include
LaTeX commands. So, is it aware of such a possible hierarchy in
documents. I would test that, but I don't have such a report
available at the moment.
I thought of that when I was writting shell script for Sweave
from command line and I have solved that part there.
--
Lep pozdrav / With regards,
Gregor GORJANC
2006 May 31
2
Bitmap device available for R CMD check?
Hi,
I have a package that I'd like to submit to CRAN that does Sweave-like
processing on Open Document format files from Open Office.
If I remember correctly, there is a machine that automatically R CMD
checks CRAN packages. I have two questions about how that system is set
up:
1. Is the bitmap device available? The example produces a file using
this device and I'd like it to pass R
2005 May 03
1
Rd.sty error
I had written a vignette and included a
\usepackage{Rd} command to make it possible to include
latex'ed Rd files in the vignette. However, when loading
Rd.sty texShop produces the following error:
l. 180 ...d}[1]{\ifmmode\bm{#1}\else\textbf{#1}\fi}
This is on Max OS X 3.9 and R 2.0.1
Has anyone seen this before and/or is it problematic? I'm not sure whether
the output suffers from this
2009 Aug 27
1
set pdf.options() encoding to UTF-8
Dear all
Can anyone point to a list of valid pdf.options() encodings? I checked
?pdf and ?postscript, but they do not quite answer my questions. I
would like to try UTF-8 instead of the default "ISOLatin1.enc" for
Sweave plots (I have issues with Greek characters in labels).
Thank you
Liviu
--
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
2008 May 26
1
Sweave does not respect width
Hello,
I'm learning to use Sweave, and I've run into a problem: sometimes, when
entering long lines of input and using long variable names, Sweave will not
insert linebreaks in a way that respects the width setting. This causes
undesirable overflows into the margins in the latex file. For example,
consider the following document (adapted from the GLM example):
\documentclass{article}
2008 May 16
1
Sweave.sty problems under WinXP (English locale) with default settings
Hi R-devels,
I encounter the following problem when I want to build a vignette
in the package building process under Windows
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor
2008 Oct 13
2
Sweave from Kile
Hello
Does anybody have experience with Sweave run from Kile? I'm trying to
make it run but have problems and don't know if the instructions are
false or I do something wrong (my knowledge in bash and shell is too low
to understand it)...
I discovered recently Sweave and wanted to run it from my latex editor,
Kile. I found and followed these instructions:
> If you want to be able
2005 Jul 11
1
Sweave and complex numbers
Hi
When using Sweave, most of my functions get called with complex
arguments.
They get typeset in with additions that I don't want; "1+1i" appears
as "1 + (0 + 1i)"
and I would rather have plain old "1+1i".
Example follows:
\documentclass[a4paper]{article}
\title{A Test File}
\author{Robin Hankin}
\usepackage{a4wide}
\begin{document}
\maketitle
A