Monthly Archives: January 2013

Debian multiarch: Unexpected complication when building amd64 packages: Can’t install!

This is a multiarch issue I had not considered before. Have you seen it? I never wanted to be a “cross compiler”, I really only want to build amd64. But I have some i386 libraries for a particular program (acroread). … Continue reading

Posted in Linux | Tagged , , | Comments Off on Debian multiarch: Unexpected complication when building amd64 packages: Can’t install!

Big LyX Sweave output breakthrough

I’ve tried to set up LyX converters and copiers many times to achieve a particular result. Today I’ve succeeded for the very first time. From a single export, I want pdf output for a lecture article format output for the … Continue reading

Posted in LaTeX/Lyx, R | Comments Off on Big LyX Sweave output breakthrough

Linux: Hiding the “desktop panel” when you want more screen real estate

It wasn’t always the case that the panels and other such devices on the edges of the screen were “always on top” when visible. I hate the current trend of making them “un-cover-upable”. It is very inconvenient to the way … Continue reading

Posted in Linux | Tagged , , | Comments Off on Linux: Hiding the “desktop panel” when you want more screen real estate

Lyx: Customized bullets lists and the Simpsons!

Without further adieu! Working example output: http://pj.freefaculty.org/scraps/simpsons/simpsons-2.pdf Lyx file: http://pj.freefaculty.org/scraps/simpsons/simpsons-2.lyx Even if you don’t want the Simpsons as your bullets in lists, you might still look this over because it shows how you can put in ANY valid LaTeX symbol … Continue reading

Posted in LaTeX/Lyx | Tagged | Comments Off on Lyx: Customized bullets lists and the Simpsons!

Debian Wheezy multilib transition: caution

Here’s a cautionary heads up on the transition from ordinary to multilib Debian. I run Debian Wheezy amd64. Some 32 bit applications are installed, and somehow I came to a point where ia32libs wanted to update and transition me to … Continue reading

Posted in Linux | Tagged | Comments Off on Debian Wheezy multilib transition: caution

R package profiling with Google

I want to speed up R packages written with the Rcpp and RcppArmadillo packages. gprof is not an option because R is not compiled with -pg, and just re-compiling the shared libraries of the packages is insufficient. valgrind can generate … Continue reading

Posted in R | Tagged , | Comments Off on R package profiling with Google

fighting with sprof

$ export LD_PROFILE_OUTPUT=/tmp/oout $ export LD_PROFILE=`pwd`/Amelia.so $ mkdir -p /tmp/oout//home/pauljohn/R/x86_64-pc-linux-gnu-library/2.15/Amelia/libs/ $ env | grep LD OLDPWD=/home/pauljohn/R/x86_64-pc-linux-gnu-library/2.15/Amelia LD_LIBRARY_PATH=/home/pauljohn/R/x86_64-pc-linux-gnu-library/2.15/Amelia/libs LD_PROFILE=/home/pauljohn/R/x86_64-pc-linux-gnu-library/2.15/Amelia/libs/Amelia.so LD_PROFILE_OUTPUT=/tmp/oout After that $ R -f testfile.R If there is trouble, it looks like this: > library(Amelia) Loading required package: foreign Loading … Continue reading

Posted in R | Tagged , | Comments Off on fighting with sprof