[ESS-bugs] ESS locks up Emacs?
Rodney Sparapani
rsparapa at mcw.edu
Thu Mar 7 21:25:05 CET 2013
I am not sure if this is an ESS issue or not. Can someone try to
replicate this lockup? This is 100% reproducible here.
I have an R file erase.R open:
require(inline)
require(RcppEigen)
erase <- cxxfunction(signature(arg1="numeric", arg2="integer"),
body='// erase the b-th row of a matrix
MatrixXd A=as< Map<MatrixXd> >(arg1), C=A;
const int b=as<int>(arg2), n=A.rows();
C.conservativeResize(n-1, A.cols());
for(int i=b; i<n; ++i) C.row(i)=A.row(i+1);
return wrap(C);', includes='using namespace Eigen;\n',
plugin="RcppEigen")
A <- matrix(1:20, 4, 5)-0.5
erase(A, 2)
and a fresh *R* buffer open. I do a C-c C-b to run this script.
And, then I copy and paste 'erase(A, 2)' to the *R* buffer prompt.
I click on the last parentheses and I try to edit it to erase(A, 0)' but
it locks up as soon as I try. And nothing I have tried will restore
control. This is with 12-09-2 r5400 and Emacs 24.2.1
--
Rodney Sparapani, PhD Center for Patient Care and Outcomes Research
Sr. Biostatistician http://www.mcw.edu/pcor
4 wheels good, 2 wheels better! Medical College of Wisconsin (MCW)
WWLD?: What Would Lombardi Do? Milwaukee, WI, USA
More information about the ESS-bugs
mailing list