-
-
Notifications
You must be signed in to change notification settings - Fork 212
R style guide
Jonathon Love edited this page Dec 2, 2013
·
5 revisions
JASP uses the google R style guide with several tweaks.
the google style guide is the starting point, and is here
but with the following tweaks:
always use variable.name, never use variableName. functions to be visible outside the package are of the form FunctionName, functions for internal use only (private functions) are of the form .functionName
we're pretty relaxed about this one. just keep it reasonable.
we use tabs, set your text editor to make tabs four spaces wide
functions you should never use:
library()
require()
attach()
assign()
<<-