http://hughesbennett.co.uk/SimpleMathExpressionsInR
©2012 Hughes Bennett Education
Hughes Bennett EducationQuestions by topic
Primary school
Secondary school
Computers & networks
Business economics

SMART subscriptions
Login
Subscribe
SMART Learning Method™

Popular software tools
Octave
Maxima
R Project
Graphviz
Context Free

All software tools
Bamboo Toolbox



Search

Terms & conditions
Privacy policy

Updated 2012-03-05 13:58:14
©2012 Hughes Bennett Education
Published using WikkaWiki

Simple math expressions in R


R scripts evaluate each expression and displays the result, which is similar to the behaviour of calculators. Usually, an expression is typed on its own line. Multiple expressions can be combined on the same line by using a ; (semicolon) to separate each expression. Anything that appears after the # symbol is considered to be comments and not evaluated.