From user-return-48464-apmail-spark-user-archive=spark.apache.org@spark.apache.org Tue Dec 22 21:50:41 2015 Return-Path: X-Original-To: apmail-spark-user-archive@minotaur.apache.org Delivered-To: apmail-spark-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 21787187C3 for ; Tue, 22 Dec 2015 21:50:41 +0000 (UTC) Received: (qmail 23113 invoked by uid 500); 22 Dec 2015 21:50:37 -0000 Delivered-To: apmail-spark-user-archive@spark.apache.org Received: (qmail 23012 invoked by uid 500); 22 Dec 2015 21:50:37 -0000 Mailing-List: contact user-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@spark.apache.org Received: (qmail 23002 invoked by uid 99); 22 Dec 2015 21:50:37 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Dec 2015 21:50:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id E22F8C05A2 for ; Tue, 22 Dec 2015 21:50:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id HLZ2ddh8my-V for ; Tue, 22 Dec 2015 21:50:36 +0000 (UTC) Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id E9F3723032 for ; Tue, 22 Dec 2015 21:50:35 +0000 (UTC) Received: by mail-wm0-f44.google.com with SMTP id l126so128125403wml.1 for ; Tue, 22 Dec 2015 13:50:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=fCpDjcnrCfhf5i6ahUrJYojdzTzqxBGLTkpeS36wyew=; b=M/Zu3AZTaTyvQgUgYEYpIhdX9j2S8efws6S2RAWKwbUgTFaH1Tog/2T5cXC8vhHSRU meLvMu54oFD/0QwWs2r+KVmnPpkqHmA32bCuooA21Mcrp0jqawRbfws4qhUUDXw7k0rs xqaXp9H7GkRH3Mh2boDNg/w28xgkjkUDp++n82jaD8xsQiFzTicKtQ7kA4rsmwMY+GAl O8GmBQ7cIu3pbStXELrG/h3qtF79gTq4tPTf4HI633rX6K2czo9Y/dk42blQj4Uy30Ll O1e8BtNst42ot2FprX7LLvFMWJ225ph+EIuGqL234h8AzELED/XEEljkxbDU0VJ8miOL AZQw== MIME-Version: 1.0 X-Received: by 10.28.175.144 with SMTP id y138mr29470351wme.47.1450821027942; Tue, 22 Dec 2015 13:50:27 -0800 (PST) Received: by 10.194.109.65 with HTTP; Tue, 22 Dec 2015 13:50:27 -0800 (PST) Date: Tue, 22 Dec 2015 13:50:27 -0800 Message-ID: Subject: Do existing R packages work with SparkR data frames From: Duy Lan Nguyen To: user@spark.apache.org Content-Type: multipart/alternative; boundary=001a11444b6400dc4a0527839829 --001a11444b6400dc4a0527839829 Content-Type: text/plain; charset=UTF-8 Hello, Is it possible for existing R Machine Learning packages (which work with R data frames) such as bnlearn, to work with SparkR data frames? Or do I need to convert SparkR data frames to R data frames? Is "collect" the function to do the conversion, or how else to do that? Many Thanks, Lan --001a11444b6400dc4a0527839829 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

Is it possible for ex= isting R Machine Learning packages (which work with R data frames) such as = bnlearn, to work with SparkR data frames? Or do I need to convert SparkR da= ta frames to R data frames? Is "collect" the function to do the c= onversion, or how else to do that?

Many Thanks,
Lan
--001a11444b6400dc4a0527839829--