Blog Archives

A primer to Sweave with LyX

October 24, 2009
By

This is a step-by-step guide to 'Sweave' a document in R with Lyx on Ubuntu (9.04).System: Ubuntu 9.04, LyX 1.6.2, R 2.11.0 (Development version, r50178)Install LyX with Synaptic if it is not installed yet. (Current version 1.6.2)Start LyX, go to menu ...

Read more »

05.05.09: 6 Steps to call a C function in R

May 5, 2009
By

Tasks

  • Wrap for netMotifs
  • Submit Abstract for PhD Retreat
  • Read Architecture paper
  • Özgür's WST data and Uli's RTCA data
After some searching and testing, I have began to know how to call a C function in R. The reason for doing this can be speed (for example, the convolution of two finite sequences, as raised by the Writing R Extensions tutorial, refered as...

Read more »

RinWIN: Character eaten by cmd or Powershell? R.exe or Rterm.exe?

August 6, 2007
By

Problem Description: When running R2.6.0(built with MinGW) in PowerShell (PS> /bin/R.exe), one can exit the running code with CTRL-C. However, the following situation is rather cratchy : the shell would (almost always) consequently omit the first ch...

Read more »