everything should be fine, except library(rggobi) will
still complain that libxml2.dll is missing. [I don't guarantee the
rest of steps work] You might need to download libxml2
(http://xmlsoft.org/) and manually put its dll's under your PATH (e.g.
the bin directory of GTK+).
Regards
oot
# 7.42
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-6609 Web: http://yihui.name
Department of Statistics, Iowa State University
3211 Snedecor Hall, Ames, IA
On Thu, Jul 29, 2010 at 1:15 PM, sammyny wrote:
>
> newton.method is in package 'animation'.
>
> Thanks Ravi.
somehow addicted to GUI:
http://yihui.name/en/2010/04/formatr-farewell-to-ugly-r-code/
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-6609 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Tue, Aug 24, 2010 at 4:07 PM, Charles C. Berry wrote:
> On
Oh, I did not see this post and I just saw your message in my blog.
Anyway, here is a solution for other people's future reference:
http://yihui.name/en/2011/04/produce-authentic-math-formulas-in-r-graphics/
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Departme
...@cos.name. Thanks!
Regards,
Yihui, on behalf of the organizing committee
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
__
R-help@r-project.org mailing list
https
I guess what you want is cat(readLines("file.r"), sep = "\n")
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 18, 2011 at 4:03 AM, Brian Oney wrote:
> Hello
uot;error")) : error
Error in try(stop("error")) : error
Error in try(stop("error")) : error
> i
[1] 3
> for(i in 1:3){(stop('error'))}
Error: error
> i
[1] 1
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-6609 Web: http://yihui.name
Department of Statistics,
base
other attached packages:
[1] animation_2.0-1
loaded via a namespace (and not attached):
[1] tcltk_2.12.1 tools_2.12.1
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Sn
e.r-project.org/
If you don't want to wait for so long, you can simply upload your
package to CRAN via FTP, as long as it has passed the "R CMD check"
procedure (no errors or warnings).
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Sta
switched from SAS to S (see
library(fortunes); fortune('I quit using SAS')).
Anyway, prompt() and package.skeleton() are very helpful in the short run.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall
I don't think tikz() can capture the plots in rgl. To export rgl
graphics, you need to use rgl.snapshot() or rgl.postscript().
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, F
tf8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
Oh, JSS... I was Achimitized last week... although I have been seeing
library() calls without double quotes almost everywhere.
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, Mar 8
the tikzDevice package has offered a way to write native LaTeX
expressions in R plots, so no tricks are really needed there
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, Apr 7, 2011
chunkopts$label # this is what you want
break
}
}
}
}
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, Apr 16, 2011 at 5:12 AM, David.Epstein
...')
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, Aug 19, 2011 at 12:10 PM, Mary Kindall wrote:
> I installed some downloaded packages in R. I always do
> $sudo R CMD INSTA
.packages(all = TRUE) will give you a list of all available packages
without really loading them like require().
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, Aug 24, 2011 at 9:28 AM
love C-c C-o
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, Aug 24, 2011 at 3:31 AM, Jonathan Greenberg
wrote:
> Thanks Kevin! Got started with roxygen tonight! Cheers!
>
&g
, but idea is there)
To make this more natural, you can try the knitr package which allows
you to specify the output filename, e.g. library(knitr);
knit('foo.Rnw', output = 'foo-bar.tex')
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statis
if this solves your problem. Thanks!
BTW, you'd better include your sessionInfo() next time.
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 14, 2011 at 11:06 PM, emorway
a package developer, I often have to reinstall a package again and
again, so I wish I do not have to restart R to see the new
documentation. Anybody ever met a similar situation and has an idea?
Thanks!
I use R 2.13.1 under Ubuntu, and it also appears in Windows 7.
Regards,
Yihui
--
Yihui Xie
HONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rgl_0.92.798
loaded via a namespace (and not attached):
[1] tools_2.13.1
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 W
Thanks a lot! I did not save the "200ms". I did exactly what you
described, since that is the only way to go. So I ended up with
restarting R hundreds of times a day.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State Unive
see head(`?`, 20)
there is another funny thing: Sys.sleep(2 + rpois(1, 2)) (in theory R
can, although is unlikely to, sleep forever since it is a Poisson
distribution...)
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215
Yes I agree.
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, Jul 27, 2012 at 7:01 PM, Barry Rowlingson
wrote:
> On Fri, Jul 27, 2012 at 6:47 PM, Hadley Wickham wrote:
>
>&g
You probably mean grepl('[a-zA-Z]', x)
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, Aug 6, 2012 at 3:29 PM, Liviu Andronic wrote:
> On Mon, Aug 6, 2012 at 6:42 PM, Bert
The Department of Redundancy Department can "recompensate"...
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, Aug 8, 2012 at 5:17 PM, Rolf Turner wrote:
> cheers,
>
ot;, repos="http://R-Forge.R-project.org";)
Or just download the tarball from CRAN and R CMD INSTALL 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 Wed, Aug 15, 2012 at 11:54
Two possible solutions:
1. Redefine the LaTeX environment so it allows wrapping (see listings
for example);
2. Manually break your long string into shorter pieces and paste()
them together, e.g. paste('long', 'long', 'string')
Regards,
Yihui
--
Yihui Xie
fig.cap is
used.
<>=
# evaluate fig.cap after a chunk is evaluated
opts_knit$set(eval.after = 'fig.cap')
@
Dynamically generate a figure caption:
<>=
x = rnorm(30)
hist(x)
@
\end{document}
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Dep
You probably mean shQuote().
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, Aug 24, 2012 at 3:17 PM, Roebuck,Paul L wrote:
> On 8/24/12 2:59 PM, "R. Michael Weylandt"
>
under
https://github.com/yihui/knitr/tree/master/inst/examples If you open
knitr-subfloats.lyx, you will see an intentional new line in the ERT,
and that is to break \subfloat[asdfa]{<<>>= into
\subfloat[asdfa]{
<<>>=
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http:/
Well, then I guess there is no such function in base R, but it should
be something like escapeshellcmd = function(x)
gsub('[metacharacters]', '\\1', x)
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State Universit
Do you know what environments are allowed inside \subfloat{}? The
graphics example works because it is nothing but a simple
\includegraphics{} command. The table example you gave is much more
complicated than that.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department
Can you post a reproducible example? Do you have \begin{document} in
your Rnw file?
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 30, 2012 at 10:35 AM, Sven D wrote:
> He
OK, then this turns out to be a pure LaTeX problem. Thanks for the
experiments and examples, and they worked very well for me. It seems
subcaption is on the radar of LyX 2.1 now.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State
What happened might be that your vacation took too long. The encoding
argument was introduced in R 2.13.1 (July last year). Nothing has
changed in your Rnw document, but things have always been changing in
R, so the best thing to do is to check out help(Sweave).
Regards,
Yihui
--
Yihui Xie
Phone
behind them: there needs to be an easy way
for Windows users to use R in command line (e.g. R CMD build...). You
may argue that it is easy to understand PATH and modify it manually,
and I will say nothing but "thank" Windows again. Sorry this seems to
be off-topic.
Regards,
Yihui
--
Yihui
Well, I just mean to give the user an option during installation --
like you did in Rtools. I have decided not to argue on this issue any
more. Thanks a lot anyway!
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215
(see ?Sweave); one of them is via
\usepackage[utf8]{inputenc}. In LyX, you need to set the document
encoding to "Unicode (utf8)" in Document
Settings-->Language-->Encoding. The next version of LyX (2.0.2) will
address this issue better.
Regards,
Yihui
--
Yihui Xie
Phone: 515-29
Yes, that is the point. I would prefer a LyX file instead of text in
email, since the encoding can be different.
You still did not tell us your R version, or better, sessionInfo().
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State
Thanks, Mark. These pages are kind of outdated. I guess I should be
able to make the materials in these blog posts into LyX 2.0.3. If
anybody is interested in testing, please contact me offline.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa
This problem comes up so frequently that I have made
options(useFancyQuotes=FALSE) by default in my knitr package:
http://yihui.github.com/knitr/
You can also use options(useFancyQuotes='TeX').
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statis
It seems I missed the context of this post -- who is "you", and what
is "something other than the URL"?
I feel the tikzDevice package should be an option for the task.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa S
,
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 5, 2011 at 2:10 PM, Justin Fincher wrote:
> For example, say I am plotting some data that is genomic and therefore
> maps to a specific lo
beautiful table in your eyes.
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, Dec 7, 2011 at 4:17 PM, Michael wrote:
> Thanks Liviu.
>
> I actually knew Latex... so it's
This is probably one of the most frequently asked questions. The
answer is to print() the objects. See R FAQ 7.22.
http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-do-lattice_002ftrellis-graphics-not-work_003f
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of
:
https://github.com/downloads/yihui/knitr/knitr-manual.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, Dec 7, 2011 at 5:08 PM, Michael wrote:
> Thanks a lot!
>
> Now I can see the i
The two plots are in two PDF files, and I said I cheated via LaTeX,
i.e. nothing but putting two \includegraphics{} commands in the same
paragraph.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
se contact
me offline if you are interested.
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, Dec 8, 2011 at 4:16 PM, Janko Thyson
wrote:
> This is a very very very late follow up, b
A short answer is you can consider the tikzDevice package; then a long
(really really long) answer is this:
http://yihui.github.com/knitr/demo/graphics/
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames
How about the subplot() function in the TeachingDemos package? It is
basically using par() but you do not have to learn all the gory
details.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On
Hi,
You do not need to use a different Sweave.sty, but I think you have to
add this to your Rnw file:
\usepackage{tikz}
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, Sep 29, 2011 at
). If there is a makefile anyway, you may need to
delete it as the instruction said.
I have no idea about the warning about Encoding in DESCRIPTION, but an
extremely important piece of information that you must provide in this
mailing list is sessionInfo().
Regards,
Yihui
--
Yihui Xie
Phone: 515
file, and then you
compile the tex file manually.
pgfSweave(..., graphics.only = TRUE) # this will stop it from calling
texi2dvi()
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, Sep 3
i == z), list(z = i)))
}
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, Oct 5, 2011 at 10:01 PM, John Nolan wrote:
> I ran into a problem with titles on graphs. I wanted a g
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, Oct 13, 2011 at 1:43 PM, Farley, Robert wrote:
> OT question: can R produce Cartograms?
>
> Here's an example of World Population:
Seems to be weird. I can run the example smoothly under Ubuntu with R
2.13.2. Could you also post your .tex file?
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, Oct 13, 2011 at 7:01 PM
pgfSweave developers:
https://github.com/cameronbracken/pgfSweave/issues/34
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, Oct 13, 2011 at 8:34 PM, Peter Meilstrup
wrote:
> Sure, her
Yes, it is a little bit amazing to me too, so let's cc to the package
maintainer to see if he can do anything.
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, Oct 14, 2011 at 12:
DDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] tools stats graphics grDevices utils datasets methods
[8] base
other attached packages:
[1] devtools_0.4
loaded via a namespace (and not attached):
[1] RCurl_1.6-10
Than
Thanks a lot! Sorry for cross-posting, but I did it intentially
because I tend to believe Barry Rowlingson (Why R-help Must Die!), and
I will summarize the answers here later to StackOverflow.
Another user also told me this worked for 2.13.1, but not later versions.
Regards,
Yihui
--
Yihui Xie
not sure about gplots, but the one in base R should work well if you
specify the scaling method to be 'none':
heatmap(a4[1:40, ], Rowv=NA, Colv=NA, col=c("grey", "blue", "purple",
"red"), scale='none')
Regards,
Yihui
--
Yihui X
break a single string into several lines (use strwrap() instead
in that case). See ?options for the exact meaning of the width option.
# this may help you understand 'width'
options(width = 50)
rep(1, 100)
options(width = 90)
rep(1, 100)
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2
well.
Again, you are free to customize the output with any LaTeX
environments, not necessarily limited to listings.
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, Mar 26, 2012 at 8:30 AM
You must have set the package option 'base.dir'
(opts_knit$set(base.dir = )), and this directory does not exist.
I do not recommend you to use this option unless you really understand it.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statis
just FYI: the knitr package supports HTML as well and will not be
interfered by R2HTML. See http://yihui.name/knitr/demo/minimal/
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, Apr 2
Herik's suggestion is an absolutely good practice which guarantees the
device is always closed. That is what I did in the knitr package, so
you can probably take a look at http://yihui.name/knitr/
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Stati
compilation. In all, anything but Windows Notepad.
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, Apr 5, 2012 at 11:22 AM, Duncan Murdoch
wrote:
> On 04/04/2012 3:25 PM, Alexander Shenkin wr
new clean R session. If you run into speed issues (e.g. you
have chunks which require intensive computing), you can consider using
cache, which the knitr package has reasonably good support.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics,
built.
You can take a look at the Cache section in the manual:
https://github.com/downloads/yihui/knitr/knitr-manual.pdf And more
explanations for using cache safely here:
http://yihui.name/knitr/demo/cache/
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of
SVN or GIT. Markdown is easy to write and cleaner compared to Word.
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, Apr 7, 2012 at 3:54 PM, Alexander Shenkin wrote:
> Hello All,
>
There are numerous JS libraries for syntax highlighting. I have never
tried highlight.js yet, but I wrote something for SyntaxHighlighter
which might be easily translated to highlight.js:
http://yihui.name/en/2010/09/syntaxhighlighter-brush-for-the-r-language/
Regards,
Yihui
--
Yihui Xie
Phone
.
However, the absolutely reliable answer is that you should do it by
yourself (either manually or with a decent code editor).
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, Apr 13, 2012 at 9
"'
Thanks!
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-hel
not generated?
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, Apr 16, 2012 at 9:31 AM, damiloveu wrote:
> Thanks, Ista.
>
> I inserted fig=TRUE to the chunk and it did work
quot;. The same chunk can be used in your summary,
full report and slides without being typed repeatedly if you put this
chunk outside of these documents.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames
You mean the process of clustering (the algorithm)? Have you looked at
kmeans.ani() in the animation package?
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, Jan 17, 2012 at 2:48 AM
report and feature request are welcome: use
https://github.com/yihui/knitr/issues or
https://groups.google.com/group/knitr or StackOverflow or r-help.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
f the string does not contain spaces.
Let me add the SO link for future reference as well:
http://stackoverflow.com/q/8907613/559676
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, Jan 19,
. issues #36/#34/#25/... in
its GitHub repository);
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, Jan 19, 2012 at 4:56 AM, Tal Galili wrote:
> Hello all,
>
> I would like to as
,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Sat, Jan 21, 2012 at 4:39 PM, Tengfei Yin wrote:
> Hi dear all,
>
> In my laptop(ubuntu 11.10 64bit), I maintained a released R (2.14) and a
> d
If you are using Windows, I'm afraid you have to give up because there
are no Windows binaries for these packages yet. If you are under Linux
or Mac, you can follow the instructions in
https://github.com/ggobi/cranvas/wiki
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui
Exactly. It is very complicated to get them to run under Windows.
Hopefully in the future, there will be Windows versions, but I guess
this will not happen in the very near future.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State
I can reproduce it but I do not know why this happens.
FWIW, I tried the knitr package and it worked well except that you
have to write cache=TRUE or FALSE instead of true/false.
library(knitr)
knit('test_pgf.Rnw')
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://
LyX (configure PATH).
BTW, lyx-us...@lists.lyx.org may be a better mailing list to go.
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, Feb 14, 2012 at 9:03 AM, David Winsemius wrote
I just looked at Jeff's tutorials; they are great! I no longer see
instructions on noweb or Sweave.sty, so I highly recommend them as
well. I will add links in the official manual. Thanks, Jeff!
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics,
Please read the very last two lines in the footer of your email below.
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 15, 2012 at 8:55 AM, Bos, Roger wrote:
> I am completely
Man, the original reply told you to use backticks `` rather than
double quotes "". They are very different in R; see ?Quotes
And GSE19829-GPL570_eset is really a bad name. I recommend you to rename it.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Dep
ue from a variable x).
Note width/height have been renamed to fig.width/fig.height in knitr.
See http://yihui.name/knitr/
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
ats jumping around? And you
also want to hide them in the backyard so the readers won't see them.
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 3:34 PM, Marc Schwar
print(xtable(...), ..., table.placement = '')
this is an xtable problem; see ?print.xtable
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 26, 2012 at 3:30 PM, Ricca
I guess there is not a steep learning curve if you want to use cache
in knitr or cacheSweave -- just use the chunk option cache=TRUE and
you are all set.
<>=
# time-consuming computation here
@
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics
reformat code. This
is what I do with all my packages.
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, Apr 30, 2012 at 10:37 PM, Joshua Wiley wrote:
> Break the line :)
>
> On Mo
knitr/blob/master/inst/examples/knitr-lang.Rmd
Suggestions and questions are welcome; please join the mailing list
https://groups.google.com/group/knitr or file issues to Github.
Thanks!
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State Un
<- paste(options$prefix.string, "-",
options$label, sep = "")
else chunkprefix <- options$label
}
else chunkprefix <- paste(options$prefix.string, "-",
formatC(options$chunknr,
flag = "0", width = 3), sep = "")
want, and you may need one hour or two learning the design.
BTW, I'm not sure if it is my problem or yours -- your code does not
actually run under my R 2.15.0. Long live the reproducible research!
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Stati
not find it. The R function typeof() does not
reveal it, but the TYPEOF() function in src/main/RNG.c says it is a
'promise'.
My question is, how to make R use the real value of .Random.seed
instead of complaining about the promise? Thanks!
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465
,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Tue, May 22, 2012 at 12:49 PM, wrote:
> On Tue, 22 May 2012, Yihui Xie wrote:
>
>> Hi,
>>
>> The problem arises when I lazyLoad()
Thanks! That is exactly what I did
(https://github.com/yihui/knitr/blob/master/R/cache.R#L44) but I was
wondering if .Random.seed could be better recognized when it is lazy
loaded.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State
201 - 300 of 392 matches
Mail list logo