[R] passing arguments to a function problem

2008-06-22 Thread Jiří Voller
Dear R-users, is there some way how to pass various colnames to the following code for sorting data.frames? mydf.ordered-with(mydf, mydf[order(colname1,colname2, colnameX, decreasing = TRUE), ]) I was trying something like Afunction-function (mydf,colnames,decreasing=T){

[R] sys.time question - how to improve R performance

2008-04-26 Thread Jiří Voller
Dear R-users, I run my program a difference between sys.times is as follows: user system elapsed 60167.53 2848.75 63278.93 I am quite puzzled how it may happen that system time is so much shorter than user time, I have 2 core computer most of the time (90%) I was not doing anything else

[R] Exporting of R dendrogram object in the format of Eisen´s Cluster

2008-03-23 Thread Jiří Voller
Dear R-users, I would like to use Cluster 3.0 for my data because of its zooming, link out and copy (gene)labels into clipboard options. Unfortunately the program doesnt allow use of the distance metrics I would like to use. I would like to ask if there is some library, that allows saving