Hi,

On Tue, Oct 4, 2011 at 12:19 AM, Smart Guy <smartgu...@gmail.com> wrote:
> Hi,
>     I am looking for some guidance on whether I can use the period(.) in
> function names and variable names.

Yes you can.

> For example:
>
> my.function.name <- function(my.data.variable, my.radius, my.another.var,
> my.value = 10)
> {
>
> }
>
> Will this pose any problems regarding older and current version of R.

Not really.

For the most part, you can use this pattern as you like. One thing to
keep in mind is that S3 method dispatch matches methods based on a
METHOD_NAME.OBJECT_CLASS pattern.

If you want to know more about the S3 stuff, you can start at ?UseMethod.

-steve

-- 
Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact

______________________________________________
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