[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

Re: [R] i want to export a data.frame to file.xls

2008-05-19 Thread Blay
_2007 > > what is the solution ? > Hi, write.csv(df,"filename.csv") will save it in .csv format which is readable by excel. Can then be saved as .xls in excel OR ?write.xls (package: xlsReadWrite) Blay - Blay S KATH Kumasi, Ghana. -- View this message in cont

Re: [R] Help to Draw Plot

2008-05-14 Thread Blay
Try >par(fg="blue") >plot(range(10,-10),range(10,-10),col="blue",col.axis="blue",col.lab="blue",col.main="blue",col.sub="blue") Blay KATH ermimi wrote: > > Hello friends!! > > I have two questions, and I wou