Here we show how to call the R software for statistical computing from Geogebra using the Rserve R package. Rserve will make R to behave as a server so that it can be called from Geogebra. In this way, we expect to use many R functions not available in Geogebra.
If you have any comments about this link, you can contact us at firstname.lastname@example.org.
More rencetly, we have developed another link using R package
will work with current releases of Geogebra as it is based on a completely
different approach. Some examples have been developed in the GeogebraR package
and they can be found here:
Note that these examples will run on the browser and that no other software (not even R!) needs to be installed.
After version 4.9.247, the Python Window was removed from Geogebra. For this reason, we provide links to the Geogebra 4.9.247 binaries below, with the latest version that includes the Python Window.
You will need to install the following software:
The following files provide some small examples. The steps to run the examples are:
We have created different examples:
This file provides a simple example to show the Geogebra-R connection by means of Rserve. In this example R is used to compute 1+1.
In this example R is used to create 10 points at random that are later displayed in Geogebra.
In this example a quality control chart (QCC) is created from some random points. The points can be moved and the QCC is updated.
In this example a map of the counties of North Carolina (USA) is imported from R into Geogebra.
In this example the ratio on the intensities of two point patterns (cases and controles) is computed. This is often used in spatial epidemiology to detect areas of high incidence of a disease. The ratio is updated when a point is moved and it is diplayed using contour lines (but this feature is not working yet).
In this example a smooth curve (using LOWESS) is fit to a set of points. This reproduces an example provided in the R software from the lowess() manual page. When a point is moved the lowess cruve is recomputed.