diff --git a/contributing.md b/contributing.md index 72b9f14eb67..699b468ea69 100644 --- a/contributing.md +++ b/contributing.md @@ -348,6 +348,10 @@ Please follow the style of the existing codebase. - For Python code, Apache Spark follows PEP 8 with one exception: lines can be up to 100 characters in length, not 79. +- For R code, Apache Spark follows +Google's R Style Guide with three exceptions: +lines can be up to 100 characters in length, not 80, there is no limit on function name but it has a initial +lower case latter and S4 objects/methods are allowed. - For Java code, Apache Spark follows Oracle's Java code conventions. Many Scala guidelines below also apply to Java. diff --git a/site/contributing.html b/site/contributing.html index 78f228ae93d..fe0f3d2de4a 100644 --- a/site/contributing.html +++ b/site/contributing.html @@ -592,6 +592,10 @@