I'm a complete R newbie. My first R script is to generate a histogram from a CSV file, and I'm getting a segmentation fault every time.

> csv <- read.csv(file='data.csv',head=TRUE,sep=",")
> hist(csv$foo)

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

Traceback:
 1: title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...)
2: plot.histogram(r, freq = freq1, col = col, border = border, angle = angle, density = density, main = main, xlim = xlim, ylim = ylim, xlab = xlab, ylab = ylab, axes = axes, labels = labels, ...) 3: plot(r, freq = freq1, col = col, border = border, angle = angle, density = density, main = main, xlim = xlim, ylim = ylim, xlab = xlab, ylab = ylab, axes = axes, labels = labels, ...)
 4: hist.default(csv$last_web_mail_date)
 5: hist(csv$last_web_mail_date)




How should I report this bug? I'm running R 2.14.0 (compiled by "brew") on Lion

Thanks in advance,
Daniel Serodio

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to