[Rcpp-devel] Execution Error

John Robson john.robson at usp.br
Thu May 8 05:49:49 CEST 2014


Hello everyone,

My RInside was working before, but stopped to work after some updates (I
think so).

With Qt:

Starting
/home/note/projects/qt/qtdensity-build-desktop-Qt_4_8_2_in_PATH__System__Release/qtdensity...
Error in plot.density(density(y, bw = bw/100, kernel = kernel), xlim =
range(y) +  :
  unused arguments (xlim = range(y) + c(-2, 2), main = "Kernel: gaussian")
terminate called after throwing an instance of 'std::runtime_error'
  what():  Error evaluating:
svg(width=6,height=6,pointsize=10,filename=tfile); plot(density(y,
bw=bw/100, kernel=kernel), xlim=range(y)+c(-2,2), main="Kernel:
gaussian"); points(y, rep(0, length(y)), pch=16, col=rgb(0,0,0,1/4));
dev.off()
The program has unexpectedly finished.
/home/note/projects/qt/qtdensity-build-desktop-Qt_4_8_2_in_PATH__System__Release/qtdensity
exited with code 0

With WT:

[error] "Wt: fatal error: Error evaluating:
png(filename=tfile,width=600,height=400); plot(density(y, bw=bw/100,
kernel=kernel), xlim=range(y)+c(-2,2), main=""Kernel: gaussian"");
points(y, rep(0, length(y)), pch=16, col=rgb(0,0,0,1/4));  dev.off()"

My Info:

R version 3.1.0 (2014-04-10)

514K Mar 29 18:55 /usr/local/lib/R/site-library/RInside/libs/RInside.so
/usr/local/lib/R/site-library/RInside/libs/RInside.so

514K Mar 29 18:55 /usr/local/lib/R/site-library/RInside/lib/libRInside.so

Thank you,
-- 
John Robson
http://www.ubuntu.com/tour


More information about the Rcpp-devel mailing list