Thursday, June 24, 2010

Shrinking Vista Partition

The "Shrink Volume" option of "Computer Management" tool in Windows Vista would not shrink as much as you want it to. To improve the situation, one can download the trial version of PerfectDisk Professional and perform 3 different types of defragmantation :

  • Consolidate Free Space
  • Boot Time defragmentation
Especially the latter is valuable as it is able to move Vista's normally unmovable system files, substantially (though not optimally) increasing the amount of volume to be gained from the shrink operation. More info is available.

Monday, May 10, 2010

DNS now working in VirtualBox client after network switch

I have a laptop and regularly change network connections. I don't shut the machine down but let it hibernate in between. I use VirtualBox, windows host (sorry, this is it for now but I promise it will change soon ;o), Linux guest.

I had to configure the Google free DNS service in the Linux guest so that the DNS works even when I change network (going home from work, etc.) :

http://code.google.com/speed/public-dns/docs/using.html

Saturday, April 10, 2010

Installing the R package : rgl

On Ubuntu 12.04 (precise) : sudo apt-get install libgl1-mesa-dev libglu-dev libxt-dev libfreetype6-dev fontconfig mesa-utils To install in Ubuntu karmic the R package "rgl", one needs to install the X11 header files :

sudo apt-get install xorg-dev

and the OpenGL libraries :

sudo apt-get install freeglut3 freeglut3-dev libgl1-mesa-dev libglu1-mesa-dev libice-dev libsm-dev libx11-dev libxau-dev libxdmcp-dev libxext-dev libxt-dev mesa-common-dev x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev xlibmesa-gl-dev xtrans-dev

The installation of "rgl" then should work in R :
install.packages("rgl", dep=T)