[R] rJava: System.exit(1) in Java causes R crash

2010-08-17 Thread Sigal Blay
I'm writing a package that successfully calls Java from R using rJava. When R sends my Java function bad data (through .jcall()), I get the error message details (when I run it on a console) and then: Java requested System.exit(1), closing R. Is there a way to call .jcall so that when Java recei

[R] rtracker dependencies installation problem?

2010-05-09 Thread Sigal Blay
Why do I get this error message? > library("rtracklayer") > session <- browserSession() > x<-ucscTableQuery(session, "knownGene" , GenomicRanges(0,12000,"chr1")) Error in solveUserSEW0(start = start, end = end, width = width) : solving row 1: range cannot be determined from the supplied argume

Re: [R] Resize Graphics Window

2010-05-02 Thread Sigal Blay
(vp1) function2(5, vp2) # User needs to draw 5 lines above triangle popViewport() - Original Message - From: "Tal Galili" To: "Sigal Blay" Cc: r-help@r-project.org Sent: Saturday, May 1, 2010 11:48:43 PM GMT -08:00 US/Canada Pacific Subject: Re: [R] Resize Graphics Window H

[R] Resize Graphics Window

2010-04-30 Thread Sigal Blay
Need way to resize an existing graphics window. This should be applicable across platforms (as part of a package). Context: function1() draws main plot (I'm using grid), function2() adds smaller plot above main plot, but this one can sometimes overflow the original graphics window area. Thanks