File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ exportMethods("columns",
122
122
"show",
123
123
"showDF",
124
124
"sortDF",
125
- "subtract",
126
125
"toJSON",
127
126
"toRDD",
128
127
"unionAll",
Original file line number Diff line number Diff line change @@ -1159,10 +1159,13 @@ setMethod("intersect",
1159
1159
# ' df2 <- jsonFile(sqlCtx, path2)
1160
1160
# ' subtractDF <- subtract(df, df2)
1161
1161
# ' }
1162
+
1163
+ # ' @rdname subtract
1164
+ # ' @export
1162
1165
setMethod ("subtract ",
1163
- signature(x = " DataFrame" , y = " DataFrame" ),
1164
- function (x , y ) {
1165
- subtracted <- callJMethod(x @ sdf , " except" , y @ sdf )
1166
+ signature(x = " DataFrame" , other = " DataFrame" ),
1167
+ function (x , other ) {
1168
+ subtracted <- callJMethod(x @ sdf , " except" , other @ sdf )
1166
1169
dataFrame(subtracted )
1167
1170
})
1168
1171
You can’t perform that action at this time.
0 commit comments