hi dirk, my application JASP makes use of RInside, and has for about two years now (https://jasp-stats.org). however, i've just found the most bizare bug. it only seems to occur under R 3.2.2 (from CRAN) under Ubuntu Trusty. the issue does not occur under R 3.0.2 (from the standard ubuntu repos), nor does it occur under R 3.2.2 on Ubuntu Vivid.
the problem is, bizarely enough, to do with a call to stats::quantile( ) calling: stats::quantile(x, probs=0.01) within JASP, gives the error: "unused argument (probs = 0.01)" but calling it outside of JASP, in an R session run at the terminal, gives me the expected result. i have inspected the Version, the .libPaths(), everything between the terminal and JASP is identical. calling: print(stats::quantiles) gives me the same (short) function definition in both environments if i run stats::quantile(1:10), inside of JASP, it gives me the exact vector back (rather than the quantiles)! if i go to the R SVN, and copy the stats::quantile.default() into the JASP R code, rename it, and substitute calls within JASP, everything works fine. there's also an issue with stats::as.formula() not working in typically JASP usage, dozens of R functions are called, and there don't seem to be any issues other than these, so it appears to be isolated to the stats package. the only difference i can see, is that one runs inside of RInside, the other at the terminal. any idea of what it could cause this? with thanks jonathon -- JASP - A Fresh Way to Do Statistics http://jasp-stats.org/ -- How happy is he born and taught, That serveth not another's will; Whose armour is his honest thought, And simple truth his utmost skill This man is freed from servile bands Of hope to rise, or fear to fall: Lord of himself, though not of lands, And, having nothing, yet hath all. -- Sir Henry Wotton _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel