search for: xieyihui

Displaying 20 results from an estimated 258 matches for "xieyihui".

2014 Dec 09
3
UTF8 markdown vignette
...Aylmer Fisher > The plural of anecdote is not data. ~ Roger Brinner > The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey > > ________________________________________ > Van: xieyihui at gmail.com [xieyihui at gmail.com] namens Yihui Xie [xie at yihui.name] > Verzonden: dinsdag 9 december 2014 17:13 > Aan: ONKELINX, Thierry > CC: r-devel at r-project.org; Duncan Murdoch; Kurt Hornik > Onderwerp: Re: [Rd] UTF8 markdown vignette > > A few things to clarify: >...
2009 Sep 22
3
R PNG graph width limitation
Hi folks, I am trying to do a clustering and generate a long dendrogram in R on Linux server: ========= data<-read.table(file="mean_ratio.txt.noheader",row.names=1,sep="\t",quote="\"") hc<-hclust(dist(data),"ward") png(file="mean_ratio.txt.noheader.ward.png",bg="white",pointsize=8,width=32767,height=1536) plot(hc,hang=-1)
2008 Sep 13
4
bubble(circle) plot help.
I need help creating a bubbleplot, like a simple pseudo three dimensional scatterplot of circles whose sizes index a 3rd variable. I initially came across this at http://addictedtor.free.fr/graphiques/graphcode.php?graph=73 but the circleplot function does not exist in fbasic as listed in the document. _________________________________________________________________
2014 Dec 10
2
UTF8 markdown vignette
...Info(), > but you only told me the version of rmarkdown, which is not the only > thing I was asking for. It is extremely important in this case to know > the versions of other packages as well as your system locale > information. > > Regards, > Yihui > -- > Yihui Xie <xieyihui at gmail.com> > Web: http://yihui.name > > > On Tue, Dec 9, 2014 at 3:42 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: >> On 09/12/2014, 4:38 PM, ONKELINX, Thierry wrote: >>> Dear Yihui, >>> >>> I have created a reproducible example...
2008 Sep 11
9
How to load functions in R
Hello, I am trying to use self created functions in other scripts than the one where they are stored. For the moment I am using the following structure of commands to do that: 1. Load the text file with the functions in the current script: x=parse("path") 2. transform the tex in a function: f1=eval(x[1]), f2=eval(x[2]) if more than one function is stored in the text file 3. use the
2014 Dec 10
0
UTF8 markdown vignette
...plicitly asked for library(rmarkdown);sessionInfo(), but you only told me the version of rmarkdown, which is not the only thing I was asking for. It is extremely important in this case to know the versions of other packages as well as your system locale information. Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Web: http://yihui.name On Tue, Dec 9, 2014 at 3:42 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 09/12/2014, 4:38 PM, ONKELINX, Thierry wrote: >> Dear Yihui, >> >> I have created a reproducible example at https://github.com/ThierryO/utf8v...
2009 Apr 03
2
extract tables as data.frames from HTML source
...1 I know we can readLines('URL'), gsub('<td>...', '...', source), ... and at last get the numbers; I'm writing to ask whether someone has already contributed a more general function (with the package XML or other packages). Thanks! Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086 Mobile: +86-15810805877 Homepage: http://www.yihui.name School of Statistics, Room 1037, Mingde Main Building, Renmin University of China, Beijing, 100872, China
2008 Nov 14
1
Line breaks in mathematical formulae in Rd files (PR#13287)
...ink to change the definition of "\deqn" is better: \newcommand{\deqn}[2]{\begin{eqnarray*}#1\end{eqnarray*}} This will not change the pdfLaTeX output effect, moreover, line breaks and alignments using "&" will be available in math formulae. Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086 Mobile: +86-15810805877 Homepage: http://www.yihui.name School of Statistics, Room 1037, Mingde Main Building, Renmin University of China, Beijing, 100872, China
2014 May 14
1
Bug in read.dcf(all = TRUE)?
...F-8 LC_NAME=C LC_ADDRESS=C [10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_3.1.0 Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Web: http://yihui.name
2011 Jan 05
2
convert expressions to characters
...text argument)? > as.character(x) [1] "{" as.character() only returns "{". > as.character(expression({1})) [1] "{" > as.character(expression("1","2+3")) [1] "1" "2+3" Thanks a lot! Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA
2013 Oct 21
2
png(type='cairo'): point symbols without boarders are not anti-aliased?
...jpeg png tiff tcltk X11 aqua http/ftp sockets TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE libxml fifo cledit iconv NLS profmem cairo TRUE TRUE TRUE TRUE TRUE TRUE TRUE Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA
2013 Jan 04
1
Bug in R CMD check for \ in Rd?
...d to be escaped, so the only character to escape in this case is the backslash. The text/html help page rendered from my Rd shows "\\{\\{((.|\n)+?)\\}\\}" correctly. So I'm wondering if this is a bug of R CMD check, or I misunderstood anything. Thanks! Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA
2010 Mar 12
3
rmaxwell in C
Hi R useRs: How can I generate a random sample from Maxwell Distribution in C language? Since I know the function rmaxwell {VGAM}, I tried the function r2c {r2c}. But I still cannot find the source code. Thanks for your kind help. RegaRds, 2010-03-12 Randel [[alternative HTML version deleted]]
2011 Mar 05
1
file mode lost in file.copy()?
...LC_MESSAGES=en_US.utf8 [7] LC_PAPER=en_US.utf8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA
2011 Mar 05
1
file mode lost in file.copy()?
...LC_MESSAGES=en_US.utf8 [7] LC_PAPER=en_US.utf8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA
2008 Sep 14
5
Error Running TinnR with R
Hello All, I am using Tinn-R (v 2.0.0.7) integrated with R (v 2.7.2) on a 32-bit Windows Vista system. When I try to run a code and send it to R from Tinn-R, I get the following error message; ?Error in source(.trPaths[5], echo = T) : object ".trPaths" not found? I was using an earlier version of Tinn-R and R and I was not having problems till recently when R-sending started freezing
2008 Sep 10
2
relsurv package
Dear R-users, I have a couple of questions about the relsurv package: 1) when I try to run the example: fit <- rsmul(Surv(time,cens)~sex+as.factor(agegr)+ratetable(age=age*365.24,sex=sex,year=year),ratetable=slopop,data=rdata) with the datasets in the package (rdata and slopop) it gives me an error: Error in nrow(x) : object "x" not found 2) If I have a date format
2014 Dec 09
4
UTF8 markdown vignette
...ary(rmarkdown); sessionInfo(). There is not a minimal reproducible example, either. Without these information, I can only guess blindly. BTW, you may also try HTML vignettes instead, which is much much easier to get right than LaTeX in terms of character encodings. Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Web: http://yihui.name On Tue, Dec 9, 2014 at 7:05 AM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 09/12/2014, 5:19 AM, ONKELINX, Thierry wrote: >> Dear Duncan, >> >> The UTF-8 characters aren't properly rendered in the pdf version of t...
2012 May 22
2
how to remove the 'promise' attribute of an R object (.Random.seed)?
...om.seed, and I cannot 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 <xieyihui at gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA
2012 May 22
2
how to remove the 'promise' attribute of an R object (.Random.seed)?
...om.seed, and I cannot 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 <xieyihui at gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA