Mindreading option not enabled. Please make your example reproducible by including all code necessary for us to reproduce your problem starting from an empty R environment. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnew...@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity.
On November 10, 2014 4:10:39 PM PST, RICHARD M KARCICH <rmkarc...@msn.com> wrote: >in 3.1.1, i had a few small scripts like the one attached -- >installed 3.1.2, then from the R-console, i chg dir and can >successfully source() the mycode.R -- >however, >> getwd()[1] "C:/RProgramming"> dir()[1] "forCondition.R" >"ifCondition.R" "mycode.R" "nestedForLoop.R"[5] "whileLoop.R" >> source ("mycode.R")> ls()[1] "myfunction" "second" > >second(4)Error in second(4) : unused argument (4) >why can't 'second' run...? thx in advance... >-r > > > >------------------------------------------------------------------------ > >______________________________________________ >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. ______________________________________________ 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.