similar to: How to efficiently share data (a dataframe) between R and Java

Displaying 20 results from an estimated 2000 matches similar to: "How to efficiently share data (a dataframe) between R and Java"

2015 Dec 15
2
How to efficiently share data (a dataframe) between R and Java
Dear all, thank you for your hints. I would prefer to do not use Rserve as Dirk mentioned. @Simon I have full control over the Java implementation - I can adapt the code that I use for the communication R <-> Java. > You can natively access structures on each side. The fastest way is to > use R representation (column-oriented) in Java - that is much faster > than any kind of
2015 Dec 15
0
How to efficiently share data (a dataframe) between R and Java
You can pass the entire df, example: > data(iris) > iris$sp = as.character(iris$Species) > o=.jarray(lapply(iris, .jarray)) > .jcall("C",,"df",o) df, 6 variables [0]: double[150] [1]: double[150] [2]: double[150] [3]: double[150] [4]: int[150] [5]: String[150] Java code: public class C { static void df(Object df[]) { int n;
2015 Dec 07
0
How to efficiently share data (a dataframe) between R and Java
On Dec 6, 2015, at 12:36 PM, Ing. Jaroslav Kucha? <jaroslav.kuchar at fit.cvut.cz> wrote: > Dear all, > > in our ongoing project we use Java implementations of several > algorithms. We also provide a ?wrapper? implemented as an R package > using rJava (https://github.com/jaroslav-kuchar/rCBA). Based on our > recent experiments, the significant portion of time is spent on
2008 Apr 12
1
Solving ODEs
Hello. I'm solving ODEs in R. I need "as many methods as possible", so I downloaded the Fortran functions from http://www.netlib.org/ode/. Then I created DLLs and dyn.loaded them to R. Problem is that I don't know how to use them. I've been trying for many days and can't solve it. So I would be very glad if you could give me some link (or whatever) where I can see how to
2003 Jun 25
2
Can I remove lib-elf.so.1?
I am cleaning up my 4-STABLE system. After a fresh installworld, I am looking at files that did not get touched by the install. Is it safe to remove all such files? In particular, I am looking at /usr/libexec/lib-elf.so.1, which has the schg flag set. I am afraid to remove this for fear of making my system unbootable. Could somebody please reassure me that it is ok to noschg and remove this old
2023 Aug 25
1
[PATCH 2/5] ALSA: hda/intel: Use pci_get_base_class() to reduce duplicated code
From: Sui Jingfeng <suijingfeng at loongson.cn> Should be no functional change Cc: Jaroslav Kysela <perex at perex.cz> Cc: Takashi Iwai <tiwai at suse.com> Cc: Fred Oh <fred.oh at linux.intel.com> Cc: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com> Cc: Kai Vehmanen <kai.vehmanen at linux.intel.com> Cc: Bjorn Helgaas <bhelgaas at
2011 Apr 03
2
Puppetmaster behind ssh with remote port forward
Hi Folks, I''m trying to setup a test envoriment which is composed by a puppetmaster running in my laptop (Macos Snow Leopard) and a puppet client running on a EC2 instance at Amazon. In order to allow the client to talk with the master I''m using an SSH Remote port forward, ie I login into from the laptop into the EC2 instance witha "-R 8140:localhost:8140" flag. This
2007 Mar 06
1
A few more bugs...
Hello, I found a couple bugs concerning my favourite Shade/Unshade function. 1) Sometimes the shaded window gets more space than it should and, of course, nobody takes care about it, so everything drawn on this space remains here. If I move a decorated window along, its shadow cummulates quickly to full black here. Unfortunately, I don't know any reliable way how to reproduce this. (But it
2016 Nov 22
0
[jmracek@redhat.com: DNF-2-0 - release candidate]
----- Forwarded message from Jaroslav Mracek <jmracek@redhat.com> ----- Date: Tue, 22 Nov 2016 16:17:11 +0100 From: Jaroslav Mracek <jmracek@redhat.com> To: bcl@redhat.com, dcantrell@redhat.com, "Lumens, Christopher" <clumens@redhat.com>, pjones@redhat.com, sbueno@redhat.com, christos.triantafyllidis@gmail.com, kevin@tigcc.ticalc.org, clime@redhat.com,
2005 Aug 26
3
Free-form to fixed-form Fortran
Hello! I have writen some subrutines in Free-form Fortran. I would like to includ them in a package, which I would like to build on WinXP. I have all suggested tools/programs for bulding R packages on Windows (except latex). What is the best way of using these subrutines? Does sombody mybe know any translation tools for converting Free-form to fixed-form Fortran? Thanks for any suggestions,
2012 Oct 15
2
[LLVMdev] Alternate instruction encoding for subtargets
Hello, I have a compiler in LLVM 2.9 for the KCPM3 processor. I'd like to create a subtarget for the new cpu version called KCPSM6. Besides a couple of new instructions which are not important at the moment, the KCPSM6 cpu has different instruction opcodes. Semantically the instructions are the same, hence I'd like to keep all the lowering and pattern matching stuff unmodified For
2006 Mar 08
1
Overriding inbox location in passwd-like file
Hi, I have some real users and some virtual users. The real users use mbox file as their inbox. But I'd like to use Maildir as inbox for the virtual users. (The reason is that I am actually moving some accounts from another server that already uses Maildir.) I'd like Dovecot to find Maildir in $HOME of my virtual users as their inbox. So I tried to use the following in my users.passwd
2003 Sep 16
1
how to identify huge downloads ?
hello ... how can I identify huge downloads on link to automticly move them to low priority queue ? somethink like combination rate and duration of session Thanks
2003 Dec 16
1
user name with a dot not working
Hello, I'm having problems with user names containing a dot. For example "j.smith". In our network we have Win2K PDC and a Samba server. smb.conf contains this: [global] security = domain password server = MYSERVER username map = /etc/samba/smbusers [myshare] valid users = j.smith write list = j.smith etc... /etc/samba/smbusers file contains this: jsmith = j.smith And Linux box
2012 Sep 26
1
[LLVMdev] Add --program-prefix support with AC_CANONICAL_TARGET override.
Adding --program-prefix support to the autoconf build has been an adventure. A patch was applied. It worked on the usual llvm bots, but failed on other bots with different configure options. The patch was reverted as it broke on bots specifying --build, --host, and --target in configure. An option is proposed here to change the behavior of program-prefix to it's normal behavior when
2005 Feb 07
2
barplot: space makes beside=F (PR#7668)
Full_Name: Ondrej Medek Version: 2.0.1 OS: Linux/Debian Sarge Submission from: (NULL) (147.32.127.204) Hi, I had a R version 1.5.1 and I used a 'barplot' with 'beside=T' and 'space' has been vector of 8 numbers 'space=c(1,0.5,rep(c(0.5,-0.5),3))'. Then I upgraded to the R 2.0.1 and my graphs are broken. If I use any vector of more than 2 elements for
2011 Dec 24
1
Call for Abstracts for useR! 2012
The international R User Conference useR! 2012 will be held June 12-15 at Vanderbilt University in Nashville, Tennessee, USA, with a pre-conference full-day course offered on June 11. Participants are encouraged to submit a one-page abstract for oral or poster presentation at the conference. Half-day tutorials will be held in the morning and afternoon of June 12th. For tutorials, please
2012 Mar 22
1
Serializing many small objects efficiently
Hi, sorry if this question is trivial or unclear, this is my first venture into mixed C/R programming (I am reasonably experienced in each separately). I am trying to write a serialization function for a format called typedbytes, which is used as an interchange format in Hadoop circles. Since I would need to serialize according to the internal R format many small R objects I looked at the c
2005 Jun 15
1
umlauts in Rd files
Hi I'm having difficulty following the advice in section 2.7 of R-exts. In one of my packages, there is a function called mobius(). I want to refer to it in the Rd file as the M??bius function, and to illustrate the M??bius inversion formula (just to be explicit: this is "Mobius" but with two dots over the second letter). R-exts section 2.7 gives \enc{J??reskog}{Joreskog}
2009 Jun 04
3
script question
I have this line: ALSA=`aplay --version` in a script. when I execute the script I get the message line 187: --version: command not found when I do "aplay --version" on the command line it works just fine. What is happening here, --version is a valid command line option? Thanks, jerry