callJMethod is a private R function that is defined in https://github.com/apache/spark/blob/a0cc3e5aa3fcfd0fce6813c520152657d327aaf2/R/pkg/R/backend.R#L31
callJMethod serializes the function names, arguments and sends them over a socket to the JVM. This is the socket-based R to JVM bridge described in the Spark Summit talk https://spark-summit.org/2015/events/sparkr-the-past-the-present-and-the-future/ Thanks Shivaram On Thu, Jul 9, 2015 at 4:28 PM, Vasili I. Galchin <vigalc...@gmail.com> wrote: > Hello, > > I am reading R code, e.g. RDD.R, DataFrame.R, etc. I see that > callJMethod is repeatedly call. Is callJMethod part of the Spark Java API? > Thx. > > Vasili >