R ![]() |
http://www.r-project.org |
Beschreibung: | R ist GNU's Implementation der Programmiersprache S. Wird im Bereich der Statistik eingesetzt. |
Hello World | Michael Neumann |
# Hello World in R print("Hello World") |
Gibt "Hello World" auf dem Bildschirm
aus. |
Squares (1) | Michael Neumann |
for (i in 1:10) print(i*i) |
Gibt die Quadrate von 1 bis 10
aus. |
Squares (2) | Michael Neumann |
r <- 1:10 # Zuweisung print(r*r) |
Gibt die Quadrate von 1 bis 10
aus. |