Sunday, March 27, 2011

How to Install GuitarPro6 on 64-bit Ubuntu

From http://ubuntuforums.org/showthread.php?t=1458626

How to Install Guitar Pro 6 on 64-bit install.
1) Download the latest .deb from Guitar Pro's website.
2) Goto http://frozenfox.freehostia.com/cappy/ and install getlibs-all.deb
3) Run this in terminal
Quote:
sudo dpkg -i --force-architecture Downloads/GuitarPro6-r7840.deb
You will get some errors but ignore.
4) Run this in terminal
Quote:
getlibs /opt/GuitarPro6/GuitarPro

Thursday, March 10, 2011

Moving a thunderbird profile to another machine

http://support.mozillamessaging.com/en-US/kb/Profiles#_Moving_a_profile

Friday, March 4, 2011

Installing Rstudio in Ubuntu : ignoring a depending package

The installer of rstudio complains : Package r-base is not installed. But in ubuntu, that package exists under the name r-base-core.

Simply install the package with the following command :

sudo dpkg -i --ignore-depends=r-base rstudio-0.92.23-i386.deb

Wednesday, February 23, 2011

To debug R code

Either :
* put the command browser() : will stop where the command "browser" was called
* or call the function debug : debug(name_function_to_debug) : will stop at the start of the script
* options(error=recover)

Type "Q" to exit the browser. Type "n" to execute the next line. Type "c" or ENTER to continue running and exit the function.

Monday, February 14, 2011

Installing RNetCDF (ncdf) in R

Taken from https://stat.ethz.ch/pipermail/r-help/2008-March/157089.html
This is ubuntu 10.4.

sudo apt-get install libudunits2-0 libudunits2-dev
sudo apt-get install libnetcdf4 libnetcdf-dev

Then in R :
install.packages("RNetCDF",configure.args="--with-netcdf-include=/usr/include")

Note : A regular install is unable to find netcdf.h, giving the error below. Use rather the install.packages command given above.

checking for netcdf.h... no
configure: error: netcdf header netcdf.h not found
ERROR: configuration failed for package ‘ncdf’

Thursday, January 27, 2011

ubuntu : installing ubuntugis and R

Add the following lines in /etc/apt/sources.list :

sudo vi /etc/apt/sources.list
deb http://cran.skazkaforyou.com/bin/linux/ubuntu maverick/
deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu maverick main
deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu maverick main

Then add the "canonical partners" software repository from "ubuntu software center-sofware sources" (for sun java jdk/jre)

Get the keys
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com D67FC6EAE2A11821
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable


sudo apt-get update
sudo apt-get install r-base-core libgdal1-dev libproj-dev libgdal1-1.7.0-grass qgis grass saga sun-java6-jdk

Saturday, January 1, 2011

qmail problem in plesk

Cannot send mail with qmail :

qmail-queue-handlers[xxxxxx]: cannot create temporary file - (13) Permission denied

I searched the web and there seems to be a solution. But it does not work :
http://forum.parallels.com/showthread.php?t=87344
http://forum.parallels.com/showthread.php?t=94593