On Dec 30, 2007 1:19 PM, baptiste Auguié <[EMAIL PROTECTED]> wrote: > These two functions use the dataframe "Constants", part of this package: > > > `L2eV` <- function(lambda) > > { > > data("Constants") > > Constants$h*Constants$cel/Constants$ee/lambda ->eV > > eV > > } >
This does not answer your question but note that you can do this: with(Constants, h * cel / ee / lambda) ______________________________________________ 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.