Dear R-users,

I want to give a try to Sweave and Latex but I am having some problems
compiling my .Rnw files within Kile. I have followed the recommendations
given in http://tolstoy.newcastle.edu.au/R/e5/help/08/10/4277, but they do
not seem to address my particular problem.

I am using R 2.11.0 and Kile v 2.0.83 on an OpenSUSE11.2 installation (KDE
4.3 environment). According to the log (see below), Kile is unable to locate
the Sweave.sty file (which is actually stored in /usr/lib/R/share/texmf/).

Any advise would be welcome.

Sebastien



 *****

***** Sweave output:

***** cd "/home/sebastien/Documents/scaRabee/scaRabee_latex"

***** sweave -ld scaRabee.Rnw

*****

Run Sweave and postprocess with LaTeX directly from the command line

- create PDF via pdflatex

 R version 2.11.0 Under development (unstable) (2010-02-17 r51148)

Copyright (C) 2010 The R Foundation for Statistical Computing

ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.

You are welcome to redistribute it under certain conditions.

Type 'license()' or 'licence()' for distribution details.

 Natural language support but running in an English locale

R is a collaborative project with many contributors.

Type 'contributors()' for more information and

'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or

'help.start()' for an HTML browser interface to help.

Type 'q()' to quit R.

> Sweave(file='scaRabee.Rnw');

Writing to file scaRabee.tex

Processing code chunks ...

You can now run LaTeX on 'scaRabee.tex'

>

LaTeX on produced TeX files

- using hardcoded list of 'pdfLaTeX and friends' commands

PDF creation

This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)

%&-line parsing enabled.

entering extended mode

(./scaRabee.tex

LaTeX2e <2005/12/01>

Babel <v3.8l> and hyphenation patterns for english, usenglishmax,
dumylang, noh

yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek, ibycus,
ar

abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish,
dutc

h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman,
mono

greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian,
la

tin, mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese, romanian,
rus

sian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turkish,
ukenglis

h, ukrainian, uppersorbian, welsh, loaded.

(/usr/share/texmf/tex/latex/base/article.cls

Document Class: article 2005/09/16 v1.4f Standard LaTeX document class

(/usr/share/texmf/tex/latex/base/size10.clo))

(/usr/share/texmf/tex/latex/ucs/ucs.sty

(/usr/share/texmf/tex/latex/ucs/data/uni-global.def))

(/usr/share/texmf/tex/latex/base/inputenc.sty

(/usr/share/texmf/tex/latex/ucs/utf8x.def))

(/usr/share/texmf/tex/latex/amsmath/amsmath.sty

For additional information on amsmath, use the `?' option.

(/usr/share/texmf/tex/latex/amsmath/amstext.sty

(/usr/share/texmf/tex/latex/amsmath/amsgen.sty))

(/usr/share/texmf/tex/latex/amsmath/amsbsy.sty)

(/usr/share/texmf/tex/latex/amsmath/amsopn.sty))

(/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty)

(/usr/share/texmf/tex/latex/amsfonts/amssymb.sty)

(/usr/share/texmf/tex/latex/base/fontenc.sty)

(/usr/share/texmf/tex/latex/graphics/graphicx.sty

(/usr/share/texmf/tex/latex/graphics/keyval.sty)

(/usr/share/texmf/tex/latex/graphics/graphics.sty

(/usr/share/texmf/tex/latex/graphics/trig.sty)

(/usr/lib/texmf/tex/latex/config/graphics.cfg)

(/usr/share/texmf/tex/latex/pdftex-def/pdftex.def)))

! LaTeX Error: File `Sweave.sty' not found.

Type X to quit or <RETURN> to proceed,

or enter new name. (Default extension: sty)

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to