Error message

  • Notice: Trying to access array offset on value of type int in element_children() (line 6302 of /home2/rgisnet/public_html/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6302 of /home2/rgisnet/public_html/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6302 of /home2/rgisnet/public_html/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6302 of /home2/rgisnet/public_html/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6302 of /home2/rgisnet/public_html/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6302 of /home2/rgisnet/public_html/includes/common.inc).
  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 385 of /home2/rgisnet/public_html/includes/common.inc).
  • Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2375 of /home2/rgisnet/public_html/includes/menu.inc).

Installing R:

You can obtain the R binary distributions for Windows, Linux, and Mac from here.

 

 

You can use a code editor or IDE (Integrate Development Environment) instead of directly entering commands in R console or simple text editors. These code editors allow syntax highlighting of R language which makes it easier to write/read codes. I highly recommend a new IDE, RStudio which combines an intuitive user interface with powerful coding tools, available for all major platforms!

After installing R, you can install RStudio from here.

A quick tour of RStudio in which it's features are highlighted...

By going to File > New > R Script, you can open an script in which you can write your code (You can directly enter your commands in Console, but entering them in script file let you save, re-execute, edit and change them whenever you like!).