--
Yihui Xie
Web: http://yihui.name
On Fri, Jan 16, 2015 at 11:59 AM, Liviu Andronic wrote:
> On Fri, Jan 16, 2015 at 5:38 PM, Yihui Xie wrote:
>> It is a known issue without a fix yet:
>> http://comments.gmane.org/gmane.editors.lyx.devel/145465
>>
> Have you checked if the
It is a known issue without a fix yet:
http://comments.gmane.org/gmane.editors.lyx.devel/145465
Regards,
Yihui
--
Yihui Xie
Web: http://yihui.name
On Fri, Jan 16, 2015 at 10:27 AM, Xin Wu wrote:
>
> Hi, all,
> I am using LyX 2.1.2.2 on Macbook pro for a Chinese report. I found
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
Web: http://yihui.name
On Wed, Oct 22, 2014 at 11:47 AM, Liviu Andronic
apply to all of
them.
Regards,
Yihui
--
Yihui Xie
Web: http://yihui.name
On Wed, Oct 22, 2014 at 4:06 AM, Rainer M Krug wrote:
> THis seems to be a problem with paths and environmental variables passed
> to sub-processes (also mentiond on the R sig mac list): Yosemite seems
>
Yes, please. Thanks!
Regards,
Yihui
--
Yihui Xie
Web: http://yihui.name
On Tue, Apr 22, 2014 at 4:31 PM, Scott Kostyshak wrote:
> On Tue, Apr 22, 2014 at 5:30 PM, Scott Kostyshak wrote:
>> On Tue, Apr 22, 2014 at 3:44 PM, Yihui Xie wrote:
>>
>>> To LyX developers:
if LyX 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
Web: http://yihui.name
On Tue, Apr 22, 2014 at 12:50 PM, John Kane wrote:
> Curren
s-->Language-->Language package-->None.
Without babel, it compiles fine.
Regards,
Yihui
--
Yihui Xie
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]
wrote:
> Hi Scott,
>
&
and also your session info in R:
library(knitr)
sessionInfo()
system('pdflatex --version')
Regards,
Yihui
--
Yihui Xie
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 wrote:
> O
One way to do that is to redefine \includegraphics (cf
https://github.com/jgm/pandoc-templates/blob/master/default.latex).
Regards,
Yihui
--
Yihui Xie
Phone: 206-667-4385 Web: http://yihui.name
Fred Hutchinson Cancer Research Center, Seattle
On Wed, Jul 31, 2013 at 12:23 PM, Neal Becker wrote
That is right.
Regards,
Yihui
--
Yihui Xie
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 wrote:
> On Tue, Jun 4, 2013 at 5:33 PM, John Kane wrote:
>> Thanks
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
Phone: 515-294-2465 Web: http://yihui.name
Department of
egards,
Yihui
--
Yihui Xie
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 wrote:
>
>
> ________
> From: Yihui Xie
> To: John Kane
> Cc: L
Did you \usepackage{booktabs} in the preamble? That is what
?tables::booktabs says.
Regards,
Yihui
--
Yihui Xie
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 wrote:
> I
My suggestion is always ERT for R code chunks, because it is clean and
easier to play with program code.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Sun, Apr 14, 2013 at 10:30 PM, Mark
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State
You cannot use cm directly; you have to convert cm to in which should
be trivial: 1in = 2.54cm.
Regards,
Yihui
--
Yihui Xie
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, John Kane wrote
itr.R from
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
O
bug #7741:
http://www.lyx.org/announce/2_0_5.txt
http://www.lyx.org/trac/ticket/7741
Regards,
Yihui
--
Yihui Xie
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 Cañadas
wrote
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
O
Thanks, I'll keep that in mind.
Regards,
Yihui
--
Yihui Xie
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 wrote:
> On Tue, Nov 27, 2012 at 12:44 PM, Yihui Xi
rl+Alt+I (the same shortcut as RStudio).
Then we will be able to input this quickly:
<<>>=
# cursor moved here automatically
@
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
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
Phone: 515-294-2465 Web: http://yihui.
Could you attach a minimal real *.lyx file? I do not understand what
"pseudo-html markup" means.
Regards,
Yihui
--
Yihui Xie
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, M
){0,2}sections, or \includegraphics{}. Everything is so clear.
Regards,
Yihui
--
Yihui Xie
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 wrote:
> I use Win7 with both LyX and TeXStu
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics
LyX 2.0.5 for the bug fix.
Regards,
Yihui
--
Yihui Xie
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 wrote:
> On 9/30/12 10:51 PM, Yihui Xie wrote:
>>
>> You
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics
skryptum.Rnw"
"/var/folders/yx/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
Phone: 515-294-2465 Web:
OS to test with.
Regards,
Yihui
--
Yihui Xie
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 wrote:
> Just a quick follow-up.
>
> I gather from the log that R reads the fil
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statist
the problem, but of course, the external file
host has to be reliable...
Regards,
Yihui
--
Yihui Xie
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 wrote:
> On Mon, Sep
but knitr sees 0.5^{2 because } terminates the code.
Regards,
Yihui
--
Yihui Xie
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 wrote:
> On 8/16/2012 9:25 PM, Micha
ac OS, so it is difficult for me to reproduce the problem.
Regards,
Yihui
--
Yihui Xie
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 wrote:
> Sorry--I thought the message I se
gue box instead 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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
You are right. It will come back eventually.
Regards,
Yihui
--
Yihui Xie
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 wrote:
> Ok, reading the tikz discussion list
ackage, is:
install.packages( 'tikzDevice', repos='http://r-forge.r-project.org' )
Regards,
Yihui
--
Yihui Xie
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 wrote:
the manuals above :)
Regards,
Yihui
--
Yihui Xie
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 wrote:
> Hello,
>
> I am starting to test Knitr, since its possibi
cannot be shared
between them because they are in different workspaces.
Regards,
Yihui
--
Yihui Xie
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, wrote:
> Hi all-
>
> Can Lyx (v.
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
Phone: 515-294-2465 Web: http://yihui.name
namespace base
namespace:base
with value
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)
}
Regards,
Yihui
--
Yihui Xie
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Wed, May 30
Or add a last code chunk in Sweave:
<>=
alarm() # equivalent to cat('\a')
@
or use the twitteR pacakge to send yourself a twitter message when it is done...
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State Universi
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Fri,
ne 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
Phone: 515-294-246
ting,
highlighting, caching, fine control of graphics, conditional
evaluation, multiple markup formats and other features.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Mon, Feb 20, 2012 at 12:
Liviu,
This is really great news! I've been longing for such a PPA. Thanks!
Regards,
Yihui
--
Yihui Xie
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 wrote:
>
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
Phone: 515-294-2465 Web
executing
code (R code in this case).
Just my 2 cents.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
Yes, that is it!!
Regards,
Yihui
--
Yihui Xie
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 wrote:
> Am Feb 18, 2012 um 12:28 PM schrieb Russell D Brune
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames
Can you also attach a copy of the script
/Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R ?
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Wed, Feb 8, 2012 at 4:06 PM, Graham
Sweave module in LyX? What are the first few
lines of messages when you compile the document? (View-->View
Messages)
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Wed, Feb 8, 2012 at 3:02
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Wed, Feb 8
This sounds hard to diagnose... Does that file really exist or not?
Can you go and check in that folder?
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Wed, Feb 8, 2012 at 2:20 PM, Graham
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2
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
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
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
Phone
from 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
Phone: 515-294-2465 Web: http://yihui.name
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
Phone: 515-294-2465 Web:
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa
rds,
Yihui
--
Yihui Xie
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 wrote:
> This is a solution rather than a question. I am running Windows 7 Enterprise
> (V. 6.1,
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:
<>=
cat('\\textbf{abc}')
@
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui
hich means there are no carriage returns in the long lines of
R code).
Regards,
Yihui
--
Yihui Xie
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 wrote:
> Alas, I have kee
).
Or you 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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State Univ
Use the chunk option results=tex, then use cat() in your R code to
output the paragraphs like
<>=
for(i in 1:10) {
cat('now the value of i is ', i, '\n\n')
}
@
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa Stat
member exactly).
We 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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames,
Isn't this another case of the bug http://www.lyx.org/trac/ticket/7741 ?
Regards,
Yihui
--
Yihui Xie
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 wrote:
>
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Wed, Sep 21, 2011
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
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
Phone: 515-294-2465 Web: h
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
Phone: 515-294-2465 Web: http://yihui.name
Department of
ll be
copied from R if LyX cannot see it.
Regards,
Yihui
--
Yihui Xie
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 wrote:
> With a follow up to a follow up,
>
>
>&g
es are you have 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
Phone: 515-294-2465 Web: ht
o manually 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
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Stat
nge the title, e.g.
prewhiten(y=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,
Yih
veral 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).
Re
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Sun, J
ence of "--args" will make ls.args[4] to be ISO-8859-15, which
is obviously not a directory name.
Regards,
Yihui
--
Yihui Xie
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
cument settings, 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
Phone: 515-294-2465 Web: http://yihui.name
Department of Stati
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
Phone: 515-294-2465 Web: h
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
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Mon, May 30, 2011 at
now (the option
--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
Phone: 515-294-2465 Web: http://yihui.name
Departmen
\begin{Scode}{})
Regards,
Yihui
--
Yihui Xie
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 wrote:
> Yihui Xie yihui.name> writes:
>
>>
>> Hi,
>>
>> I think
characters before <<.
Regards,
Yihui
--
Yihui Xie
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 wrote:
> Is it possible to have a SWeave chunk inside an enumerate \item?
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
Phone: 515-294-2465 Web: http://yihui.name
Department
t;Preferences-->Paths-->Temporary
directory. You need to restart LyX after modifying this setting and
make sure the directory exists.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Fri, May
gram
Files\LyX20\Resources\examples).
Sweave no longer depends on specific layouts. This is a significant
change in LyX 2.0.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Thu, May 12, 2011
gures produced by the code.
Regards,
Yihui
On Tue, Dec 8, 2009 at 6:57 PM, Vincent van Ravesteijn
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
E:/user/document/). My question is, how to let
Lyx copy the file without changing its name? Thanks!
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-6609 Web: http://yihui.name
Department of Statistics, Iowa State University
3211 Snedecor Hall, Ames, IA
Yihui
--
Phone: 515-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 wrote:
> On 09/16/2009 12:36 AM, Yihui Xie wrote:
>>
>> Thanks! Yes the file name is annoying. What's
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
Phone: 515-294-6609 Web: http://yihui.nam
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
99 matches
Mail list logo