Monthly Archives: October 2012

Tkinter missing dependency

Tweet Under Fedora 17, I did an import of Tkinter package but got this error in a python shell:

I first install tkinter (i686) with yumex and it do not help, I then install tk-devel: no success. I finally … Continue reading

Posted in Linux, Python | Tagged | Leave a comment

Bioconductor: first installation

Tweet Bioconductor is a website that gathers open source software for bioinformatics in the R language. You can install a Bioconductor package using their interface. As an example, let us install the RBGL package. First, start a R session, and … Continue reading

Posted in R | Leave a comment

Installing JPype to use Java from Python

Tweet JPype is a Python package that allows you to call Java from Python. First, download the zip file (I got version 0.5.4.2). I will use a virtual environment here, so the syntax is simply:

It may work out … Continue reading

Posted in Linux, Python | Tagged , , , | 4 Comments

How to get processor information (linux)

Tweet Simply type

You can also try

Posted in Linux | Tagged | Leave a comment

Fedora 17: post installation

Tweet Fedora 16 crashed after an update. Good time for a fresh installation of Fedora 17. The installation process provides most of the basic tools (browser, editor…) but some favorites are missing… Here is what I did for the post … Continue reading

Posted in Linux | Tagged | Leave a comment

Upgrading R and rpy2

Tweet When upgrading R version, you must recompile rpy2. Let us take a case study based on the upgrade of R2.15 to R2.15.1. First, you need to download the source from the main page http://www.r-project.org/ Once downloaded, get the source … Continue reading

Posted in Computer Science | Tagged , | Leave a comment

PyQt4: example of TableWidget usage

Tweet The following simple example (inspired by saltycrane example shows how to build a simple application that pops up a table with PyQt4 and its TableWidget class.

Posted in Python | Tagged , , | 3 Comments