From aa7334c46ce59b2accf0fe662c24d9d2e856611f Mon Sep 17 00:00:00 2001 From: raybuhr Date: Wed, 9 Dec 2015 15:47:14 -0600 Subject: [PATCH] change rbind.fill to rbindlist wtih fill = TRUE replace line 65: xdf.iconv <- rbind.fill(xdf.iconv, nextRecords) with improved code: xdf.iconv <- rbindlist(xdf.iconv, nextRecords, fill = TRUE) from source: https://github.com/hiratake55/RForcecom/issues/23 --- R/rforcecom.query.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/rforcecom.query.R b/R/rforcecom.query.R index 84d539c..d738f0b 100644 --- a/R/rforcecom.query.R +++ b/R/rforcecom.query.R @@ -62,7 +62,7 @@ function(session, soqlQuery, queryAll=FALSE){ try(nextRecordsUrl <- iconv(xmlValue(x.root[['nextRecordsUrl']]), from="UTF-8", to=""), TRUE) if(!is.na(nextRecordsUrl)){ nextRecords <- rforcecom.queryMore(session, nextRecordsUrl) - xdf.iconv <- rbind.fill(xdf.iconv, nextRecords) + xdf.iconv <- rbindlist(xdf.iconv, nextRecords, fill = TRUE) } return(data.frame(xdf.iconv))