Description
SparkR's createDataFrame doesn't have a `numSlices` parameter. The user cannot set a partition number when converting a large R dataframe to SparkR dataframe. A workaround is using `repartition`, but it requires a shuffle stage. It's better to support the `numSlices` parameter in the `createDataFrame` method.