Saturday, 16 April 2011

R Package install order automation

There is a bioconductor tool to generate install order for packages [here].
Initially tool generates graph of CRAN package dependencies (ignoring suggests, because otherwise graph will be acyclic).


Usage Example:

source("http://www.bioconductor.org/biocLite.R")
biocLite("pkgDepTools")
require('pkgDepTools')
deps <- makeDepGraph("http://cran.r-project.org", type="source")
a<-getInstallOrder("plyr",
deps,needed.only=FALSE)
a$packages
[1] "iterators" "itertools" "plyr"

Saturday, 9 April 2011

R-plugin for vim

vim is a powerful text editor and R is a powerful environment for statistical computing task. To harness both powers a plug-in for vim is developed. One needs python enabled vim and conqueterm.

Friday, 8 April 2011

Ant task with wildcard expansion for svn.

Ant is a popular tool among Java developers but one can use it for some other generic tasks. For example using svn as a task inside an ant script is provided by a library. However wildcard expansion won't work under this task. One way to over come this to use an exec task as follows (in windowz):
<exec executable="cmd.exe">
<arg line=" /C svn --force delete pathtofiles\*.dat
--username=username --password=password">
</arg>
</exec>

Saturday, 25 December 2010

Package Bibentry

Bibtex is a powerful tool for referencing in scientific publications and many other type of academic documents. One nice package (bibentry) that enables us to use bibtex entries within the text. Simply add the package as follows:

\usepackage{bibentry}

When you need to refer to needed bibtex key information, just use:

\bibentry{needed_bibtex_key}
(c) Copyright 2008-2024 Mehmet Suzen (suzen at acm dot org)

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License