Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我从 sparkR 中保存了一个长向量。我想保存它并在 R 中使用这个向量。向量是 u=c(1,2,3,5,6,9,...) 我想使用这个向量作为数据集中的条目:data[ u,] 这怎么办?
SparkR 没有row.names,所以它只能在 R 中,而不是在 SparkR 中。
row.names
注意:@WannesRosiers 的评论回答了这个问题。