want to see is sum of columns in same row
55,55
But output what I get is in two rows
55, NA
55, NA
Thanks
Pranay
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/SparkR-lapplyPartition-transforms-the-data-in-vertical-format-tp11540p11617.html
Sent from
wanted to test lapply.
Output I want to see is sum of columns in same row
55,55
But output what I get is in two rows
55, NA
55, NA
Thanks
Pranay
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/SparkR-lapplyPartition-transforms-the-data
]),as.character(element[2]), \n)
}
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/SparkR-lapplyPartition-transforms-the-data-in-vertical-format-tp11540p11726.html
Sent from the Apache Spark User List mailing list archive at Nabble.com
in output) {
cat(as.character(element[1]),as.character(element[2]), \n)
}
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/SparkR-lapplyPartition-transforms-the-data-in-vertical-format-tp11540p11726.html
Sent from the Apache Spark User List mailing
.1001560.n3.nabble.com/SparkR-lapplyPartition-transforms-the-data-in-vertical-format-tp11540.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org