Could you produce a full working example then? Bit hard to debug without knowing what you did.
Michael On Oct 30, 2013, at 9:11, Erin Hodgess <erinm.hodg...@gmail.com> wrote: > I did...just didn't show it > > > On Wed, Oct 30, 2013 at 7:01 AM, Michael Weylandt > <michael.weyla...@gmail.com> wrote: >> Presumably you need to define 'buzz' first, but I don't see evidence that >> you've done so. >> >> Michael >> >> On Oct 30, 2013, at 0:06, Erin Hodgess <erinm.hodg...@gmail.com> wrote: >> >> > Hello again! >> > >> > I'm using python with a module rpy2 to call functions from R. >> > >> > It works fine on built in R functions like rnorm. >> > >> > However, I would like to access user-defined functions as well. For those >> > of you who use this, I have: >> > >> > import rpy2.robjects as R >> > x = R.r.buzz(3) >> > R object as no attribute buzz >> > >> > (user defined function of buzz) >> > >> > This is on a Centos 5 machine with R-3.0.2 and python of 2.7.5. >> > >> > Thanks for any help. >> > Sincerely, >> > Erin >> > >> > >> > >> > -- >> > Erin Hodgess >> > Associate Professor >> > Department of Computer and Mathematical Sciences >> > University of Houston - Downtown >> > mailto: erinm.hodg...@gmail.com >> > >> > [[alternative HTML version deleted]] >> > >> > ______________________________________________ >> > 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. > > > > -- > Erin Hodgess > Associate Professor > Department of Computer and Mathematical Sciences > University of Houston - Downtown > mailto: erinm.hodg...@gmail.com [[alternative HTML version deleted]] ______________________________________________ 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.