Skip to content

R-2.12.1 on OpenBSD: Tk problem

1 message · lum

lum
#
I've compiled R-2.12.1 on OpenBSD and everything works great from the
console. However, if I load R with the --gui=Tk option, R opens in a window
and will accept input, but will crash (90% of the time) after trying to
execute the first command. For example, if I type:
Then, when I press enter, I receive:

 *** caught segfault ***
address 0x8ab88000, cause 'memory not mapped'

Possible Actions:
....etc..

On a few occasions R will seemingly work OK for a while before eventually
crashing with the same error (though with a different memory address). The
first R command I use doesn't seem to affect the frequency of crashes e.g
c() and read.csv() will crash as often as each other.

I realise this is probably an implementation dependent problem but what is
the best way of debugging R, to see what is happening under the hood?

Thanks 
Mark Lumsden