Linking R with external BLAS library can speed up the matrix calculations. This topic has been discussed many times in R Installation and Administration R mailing list and other places. Here are two more official documents from Intel that I though might be useful Using Intel® MKL in R Intel® Math Kernel Library Link Line… Continue reading Using Intel compiler and Intel MKL in R

# Category: R

## Generalized hypergeometric function in R

Just wrote an R function to calculate the generalized hypergeometric function \(pFq\) for real numbers. The function is evaluated based on the series expansion of Pochhammer symbol. The function also allows you to have vectorized input. You can find the code at https://github.com/feng-li/flutils/blob/master/R/math/ghypergeo.R The function depends on the Pochhammer function which is available at https://github.com/feng-li/flutils/blob/master/R/math/pochhammer.R

## Rscript example

I use Rscript as my prime scripting language to perform some command-line tasks. The reason for this is I don’t know much about bash scripts nor perl language. Writing a script in R is very simple if you know R language. But there are a few things need to consider. How to pass arguments to… Continue reading Rscript example