\Resources\examples).
Sweave no longer depends on specific layouts. This is a significant
change in LyX 2.0.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Thu, May 12, 2011
--Paths--Temporary
directory. You need to restart LyX after modifying this setting and
make sure the directory exists.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Fri, May 13
Hi Amy,
It will help a lot if you can post the detailed message when you ran
Sweave in LyX. You can turn on the message panel by the menu
View--View messages, then take a look at the log message there.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Sun, May 22, 2011 at 9:55 AM, Lucas lth...@mail.unomaha.edu wrote:
Is it possible to have a SWeave chunk inside an enumerate
,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Sun, May 22, 2011 at 6:57 PM, Lucas lth...@mail.unomaha.edu wrote:
Yihui Xie xie at yihui.name writes:
Hi,
I think you can
--compact-vignettes in R CMD build). Graham, is your script portable
to Windows and Mac? Could you share it with us? Maybe we can propose
this feature to LyX developers. It will be definitely helpful.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
OK, I see. Thanks!
Both qpdf or pdftk can be used to compress PDF files. It is still
unclear to me which one is better.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Mon
I would recommend you to look at the LaTeX source (View -- View
Source) in that buggy chapter too. I feel it might be due to the
encoding or language setting (are you sure it is also UTF8 and the
language setting is Chinese?)
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web
, but I don't know which encoding is
correct for German. What was the error message (View--View
Messages) in R? (not warnings) Did it say something like iconv()
failed?
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State
] to be ISO-8859-15, which
is obviously not a directory name.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Tue, Jun 7, 2011 at 6:22 AM, Franz Jimeno jimenofranci...@uniovi.es
lines -- LyX treats this
paragraph as if it had three words so the space will be extremely
wide. But again, this is no big deal, since we can use inter-word
spaces \ instead of ordinary spaces to make the document look
better (inter-word spaces do not get stretched).
Regards,
Yihui
--
Yihui Xie
I guess this converter needs Rscript to be in your PATH variable.
Furthermore, you'd better put Sweave.sty in your texmf tree.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
=diff(bluebird)[,1],x=diff(bluebird)[,2],ylab='CCF', main =
'no special characters here')
2. use sanitize=TRUE in your chunk options (so that will be replaced
by \); see ?sanitizeTexString in the tikzDevice package for details
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web
Is there a converter from Sweave to LaTeX? Check it in the menu
Tools--Preferences--Converters. Normally you should have at least
four converters from Sweave to different types of LaTeX output.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department
define these converters, but I do not
want to mess up with your LyX configurations. You may come back to me
if you really cannot solve the problem.
BTW, are you sure the bin path of R is in your PATH? try this in a
command window (Start--Run; cmd):
Rscript --version
Regards,
Yihui
--
Yihui Xie
another Rscript.exe or Rscript.bat
elsewhere. We have got too many instructions on how to configure
Sweave with LyX in the past (now I kind of regret doing this).
Hopefully we can get rid of all these long instructions one day.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web
-- it will be
copied from R if LyX cannot see it.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Sun, Aug 21, 2011 at 4:58 AM, Graham Smith myotis...@gmail.com wrote:
With a follow up
You are absolutely right -- too many instructions around. I wished I
could make a comprehensive documentation of Sweave in LyX, but did not
manage to do it before LyX 2.0.1. Perhaps we can do it in 2.0.2...
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
LyX 2.0 (or the latest 2.0.1) should do reasonably well in handling
different languages. As the first step to diagnose your problem, could
you please post the debug messages? (You can find them under the menu
View--View messages)
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465
OK. I believe this is exactly the bug I reported at
http://www.lyx.org/trac/ticket/7741
A temporary solution is to change your UI language to default instead
of French (see http://www.lyx.org/trac/ticket/7741#comment:2)
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http
What exactly do you mean by does not work? As a first step, can you
add the Sweave module to a LyX document?
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Wed, Sep 21
Isn't this another case of the bug http://www.lyx.org/trac/ticket/7741 ?
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Mon, Oct 3, 2011 at 9:40 AM, Jean-Marc Lasgouttes
have solved this headache that tons of users have run into in LyX
2.0.1, but currently there is no official release for Windows yet.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
Use the chunk option results=tex, then use cat() in your R code to
output the paragraphs like
echo=FALSE, results=tex=
for(i in 1:10) {
cat('now the value of i is ', i, '\n\n')
}
@
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department
set \SweaveOpts{keep.source=TRUE} to tell Sweave not to
reshape your R code.
2. You need to customize sweave.module (the font size of R code is
defined there).
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
there are no carriage returns in the long lines of
R code).
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Tue, Oct 11, 2011 at 11:17 AM, Shane Siers shanesi...@gmail.com
You have to tell us how or what on earth you cat()ed. I do not think
you need R tricks (are you talking about the tricks in
demo(plotmath)?). I believe something like this should work:
results=tex=
cat('\\textbf{abc}')
@
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Thu, Nov 3, 2011 at 12:25 PM, Bruce Kendall kend...@bren.ucsb.edu wrote:
This is a solution rather than a question. I am running Windows 7
FWIW, here is the repository for the R batchfiles:
http://code.google.com/p/batchfiles/ I'm not familar with Python, and
I hope this could be helpful to our potential Python hackers.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics
We need someone to update the wiki pages (I'm quite busy these days);
currently you should refer to the manual built-in with LyX
(examples/sweave.lyx), and a PDF version is here:
https://github.com/downloads/yihui/lyx/sweave.pdf
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465
the
Windows Registry Hive). Before that, users still have to modify the
PATH by themselves.
Or maybe it is easier to modify the preferences?
Tools--Preferences--Paths--PATH prefix. I have never tried it.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
That is good to know. Thanks a lot for the experiment!
I need to add this approach to the manual; it is much easier (and
safer) than messing with the PATH variable directly. I often feel
extremely frustrated with instructing Windows users on how to modify
PATH.
Regards,
Yihui
--
Yihui Xie xieyi
The correct fix, I believe, is to set the language of your interface
(not document) to Default in preferences. This will at least enable R
to read the Rnw document correctly. Then everything becomes a LaTeX
problem (you can use other special packages, or xelatex).
Regards,
Yihui
--
Yihui Xie
Have you read the recent manual? There is an example for creating
tables in Sweave (PDF version at
https://github.com/downloads/yihui/lyx/sweave.pdf; lyx source is
shipped with LyX 2.0.2 and also available at
https://github.com/yihui/lyx/raw/master/examples/sweave.lyx)
Regards,
Yihui
--
Yihui Xie
Which version of R are you using? Does it work when you add this to
your document as TeX code (Insert--TeX Code)?
\SweaveOpts{prefix=TRUE,prefix.string=sweave-figure}
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State
This sounds hard to diagnose... Does that file really exist or not?
Can you go and check in that folder?
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Wed, Feb 8, 2012
OK, then the question is where is this file. Can you try to compile
the document again, and search for that R-GettingStarted.pdf?
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
the Sweave module in LyX? What are the first few
lines of messages when you compile the document? (View--View
Messages)
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Wed, Feb 8
Can you also attach a copy of the script
/Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R ?
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Wed, Feb 8, 2012
Yes, this sounds like a problem specific to a particular file (then it
will be even harder for me to diagnose). Does that one produce figures
from R?
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215
Yes, that is it!!
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Sat, Feb 18, 2012 at 6:31 AM, Christopher Menzel cmen...@tamu.edu wrote:
Am Feb 18, 2012 um 12:28 PM
by executing
code (R code in this case).
Just my 2 cents.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
Yes, LyX + R is really powerful. I have been thinking of making a
video on this topic, but have not got time so far.
BTW, I just noticed someone had updated the wiki page about Sweave to
reflect changes in LyX 2.0. I really appreciate it.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515
Liviu,
This is really great news! I've been longing for such a PPA. Thanks!
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Sun, Feb 19, 2012 at 12:48 PM, Liviu Andronic
,
highlighting, caching, fine control of graphics, conditional
evaluation, multiple markup formats and other features. div
class=vspace//dd
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
on demand, instead of
each time you export PDF from LyX.
Or if you like point-and-click, you can make a pdfnup22.sh in your
directory and change its mode to be executable; then each time you
want to convert the slides, just click it and you are done.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone
I think LyX 2.0.3 looks good now. The Sweave manual is accessible via
Help=Specific Manuals. The LyX wiki has been updated as well.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames
That is right. It is one thing in LyX that I most wanted to do, and I
was quite happy that it was accepted. I no longer have to tell other
users to use dark voodoos.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State
Or add a last code chunk in Sweave:
done,echo=FALSE=
alarm() # equivalent to cat('\a')
@
or use the twitteR pacakge to send yourself a twitter message when it is done...
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa
Please see https://github.com/downloads/yihui/lyx/sweave.pdf for how
to diagnose the problem. We need more detailed information.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
Please read the manual
https://github.com/downloads/yihui/lyx/sweave.pdf to help you diagnose
the problem; you should see the R error in the LyX messages.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215
I cannot reproduce the problem. It compiles successfully with TeXLive
2011 under Ubuntu. Can anyone else reproduce it?
Does this happen to packageVersion() only?
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State
function (x, ...)
{
y - as.character(x)
if (!length(y))
writeLines(gettext(0 elements))
else print(noquote(ifelse(is.na(y), NA_character_, sQuote(y))),
...)
invisible(x)
}
bytecode: 0x1a26bf8
environment: namespace:base
Regards,
Yihui
--
Yihui Xie xieyi
I do not know what exactly is the problem here, but one thing that
might help a little bit is to update knitr to the latest version if
you have not done so. Since v0.5, the tikz-to-pdf compilation will no
longer hang forever.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web
cannot be shared
between them because they are in different workspaces.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Mon, Jul 16, 2012 at 7:43 AM, obregonma...@gmail.com wrote
of the manuals above :)
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Mon, Jul 16, 2012 at 8:01 PM, Murat Yildizoglu myi...@gmail.com wrote:
Hello,
I am starting to test Knitr
, is:
install.packages( 'tikzDevice', repos='http://r-forge.r-project.org' )
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Tue, Jul 17, 2012 at 5:07 PM, Murat Yildizoglu myi...@gmail.com wrote
You are right. It will come back eventually.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Tue, Jul 17, 2012 at 5:42 PM, Murat Yildizoglu myi...@gmail.com wrote:
Ok
If that is the case, yes, you can use child documents. 2.0.x has
significant improvements over 1.6.x in terms of Sweave/knitr support,
so I strongly recommend you to upgrade.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa
Please read section 4 of the manual and report more information:
https://github.com/downloads/yihui/lyx/sweave.pdf otherwise it is hard
to know what is exactly is the failure.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa
of just
showing the very vague message An error occured while running Rscript
--verbose...? R errors are written to stderr, so in theory it should
be possible. Thanks!
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
it is difficult for me to reproduce the problem.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Thu, Jul 26, 2012 at 10:40 AM, Hobbs,Tom tom.ho...@colostate.edu wrote:
Sorry--I
E:/user/document/). My question is, how to let
Lyx copy the file without changing its name? Thanks!
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-6609 Web: http://yihui.name
Department of Statistics, Iowa State University
3211 Snedecor Hall, Ames, IA
produced by the code.
Regards,
Yihui
On Tue, Dec 8, 2009 at 6:57 PM, Vincent van Ravesteijn
v.f.vanraveste...@tudelft.nl wrote:
Yihui Xie schreef:
Hi,
When we insert a graph into a Lyx document, say, test.pdf, and compile
the lyx document using pdfLaTeX, Lyx will first copy the graph
sees 0.5^{2 because } terminates the code.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Thu, Aug 16, 2012 at 2:33 PM, Michael Bach pha...@gmail.com wrote:
On 8/16/2012 9
the problem, but of course, the external file
host has to be reliable...
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Mon, Sep 24, 2012 at 4:20 PM, Liviu Andronic landronim
The first place to look at is View--View Messages, as described in
the troubleshooting section in Sweave manual (which applies to knitr
as well): https://github.com/downloads/yihui/lyx/sweave.pdf
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department
with.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Sat, Sep 29, 2012 at 10:52 AM, Michael Bach pha...@gmail.com wrote:
Just a quick follow-up.
I gather from the log that R reads
/tvnzczfx7c31c68jrddvlqgrgn/T/lyx_tmpdir.xJL523/lyx_tmpbuf3/tex
UTF-8 /Users/XYZ/Documents/...
I think that is Mac OS, although in the first email it was Windows 7.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State
You can make a copy of that document, delete everything in it, and
only put a code chunk
=
sessionInfo()
@
there and compile it. Then show us the results from sessionInfo().
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa
for LyX 2.0.5 for the bug fix.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Sun, Sep 30, 2012 at 5:06 PM, Michael Bach pha...@gmail.com wrote:
On 9/30/12 10:51 PM, Yihui Xie
That is something confused me as well. Here is a screenshot of what I
was talking about: http://i.imgur.com/vkLhP.png It only sets the
language of the GUI and will not affect the document itself.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department
){0,2}sections, or \includegraphics{}. Everything is so clear.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Mon, Nov 5, 2012 at 1:29 PM, VA cuyfa...@hotmail.com wrote:
I use
Could you attach a minimal real *.lyx file? I do not understand what
pseudo-html markup means.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Mon, Nov 12, 2012 at 7:26 PM
. To
verify this, you can try the knitr module after
install.packages('knitr') in R, and @ will be there as expected. In
case you are not aware of it, knitr is an alternative to Sweave (and
I'm shamelessly advertising here).
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http
as RStudio).
Then we will be able to input this quickly:
=
# cursor moved here automatically
@
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
Thanks, I'll keep that in mind.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Tue, Nov 27, 2012 at 12:21 PM, Scott Kostyshak skost...@lyx.org wrote:
On Tue, Nov 27, 2012
I'm sorry but what exactly was the problem? I can compile it without
any problems in LyX, and here is a screenshot: http://imgur.com/bX7I7
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall
bug #7741:
http://www.lyx.org/announce/2_0_5.txt
http://www.lyx.org/trac/ticket/7741
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Mon, Dec 17, 2012 at 3:56 AM, José Luis
https://raw.github.com/yihui/lyx/master/scripts/lyxknitr.R and put it
under ~/lyx/scripts/. After LyX 2.0.6 is out, you will not need it.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames
You cannot use cm directly; you have to convert cm to in which should
be trivial: 1in = 2.54cm.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Sun, Feb 17, 2013 at 11:53 AM
and LyX if you use the knitr module instead of Sweave. See
http://yihui.name/knitr/demo/externalization/ for examples, and
http://yihui.name/knitr/demo/lyx/ for a video demo of knitr in LyX.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department
My suggestion is always ERT for R code chunks, because it is clean and
easier to play with program code.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Sun, Apr 14, 2013
Did you \usepackage{booktabs} in the preamble? That is what
?tables::booktabs says.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Mon, Jun 3, 2013 at 3:07 PM, John Kane
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Mon, Jun 3, 2013 at 1:38 PM, John Kane jrkrid...@yahoo.ca wrote:
From: Yihui Xie x...@yihui.name
To: John
But John needs the LaTeX table output in the next line of R code;
include=FALSE will exclude everything in that chunk.
Moving booktabs() to the previous chunk and using include=FALSE there
will be fine.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
That is right.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Tue, Jun 4, 2013 at 8:49 AM, Liviu Andronic landronim...@gmail.com wrote:
On Tue, Jun 4, 2013 at 5:33 PM
One way to do that is to redefine \includegraphics (cf
https://github.com/jgm/pandoc-templates/blob/master/default.latex).
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 206-667-4385 Web: http://yihui.name
Fred Hutchinson Cancer Research Center, Seattle
On Wed, Jul 31, 2013 at 12:23 PM
and also your session info in R:
library(knitr)
sessionInfo()
system('pdflatex --version')
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Thu, Aug 29, 2013 at 4:34 PM, Scott Kostyshak skost
--Language package--None.
Without babel, it compiles fine.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Fri, Aug 30, 2013 at 2:07 AM, Kizilkaya, Kadir [AN S]
kad...@iastate.edu wrote:
Hi Scott,
I
can
catch the stderr output when R fails and display the error message in
the dialog. The default error message An error occurred while
running is not informative.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Web: http://yihui.name
On Tue, Apr 22, 2014 at 12:50 PM, John Kane jrkrid...@yahoo.ca
Yes, please. Thanks!
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Web: http://yihui.name
On Tue, Apr 22, 2014 at 4:31 PM, Scott Kostyshak skost...@lyx.org wrote:
On Tue, Apr 22, 2014 at 5:30 PM, Scott Kostyshak skost...@lyx.org wrote:
On Tue, Apr 22, 2014 at 3:44 PM, Yihui Xie x
apply to all of
them.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Web: http://yihui.name
On Wed, Oct 22, 2014 at 4:06 AM, Rainer M Krug rai...@krugs.de wrote:
THis seems to be a problem with paths and environmental variables passed
to sub-processes (also mentiond on the R sig mac list
I do not use Mac OS X very often (I use it mostly for testing
purposes), so personally I do not care. It is easy to ditch Apple by
myself, but not all Apple users :( (Same thing for Windows)
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Web: http://yihui.name
On Wed, Oct 22, 2014 at 11:47 AM
Hi all,
I'm using a LaTeX package that will include certain files into the
document, however, Lyx does not know these files are required for
compiling, because they are not included with standard LaTeX macros
(e.g. \includegraphics{}). So my question is, how to copy these files
into the temporary
Thanks! Yes the file name is annoying. What's more, Lyx will use a
different temp directory each time, so it's difficult to copy the
files to the temp directory by hand, as I don't know the destination.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-6609 Web: http://yihui.name
-294-6609 Web: http://yihui.name
Department of Statistics, Iowa State University
3211 Snedecor Hall, Ames, IA
On Wed, Sep 16, 2009 at 10:10 AM, rgheck rgh...@bobjweil.com wrote:
On 09/16/2009 12:36 AM, Yihui Xie wrote:
Thanks! Yes the file name is annoying. What's more, Lyx will use a
different
It is a known issue without a fix yet:
http://comments.gmane.org/gmane.editors.lyx.devel/145465
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Web: http://yihui.name
On Fri, Jan 16, 2015 at 10:27 AM, Xin Wu wuxin.xid...@gmail.com wrote:
Hi, all,
I am using LyX 2.1.2.2 on Macbook pro
--
Yihui Xie xieyi...@gmail.com
Web: http://yihui.name
On Fri, Jan 16, 2015 at 11:59 AM, Liviu Andronic landronim...@gmail.com wrote:
On Fri, Jan 16, 2015 at 5:38 PM, Yihui Xie x...@yihui.name wrote:
It is a known issue without a fix yet:
http://comments.gmane.org/gmane.editors.lyx.devel/145465
\Resources\examples).
Sweave no longer depends on specific layouts. This is a significant
change in LyX 2.0.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Thu, May 12, 2011
1 - 100 of 297 matches
Mail list logo