Re: [Rd] inconsolata font for building vignettes with R-devel

2012-02-10 Thread Trevor Davis
> So is there a safe fallback or not?  Should I install texlive-fonts-extra too > when building? > > Dirk > Today I needed to run sudo apt-get install texlive-fonts-extra in order to build a package in R 2.14.1 Ubuntu 11.10 Else I get the following warning/error: * checking PDF version of manu

Re: [Rd] [R] Version control (git, mercurial) for R packages

2012-02-10 Thread Davor Cubranic
On February 10, 2012 09:11:35 AM Rainer M Krug wrote: > But what I was thinking about (in my other post as well) is to include > github (or any other git repo provider) into r-forge for the automatic > creation of packages. > > So is there an easy way to kind of push a certain revision up to > r-f

Re: [Rd] Creating XML document extremely slow

2012-02-10 Thread Titus von der Malsburg
On Fri, Feb 10, 2012 at 6:43 PM, Milan Bouchet-Valat wrote: > Doesn't sound so bad to me. I don't think you'll find a use case where > 3s will really be a problem. Actually I have exactly such a case because I have to produce many such documents and a difference of two orders of magnitude in proc

Re: [Rd] Creating XML document extremely slow

2012-02-10 Thread Milan Bouchet-Valat
Le vendredi 10 février 2012 à 17:36 +0100, Titus von der Malsburg a écrit : > On Fri, Feb 10, 2012 at 2:10 PM, Milan Bouchet-Valat > wrote: > > Le vendredi 10 février 2012 à 13:18 +0100, Titus von der Malsburg a > > écrit : > > Just a guess, but I'd try creating all 'Marker' nodes first, storing

Re: [Rd] Creating XML document extremely slow

2012-02-10 Thread Titus von der Malsburg
On Fri, Feb 10, 2012 at 2:10 PM, Milan Bouchet-Valat wrote: > Le vendredi 10 février 2012 à 13:18 +0100, Titus von der Malsburg a > écrit : > Just a guess, but I'd try creating all 'Marker' nodes first, storing > them in a 'markers' list, and then calling addChildren(markernode, > kids=markers).

[Rd] Out of date instructions to build R using MKL

2012-02-10 Thread Milan Bouchet-Valat
Hi! I've been playing with MKL for a few days and I noticed the instructions in the R Installation Administration manual [1] no longer apply. It seems that since version 10.0 (the one used by the manual), libmkl_lapack.so has been renamed/split (although the official explanations seem to imply thi

Re: [Rd] Creating XML document extremely slow

2012-02-10 Thread Milan Bouchet-Valat
Le vendredi 10 février 2012 à 13:18 +0100, Titus von der Malsburg a écrit : > Hi list, > > I'm using the package XML to create a simple XML document. > Unfortunately constructing the XML tree is extremely slow. My code > (see below) adds only about 100 nodes per second on an Intel i5 > machine.

Re: [Rd] Creating XML document extremely slow

2012-02-10 Thread Titus von der Malsburg
On Fri, Feb 10, 2012 at 1:40 PM, Friedrich Leisch wrote: > Have you considered simply writing the XML using standard functions > like cat() and friends? That can be much faster than creating an XML > object and writing that out (have just done that to write exams into > our e-learning platform via

[Rd] Creating XML document extremely slow

2012-02-10 Thread Titus von der Malsburg
Hi list, I'm using the package XML to create a simple XML document. Unfortunately constructing the XML tree is extremely slow. My code (see below) adds only about 100 nodes per second on an Intel i5 machine. There's clearly something wrong but I don't see what. Here's a sample of the XML docume

Re: [Rd] [R] Version control (git, mercurial) for R packages

2012-02-10 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CCd to r-devel as suggested by Peter. On 09/02/12 19:28, Hadley Wickham wrote: >>> I'm exploring using a version control system to keep better >>> track of changes to the packages I maintain. I'm leaning >>> towards git (although mercurial also looks