You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In "RImpala/src/R/RImpala.R" this file,
at 47 rows onlyData = data.frame(result[3:nrow(result),],stringsAsFactors=FALSE,row.names=NULL)
when the result has 3 rows ,result[3:nrow(result),] will return a object with one dimension witch is not a matrix,then the next code colnames(onlyData)=colNames
will result a error .
So,the solution will be result[3:nrow(result),,drop=F] which will return a matrix no matter how many rows in result .
The text was updated successfully, but these errors were encountered:
In "RImpala/src/R/RImpala.R" this file,
at 47 rows
onlyData = data.frame(result[3:nrow(result),],stringsAsFactors=FALSE,row.names=NULL)
when the result has 3 rows ,
result[3:nrow(result),]
will return a object with one dimension witch is not a matrix,then the next codecolnames(onlyData)=colNames
will result a error .
So,the solution will be
result[3:nrow(result),,drop=F]
which will return a matrix no matter how many rows in result .The text was updated successfully, but these errors were encountered: