[R] How to organize/develop an R function

Ernesto Jardim ernesto at ipimar.pt
Thu Apr 3 17:50:43 CEST 2003


Hi

Maybe this is not an issue about R. It's probably a programming issue
and I am not a developer at all. Anyway my main developing activities
are in R and that's where I have difficulties.

When I develop a function or group of functions I lose eternities with
the objects attributes and classes. I do a lot of object manipulation
(lists to arrays, factors to numeric vectors, etc, etc) so that I can
group data and apply the proper calculations/models to the proper data
combination.

Some times I get lost or need debugging and hell comes on earth. The
objects names are unconsistent, the objects classes are not correct so
methods work differently, etc.

My question is about programming good pratices in R. Does anyone know
about documents ? Do you use some project management software that help
on the function structure ? Do you have any ideas ? How do you (the R
gurus) develop your packages ?

Thanks

EJ



More information about the R-help mailing list