Re: [R] The use of period in function names and variable names

2011-10-04 Thread Uwe Ligges
er 2011 05:20 > To: r-help@r-project.org > Subject: [R] The use of period in function names and variable names > > Hi, > I am looking for some guidance on whether I can use the > period(.) in function names and variable names. **

Re: [R] The use of period in function names and variable names

2011-10-04 Thread Duncan Murdoch
erent combinations of case and period I end up trying for R.Version (occasionally used, never quite often enought to be automatic) defies belief ;-). S Ellison > From: r-help-boun...@r-project.org On Behalf Of Smart Guy > Sent: 04 October 2011 05:20 > To: r-help@r-project.org >

Re: [R] The use of period in function names and variable names

2011-10-04 Thread Steve Lianoglou
Hi, On Tue, Oct 4, 2011 at 11:39 AM, jdospina wrote: > Hello. > > Not at all in the way you have shown. Just to improve your code > "readability", try to avoid naming your variables beginning with period > (example: .hello). Well, that's not exactly true. It's "common practice" to name variable

Re: [R] The use of period in function names and variable names

2011-10-04 Thread jdospina
Hello. Not at all in the way you have shown. Just to improve your code "readability", try to avoid naming your variables beginning with period (example: .hello). In contrast with Matlab (for example) the period in R is not to have access to an object property. -- View this message in context: h

Re: [R] The use of period in function names and variable names

2011-10-04 Thread S Ellison
oun...@r-project.org On Behalf Of Smart Guy > Sent: 04 October 2011 05:20 > To: r-help@r-project.org > Subject: [R] The use of period in function names and variable names > > Hi, > I am looking for some guidance on whether I can use th

Re: [R] The use of period in function names and variable names

2011-10-03 Thread Steve Lianoglou
Hi, On Tue, Oct 4, 2011 at 12:19 AM, Smart Guy 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)

[R] The use of period in function names and variable names

2011-10-03 Thread Smart Guy
Hi, I am looking for some guidance on whether I can use the period(.) in function names and variable names. 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. -- Sma