[R] heatmap.2 with colsep and sepwidth

2011-09-21 Thread Christian Ruckert
I am using attributes colsep and sepwidth from heatmap.2 function, however when using larger values for sepwidth the following columns are not moved to the right but the seperator is covering the column(s) with a white bar and the column labels and ColSideColors remain at their positions, is th

Re: [R] two scales for one plot

2010-03-18 Thread Christian Ruckert
Maybe this is what you are searching for: 2-Y-axes on same plot https://stat.ethz.ch/pipermail/r-help/2008-December/182374.html Best regards, Christian Bunny, lautloscrew.com wrotes: Dear all, i am looking for a possibility to use two lines in the same plot with different scales. i.e the st

Re: [R] creating list of the from 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, . . ., n, n, n?

2009-08-14 Thread Christian Ruckert
John Sorkin wrote: Windows XP R 2.8.1 Is there any way to make a list of the from 1,1,1,2,2,2,3,3,3,4,4,4, . . ., n,n,n? rep(1:n, each=3) Greetings, Christian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] React on sigterm

2009-06-05 Thread Christian Ruckert
Dear all, is there any possibility to react on a process termination signal in R? In a cluster (using RMPI and snow) if the main R process is aborted due to runtime limitations I want to properly shutdown all spawned node processes, e.g. via mpi.close.Rslaves. Any hints are welcome, Christi

Re: [R] How to save the variables in R to a file

2009-04-06 Thread Christian Ruckert
CetinyĆ¼rek Aysun schrieb: Dear list members, I have f.mean matrix of size 500 X 83 in R, and I want to save this into a file. I used the command save("f.mean.Rdata",file="D:/Users/Ays/Documents/Results") it saves but when I open the file in notepad it is just some characters meaningless. The p

Re: [R] Using R in Java?

2009-02-19 Thread Christian Ruckert
nicro schrieb: Hi 2 questions- 1. Is there a package that will allow me to run R scripts (entirely) from Java? 2. If so, is there a way to capture the output of those scripts, (including images) and embed them in my SWT java app? My challenge is I have a java app that does some statistical chore

Re: [R] Help - java.library.path

2008-12-17 Thread Christian Ruckert
Stefan Gengenbach schrieb: Hello all, I`m a computer science student from Frankfurt/main (germany). Our student team (10 students) are working on a R/Interface project (Java and R) and we have a problem with R and JRI. We are working on 10 computers with Windows XP SP2, R 2.8.0, jdk1.6.0_11

[R] Saving R-objects to a database

2008-09-25 Thread Christian Ruckert
Someone solved the problem of saving R-objects to a database? These are the two varaints I've tried so far without success: 1) ser = rawToChar(serialize(obj, NULL, ascii=TRUE)) dbSendQuery(link, paste("insert into table values(1, '",ser,"')",sep='')) The field to save the object in the MySQL Da

[R] rJava crashes jvm

2008-07-09 Thread Christian Ruckert
Dear List I tried using rJava respectively JRI to run R code from within Java but got an error message reproducible. I have broken down the problem to this simple piece of code: import org.rosuda.JRI.*; public class rtest { public static void main(String[] args) { Rengin