Re: [R] coding rules

2008-08-28 Thread Gavin Simpson
On Wed, 2008-08-27 at 09:48 -0300, Henrique Dallazuanna wrote:
 See
 
 http://www1.maths.lth.se/help/R/RCC/

The R Internals manual that is shipped with R also has a section on
coding standards:

http://cran.r-project.org/doc/manuals/R-ints.html#R-coding-standards

though this is quite short and does not go into detail of naming
conventions etc. This document also points to the GNU Coding Standards
which R aims to follow.

The R Developer Page has some useful information, such as guidelines for
writing *.Rd files: http://developer.r-project.org/ and the Writing R
Extensions manual has a lot of information on writing packages, cross
platform portability etc:

http://cran.r-project.org/doc/manuals/R-exts.html

G

 
 On Wed, Aug 27, 2008 at 9:36 AM, Thomas LOUBRIEU
 [EMAIL PROTECTED] wrote:
  Dear all,
 
  I am organizing a set of specific R code as package (to ease the
  documentation and deployment of it to users).
  Before doing so, I would like to know if there are written coding rules for
  R (with functions, objects naming convention for example).
 
  Thanks a lot,
 
  Thomas
 
  --
 
 
  -
  Thomas LOUBRIEU
  IFREMER IDM/ISI
  BP70
  29280 Plouzane
  FRANCE
   email: [EMAIL PROTECTED]
  WWW  : http://www.coriolis.eu.org/cdc
  Tel.:  (+33) (0)2 98 22 48 53
  Fax:   (+33) (0)2 98 22 46 44
 
  __
  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.
 
 
 
 
-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,  [f] +44 (0)20 7679 0565
 Pearson Building, [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London  [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT. [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%

__
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.


[R] coding rules

2008-08-27 Thread Thomas LOUBRIEU

Dear all,

I am organizing a set of specific R code as package (to ease the 
documentation and deployment of it to users).
Before doing so, I would like to know if there are written coding rules 
for R (with functions, objects naming convention for example).


Thanks a lot,

Thomas

--


-
Thomas LOUBRIEU
IFREMER IDM/ISI
BP70
29280 Plouzane
FRANCE
 
email: [EMAIL PROTECTED]

WWW  : http://www.coriolis.eu.org/cdc
Tel.:  (+33) (0)2 98 22 48 53
Fax:   (+33) (0)2 98 22 46 44

__
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.


Re: [R] coding rules

2008-08-27 Thread Henrique Dallazuanna
See

http://www1.maths.lth.se/help/R/RCC/

On Wed, Aug 27, 2008 at 9:36 AM, Thomas LOUBRIEU
[EMAIL PROTECTED] wrote:
 Dear all,

 I am organizing a set of specific R code as package (to ease the
 documentation and deployment of it to users).
 Before doing so, I would like to know if there are written coding rules for
 R (with functions, objects naming convention for example).

 Thanks a lot,

 Thomas

 --


 -
 Thomas LOUBRIEU
 IFREMER IDM/ISI
 BP70
 29280 Plouzane
 FRANCE
  email: [EMAIL PROTECTED]
 WWW  : http://www.coriolis.eu.org/cdc
 Tel.:  (+33) (0)2 98 22 48 53
 Fax:   (+33) (0)2 98 22 46 44

 __
 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.




-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40 S 49° 16' 22 O

__
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.