>>> I'm having trouble parsing this. What exactly do you want to do? >> 1 - Put a list as an element of a data.frame. That's quite convenient for my >> pricing function. > > I think this is a really bad idea. data.frames are not meant to be > used in this way. Why not use a list of lists?
It can be very convenient, but I suspect the original poster is confused about the different between vectors and lists. Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.