[R] "assign" statement in S-Plus

kathie kathryn.lord2000 at gmail.com
Tue Dec 23 19:41:52 CET 2008


Dear R users...

I need to change the S+ code below to R code.

I am wondering if there is a R statement equivalent for "assign" statement
in S-plus.


--------------------------------------------------------

  prime <- function(x)
    {
    1*(abs(x) < chuber)
    }
  assign("prime",prime,frame=1)

---------------------------------------------------------


Any comments will be greatly appreciated.

Kathryn Lord
-- 
View this message in context: http://www.nabble.com/%22assign%22-statement-in-S-Plus-tp21149319p21149319.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list