Skip to Content
0
Nov 22, 2013 at 02:15 PM

R-Apriori - Interpretation of numerical items as string

264 Views

Hello everybody,

is there an easy way within PA to force R to interpret a 4 digit number as a string instead of a number?

Background: When I select a numerical column as item for the R-Apriori-Algorithm following error occurs:

java.lang.Throwable: An error occurred while
executing commands in the R environment. Error from R: "Error in
asMethod(object) : column(s) 3 not logical or a factor. Use as.factor or
categorize first. "

This happens always if the regarding column contains only digits and no characters, independently of whether I configured PA to interpret the column as an integer or as a string.

Thanks for help.