vector size allocation issue

#1

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?

0 Likes

#2

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

0 Likes