-
Archives
- August 2020
- April 2020
- June 2019
- November 2018
- September 2016
- February 2016
- December 2015
- August 2015
- July 2015
- May 2015
- January 2015
- December 2014
- August 2014
- June 2014
- April 2014
- February 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- June 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- September 2012
- August 2012
- July 2012
- May 2012
- March 2012
- February 2012
- May 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- September 2010
- July 2010
- May 2010
- February 2010
- January 2010
- December 2009
- November 2009
- September 2009
- July 2009
- May 2009
- January 2009
- November 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
-
Meta
Category Archives: R
Time Series tips for R users
Two people were in here last week asking me about time series modeling in R. I said I’d look something up. I thought this was fabulously helpful for translating between R and time series books: http://www.stat.pitt.edu/stoffer/tsa2/Rissues.htm The leading authority on … Continue reading
RPM updates for RHEL6/Centos etc
Hello, Everybody This is an update notice/reminder. I’ve uploaded new Emacs and ESS for RedHat or Centos 6. And I also ask for bug reports, because of a question I will explain at the end. My goal: have reasonably up-to-date … Continue reading
Build R RPMS on an older Fedora
I posted this in R-sig-fedora, or at least I thought I did. But the message did not appear. A user wanted an R-3.0.1 RPM for Fedora 17, which reached end of life. That wasn’t being provided by Fedora or Epel … Continue reading
R Bioconductor Install (or, where’s my “graph” package?)
Users reported that an R package I use, gRbase, “doesn’t work”. I had to watch them try it and read the error messages. When you try > install.packages(“gRbase”, dep = TRUE) The packages “gRbase” depends on other packages, like “graph”, … Continue reading
Posted in R
Tagged Bioconductor, install.packages
Comments Off on R Bioconductor Install (or, where’s my “graph” package?)
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
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 high performance computing, profiler
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
Coercion of items in vector: peril and promise
### Filename: plotMathProblem.R ### Paul Johnson July 7, 2010 ### email me ### This is a tail of “coercion” of items in vectors. ### Run this code through and see if you can explain the ### puzzle at the end. … Continue reading
Posted in R
Comments Off on Coercion of items in vector: peril and promise
R: recover commands & track methods
http://tolstoy.newcastle.edu.au/R/help/05/09/12506.html From: Prof Brian Ripley Date: Thu 22 Sep 2005 – 19:10:08 EST The original reply was deliberately (I guess) vague. (I’ve removed the history, as attributions had already been removed, in violation of copyright law. If you cite someone, … Continue reading
Posted in R
Comments Off on R: recover commands & track methods