Skip to main content

More configuration for metabolic modeling with R

The second day of metabolic modelling work introduced me to more installation stuff required to complete the platform set-up. This all started when I was going through the vignette of the R package sybil and trying to run the example analysis shown in the vignette. I tried to run the flux balance analysis example and it said that I needed glpkAPI. It turns out that I have to first install GNU GLPK. The glpk that was available on ubuntu repository didn't work. So, I installed glpk as follows

wget http://ftp.gnu.org/gnu/glpk/glpk-4.48.tar.gz
wget http://ftp.gnu.org/gnu/glpk/glpk-4.48.tar.gz.sig
sudo gpg --keyserver keys.gnupg.net --recv-keys 5981E818
sudo gpg --keyserver keys.gnupg.net --recv-keys 5981E818
./configure
make
make install


After this, I tried installing glpkAPI using install.packages, but it didn't work (even with --configure-args specified correctly). Downloading the package to the local drive and installing it from the command console worked. Here is the command:

sudo R CMD INSTALL glpkAPI_1.2.6.tar.gz --configure-args="--with-glpk-lib=/usr/local/lib --with-glpk-include=/usr/local/include --enable-gmp=no"

Comments

Popular posts from this blog

Chetta idea - 1

Alternative title: proposal for a health care project. Diseases such as hypertension (high blood pressure), diabetes, obesity are becoming so common nowadays. It is hard to find people with no diseases. The lifestyle is certainly to be blamed. But what is the use if we just shut our mouth after finding the right thing to blame? Or how would I be different if I leave it there. So, here is a proposal for an automatic health-care system. Well, I know there maybe some treatments, but the idea here is to prevent the diseases. But, prevention really demands prediction of the disease occurrance much before the disease symptoms show off. But, since I am not a palmist or an astrologist, my proposal is to develop a method to stop the disease as soon as its onset or the symptoms appear. OK... it will become more clear as I go with the concrete examples. I would like to concentrate on hypertension and diabetes, because they appear to be the most common diseases. As most of you know, the best cure...

ZyXEL VMG3326 D20A ADSL modem Linux wireless network problem

I bought 10Mbps ADSL network connection from Saunalahti . It works all perfect except for this little glitch I had with it: from my Linux Mint Debian Edition (LMDE) or Ubuntu machine, I could not get the wireless network. While a windows machine and two android phones can access the wifi signals from the modem, the Linux machines can't even see the SSID of my network. In the beginning when I had just setup the modem I could access the wireless network from my LMDE machine. I started noticing the problem with the network, when I turned off my ADSL modem one day and in the evening turned it on. While all other machines got the connection as soon as the modem was up, my Linux machine could not detect the signal. After a little bit of messing around, I concluded that, for Linux to receive the wireless signal without a problem and to get the connection after the modem restarts, I need to follow the following protocol. I need to turn the wifi off on the modem by pressing a blue butto...

A-link pad 10 review

I ordered this a-link pad 10 on 16.5 (from: (http://www.a-link.com/fi/PAD10/product.php) . It is a totally whimsical decision because there are no reviews about it in the internet. I picked up my tablet from a-link "store" in Tuomarila on 18.5. After I picked up, I went to VTT and charged it there while I was working. After that I got it home and have been testing. Test results (cons) in no specific order: 1. As of now, the touch doesn't work. Luckily I enabled under developer settings an option to show the visual feedback on touch. Because of that I know the reason why the tablet doesn't respond to touch. Apparently, there is a huge error the tablet makes as to where I touch. So, when I want to touch an OK button which is in the middle of the screen and put I finger right on the button, the tablet interprets my finger to be somewhere on the bottom left corner! For this reason, I am not able to use the tablet for the last 30 minutes. Since I am able to se...