[Rd] Re: Calling R functions from Java (D0c)

RICKY_CHEN at promos.com.tw RICKY_CHEN at promos.com.tw
Mon May 16 03:20:40 CEST 2005





Hello kanglin:

      Try to transfer from Java Object JList to R Object Data.frame, you
could use


public Rconnection r_connection = null;
.....
.....
this.r_connection.assign("dataframe_ex",java list_ex);



Best regards,
Ricky Chen
EIM
ProMOS Technologies Inc.
No.19 Li Hsin Rd.,Science-Based Industrial Park, HsinChu,Taiwan,R.O.C.
Tel: 886-3-5798308
Ext : 8512
http://www.promos.com.tw


                                                                                                                                             
                      r-devel-request at stat.m                                                                                                 
                      ath.ethz.ch                    To:      r-devel at stat.math.ethz.ch                                                      
                      Sent by:                       cc:                                                                                     
                      r-devel-bounces at stat.m         Subject: R-devel Digest, Vol 27, Issue 15                                               
                      ath.ethz.ch                                                                                                            
                                                                                                                                             
                                                                                                                                             
                      2005/05/15 06:02 PM                                                                                                    
                      Please respond to                                                                                                      
                      r-devel                                                                                                                
                                                                                                                                             
                                                                                                                                             




Send R-devel mailing list submissions to
             r-devel at stat.math.ethz.ch

To subscribe or unsubscribe via the World Wide Web, visit
             https://stat.ethz.ch/mailman/listinfo/r-devel
or, via email, send a message with subject or body 'help' to
             r-devel-request at stat.math.ethz.ch

You can reach the person managing the list at
             r-devel-owner at stat.math.ethz.ch

When replying, please edit your Subject line so it is more specific
than "Re: Contents of R-devel digest..."


Today's Topics:

   1. Re: Bug in axis labels (PR#7860) (Duncan Murdoch)
   2. PR$7706, png device plot on athlon 64 processor (Duncan Murdoch)
   3. Re: [CSL #263000] Verbrechen der deutschen Frau (lab at cs.wisc.edu)
   4. Specifying dependency on a specific patched version
      (Gabor Grothendieck)
   5. Re: Calling R functions from Java (D0c)
   6. Thank you for your inquiry to the Campus Hub. (Campus Hub)


----------------------------------------------------------------------

Message: 1
Date: Sat, 14 May 2005 16:44:49 +0100
From: Duncan Murdoch <murdoch at stats.uwo.ca>
Subject: Re: [Rd] Bug in axis labels (PR#7860)
To: murdoch at stats.uwo.ca
Cc: r-devel at stat.math.ethz.ch
Message-ID: <42861CF1.2070104 at stats.uwo.ca>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

This is fixed now, in R-patched and R-devel.

Duncan Murdoch

murdoch at stats.uwo.ca wrote:
> Bob O'hara wrote:
>
>>I'm a bit reluctant to call anything a bug: I know it's usually my
>>incompetence instead.  In this case, I can't see what else it is,
>>although it may be a bug in Windows.
>>
>>The problem comes from trying to create a .png of a figure in Windows
>>XP, with R2.1.0.  On the screen it looks OK, but in the .png the text
>>for the x label is smaller than for the y label.  The problem seems to
>>be created by using axes=F in plot().  Here's some code to demonstrate
>>the problem:
>>
>>XX=1:5;  YY=1:5
>>png("thing.png")
>>par(mfrow=c(2,1))
>> plot(XX, YY, axes=F, xlab="X label", ylab="Y label")
>> plot(XX, YY, xlab="X label", ylab="Y label")
>>dev.off()
>>
>>I get a similar problem with bmp() and jpeg(), but not postscript() or
>>pdf().  If I draw the figure in the window in R and then save it as a
>>.png from the menu, the png looks fine.
>>
>>Everything works fine in R1.5.1 (I know, I know!) on Debian Linux, which
>>is why I'm reporting this as a Windows problem.
>
>
> I see the problem in the first figure, and it's still there in a recent
> r-devel build.  My test was also on Windows. Since png() uses the
> Windows graphics driver, it does look like an R bug in the Windows
> graphics driver, but I'd like to hear from someone on a different
> platform...
>
> Duncan Murdoch
>
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



------------------------------

Message: 2
Date: Sat, 14 May 2005 17:06:22 +0100
From: Duncan Murdoch <murdoch at stats.uwo.ca>
Subject: [Rd] PR$7706, png device plot on athlon 64 processor
To: P.E.VerLorenvanThemaat at amc.uva.nl
Cc: r-devel at stat.math.ethz.ch
Message-ID: <428621FE.2010702 at stats.uwo.ca>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

A later bug report (#7860) had to do with inappropriate sizing of the
first text drawn on a png() device, and I've now fixed the bug that
caused that.  Could you please check whether you still see your bug on
today's build?  It will be available on CRAN tomorrow (May 15), in

http://cran.r-project.org/bin/windows/base/rpatched.html

Thanks!

Duncan Murdoch


> From: P.E.VerLorenvanThemaat at amc.uva.nl
> Subject: png device plot on athlon 64 processor
> Date: Fri, 25 Feb 2005 15:52:40 +0100 (CET)
>
> Full_Name: Emiel Ver Loren van Themaat
> Version: 2.0.1
> OS: windows XP
> Submission from: (NULL) (145.117.31.248)
>
>
> On our computers, which have windows xp sp2 installed and have a 64 bit
> amd/athlon processor, the following simple code
>
> png("test.png")
> plot(1:10,main="hello")
> dev.off()
>
>
> results in a plot in which the "main" title is not visible at all. For
32-bit
> computers with XP sp2 this bug does not occur.
>
> Hopefully this bug can be fixed.
>
> (may be the png library is not up to date)
>



------------------------------

Message: 3
Date: Sat, 14 May 2005 22:09:31 -0500
From: lab at cs.wisc.edu
Subject: [Rd] Re: [CSL #263000] Verbrechen der deutschen Frau
To: r-devel at r-project.org
Message-ID: <200505150309.j4F39VZD012988 at vampire.cs.wisc.edu>


Greetings.  (This is an automated response.  There is no need to reply.)

Your message regarding:
  Verbrechen der deutschen Frau
has been received and assigned a request number of 263000.

In order help us track the progress of this request, we ask that you
note the following:

1) Please save this email -- it contains the tracking number for this
request.

2) include the string:
          [CSL #263000]
   (exactly as it appears -- with the square brackets) in the Subject: line
   of any further mail about this particular request.

   For example:
          Subject: [CSL #263000] Verbrechen der deutschen Frau

   You may do this simply by replying to this email.

3) Please make sure to include lab at cs.wisc.edu as a recipient for any
future
   email about this topic (To: lab at cs.wisc.edu or Cc: lab at cs.wisc.edu)

For your convenience, a copy of your original mail is at the end of
this message.

                                Thank You,
                                Computer Systems Lab

======================================================================
>From aliases at granite.cs.wisc.edu Sat May 14 22:09:21 2005
Received: from granite.cs.wisc.edu (granite.cs.wisc.edu [128.105.6.24]) by
 vampire.cs.wisc.edu (8.13.1/8.13.1) with ESMTP id j4F39Lk4012966 for
 <labacct at vampire.cs.wisc.edu>; Sat, 14 May 2005 22:09:21 -0500
Received: from atykiwxox.org (gdd87.gdd.macalester.edu [141.140.121.87])
 by granite.cs.wisc.edu (8.13.1/8.13.1) with SMTP id j4F39EAT005207;
 Sat, 14 May 2005 22:09:15 -0500
From: r-devel at r-project.org
To: lilcatbug at stat.wisc.edu
Date: Sun, 15 May 2005 03:08:58 UTC
Subject: [CSL #263000] Verbrechen der deutschen Frau
Importance: Normal
X-Mailer: Outlook 7.43
X-Priority: 3 (Normal)
MIME-Version: 1.0
Message-ID: <14fd.8ea2bf1b239 at r-project.org>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
X-CSL-Mailscanner-Information: Please contact lab at cs.wisc.edu for more
 information
X-CSL-Mailscanner: Found to be clean

Lese selbst:
http://www.jn-bw.de/texte/zeitgeschichte/verbrechen_der_frau.htm



------------------------------

Message: 4
Date: Sat, 14 May 2005 23:52:13 -0400
From: Gabor Grothendieck <ggrothendieck at gmail.com>
Subject: [Rd] Specifying dependency on a specific patched version
To: r-devel at stat.math.ethz.ch
Message-ID: <971536df05051420525ce1e1b5 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Is there a way to specify a package dependency in the Depends:
field of the DESCRIPTION file for a specific patched version of a
specific OS?

For example, today's Windows patched release (2005-05-14) has
the capability of changing the time zone within R on Windows
via Sys.putenv(TZ="GMT") but prior patched versions do not have this.
Is there some way of ensuring that the 2005-05-14 or later release is used
if on Windows only?



------------------------------

Message: 5
Date: Sun, 15 May 2005 00:30:55 -0500
From: D0c <kanglin at gmail.com>
Subject: [Rd] Re: Calling R functions from Java
To: r-devel at stat.math.ethz.ch
Message-ID: <2667b213050514223046a0476c at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hey anyone explored how to pass java objects (e.g Vector or String) to
R as a to be converted to a data.frame?

On 4/29/05, D0c <kanglin at gmail.com> wrote:
> Hey guys,
> I got a java gui app which loads up data into a table. How can i use R
> to perform statistical functions on the data in the table?
>
> P.S My question is not particularly geared towards Java coding, but
> more towards allowing R functionality within Java.
>



------------------------------

Message: 6
Date: Sun, 15 May 2005 03:09:33 -0500
From: "Campus Hub" <campushub at mnsu.edu>
Subject: [Rd] Thank you for your inquiry to the Campus Hub.
To: <r-devel at r-project.org>
Message-ID:
             <1A7F52A5E87A8040AC43D52190ADF6B887C2A8 at MAIL2.Campus.mnsu.edu>
Content-Type: text/plain;            charset="us-ascii"

Thank you for your inquiry to the Campus Hub. Depending on the volume
and complexity of requests currently being received, please allow up to
3-4 business days for us to research and answer your question.  If you
have not included your full name and Tech ID in your original email,
please resubmit your request and include this information.

To safeguard the privacy of student information, all responses will be
directed to the student's official University email address
(firstname.lastname at mnsu.edu).

Additional information can be obtained on the University website at
www.mnsu.edu. Student billing, registration and financial aid status can
be accessed at www.mnsu.edu/msureg <http://www.mnsu.edu/msureg> .

_______________________________
Campus Hub
Student Financial Services
Minnesota State University, Mankato
117 Centennial Student Union
Mankato, MN 56001
Voice: (507) 389-1866
Fax: (507) 389-2227
Toll Free: (800) 722-0544
Email: campushub at mnsu.edu <BLOCKED::mailto:campushub at mnsu.edu>
Web: www.mnsu.edu/campushub

CONFIDENTIALITY NOTICE:  This e-mail message, including any ...{{dropped}}



------------------------------

_______________________________________________
R-devel at stat.math.ethz.ch mailing list  DIGESTED
https://stat.ethz.ch/mailman/listinfo/r-devel


End of R-devel Digest, Vol 27, Issue 15



More information about the R-devel mailing list