0

I have saved a long vector from sparkR. I want to save it and use this vector in R. The vector is u=c(1,2,3,5,6,9,...) and I want to use this vector as entries in a dataset: data[u,] How can this be done?

zero323
  • 322,348
  • 103
  • 959
  • 935
Ole Petersen
  • 670
  • 9
  • 21

1 Answers1

0

SparkR has no row.names, so it's only possible in R, not in SparkR.

Note: The question was answered by @WannesRosiers's comment.

csgillespie
  • 59,189
  • 14
  • 150
  • 185