vector size allocation issue

I am trying to do one hot coding using this code-

combi <- dummy.data.frame(combi, names = c('Outlet_Size','Outlet_Location_Type','Outlet_Type', 'Item_Type_New'), sep='_')

its showing me the error-

Error: cannot allocate vector of size 256.0 Mb

how to get done with the one hot coding now?

It's difficult for others to help without a reproducible example. Please follow these guidelines

https://www.tidyverse.org/help/

https://reprex.tidyverse.org/articles/reprex-dos-and-donts.html

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.