[R] Segmentation fault with expression on linux

Thomas Petzoldt petzoldt at rcs.urz.tu-dresden.de
Mon Dec 18 11:55:40 CET 2000

I have a problem, that the plot of mathematical formula sometimes
crashes R on Linux (SuSE 6.2 and 7.0 on a Dual PIII/500 machine with 1GB
RAM). The problem occurs for example in demo("graphics"), i.e. in the
last part were the mathematical symbols are plotted.

There are several circumstances to reproduce this segmentation fault,
but the following is one of the most simple examples. The first two
text() functions do well, but a combination of the two will crash the
system. The problem persists from R 0.99, 1.1.1 and (recently) with 1.2,
but it works fine on Windows (1.1.1).

#The example:

text(0.5,0.7,expression(y == e^-frac(x,y)))      # o.k.
readline("press return")
text(0.5,0.6,expression(y == frac(x,sigma)))     # o.k.
readline("press return")
text(0.5,0.5,expression(y == e^-frac(x,sigma)))  #segmentation fault

Any idea?

Thank you very much!

Thomas Petzoldt

Dresden University of Technology
Institute of Hydrobiology
mailto:petzoldt at rcs.urz.tu-dresden.de
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list