I have a very large data frame, and I'm doing a conversion of all columns
into factors. Takes a while (thanks to folks here though, for making
faster!), but am wondering about optimization from a memory perspective...

Internally, am I better off assigning into a new data frame, or doing one of
these:

dataframe<-someoperation(dataframe)

It would seem that re-assigning into the same data frame *might* be more
efficient in that I don't have to double the memory with 2 objects, but then
again.. there'd have to be a "working copy" in memory until the operation
was complete, right?

Just curious about the inner workings of R.

-- 
---------------------------------------
David L. Van Brunt, Ph.D.
mailto:dlvanbrunt@gmail.com

"If Tyranny and Oppression come to this land, it will be in the guise of
fighting a foreign enemy."
--James Madison

	[[alternative HTML version deleted]]

