1. A method of dynamically generating input for an analysis environment to perform data analysis, comprising: receiving a user selection of an analysis routine configured to perform an analysis on selected data in the analysis environment, wherein the user-selected analysis routine has a predefined association with a code portion configured to provide the input to the analysis environment; in response to the user selected analysis routine, displaying parameter values in one or more fields; wherein the one or more fields are predefined for the user selected analysis routine and wherein the parameter values are made available from the selected data; receiving a user selection of one or more of the parameter values; generating, by the code portion based on the user selections, information necessary to perform the analysis on the selected data; and outputting, by the code portion, the input to the analysis environment; wherein the input includes at least the selected data and the information necessary to perform the analysis on the selected data.