RFunction# class RFunction(environment, formals, body, attributes)[source]# R function. Methods Parameters: environment (Mapping[str, Any]) – formals (Mapping[str, Any] | None) – body (RLanguage) – attributes (Mapping[str, Any]) –