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.

Reply via email to