search for: keepspace

Displaying 3 results from an estimated 3 matches for "keepspace".

2015 Aug 22
3
sprintf error: "only 100 arguments allowed"
...-1), 10, T)) X = as.data.table(X) X[, weight:=ifelse(V102 == 1, 3, 1)] # check out function arguments head(dt2vw, 2)# function (data, fileName, namespaces = NULL, target, weight = NULL, # tag = NULL, hard_parse = F) namespaces = list(a = list(varName = sprintf('V%s',1:50), keepSpace=F), b = list(varName = sprintf('V%s',51:101), keepSpace=F)) dt2vw(data=X, fileName='../out.vw', namespaces = NULL, target='V102', weight = 'weight', tag = NULL, hard_parse = F) ### error # [1] "sprintf('%f %f |A V1:%f V2:%f V3:...
2015 Aug 26
1
sprintf error: "only 100 arguments allowed"
...t:=ifelse(V102 == 1, 3, 1)] >> # check out function arguments >> head(dt2vw, 2)# function (data, fileName, namespaces = NULL, target, >> weight = NULL, # tag = NULL, hard_parse = F) >> >> namespaces = list(a = list(varName = sprintf('V%s',1:50), keepSpace=F), >> b = list(varName = sprintf('V%s',51:101), >> keepSpace=F)) >> >> dt2vw(data=X, fileName='../out.vw', namespaces = NULL, >> target='V102', weight = 'weight', >> tag = NULL, hard_parse = F) &gt...
2015 Aug 25
0
sprintf error: "only 100 arguments allowed"
...le(X) > X[, weight:=ifelse(V102 == 1, 3, 1)] > # check out function arguments > head(dt2vw, 2)# function (data, fileName, namespaces = NULL, target, > weight = NULL, # tag = NULL, hard_parse = F) > > namespaces = list(a = list(varName = sprintf('V%s',1:50), keepSpace=F), > b = list(varName = sprintf('V%s',51:101), keepSpace=F)) > > dt2vw(data=X, fileName='../out.vw', namespaces = NULL, > target='V102', weight = 'weight', > tag = NULL, hard_parse = F) > ### error > # [1] "...