Hello, Do not assume anything. Never. Ever. Specially with SparkR (Apache Spark 2.1.0). When using the gapply function, maybe you want to return the key to mark the results in a function as follows: SURPRISE. You can’t. You should get […] ↓ Read the rest of this entry…