lars modig eb99lamokthse hi im wondering could save new data frames loop using names within data frame ie data frame product type test one 67 two 55 b one 42 one 55 would like generate new dataframes follow aone including one 67 one 55 atwo including two 55 bone including b one 42 ive far able store data indexed eps picture put summary code see im used program r actually long time since used c software also platforms sortuniquedata_variable3 find platforms sorted lengthplatforms platforms forj 1 lengthplatforms row_vector whichdata_variable3platformsj find first platform cleaner_1 data_variablerow_vector store cleaner_1 motor sortuniquecleaner_15 find motors platform 1 sorted fori 1 lengthmotor row_vector whichcleaner_15motori find first motor cleaner_type_1 cleaner_1row_vector store cleaner_type_1 data_x cleaner_type_19 data_y cleaner_type_110 histdata_x probabilitytrue breaks5 maindata_header9 saveplotfilename pasteccpowj_i collapse type eps save plot order ______________________________________________ rhelprprojectorg mailing list httpsstatethzchmailmanlistinforhelp please read posting guide httpwwwrprojectorgpostingguidehtml provide commented minimal selfcontained reproducible code thu 07 aug 2008 132156 0200 r create new dataframes dames dataset