[ESS-bugs] ESS[R] file-remote-p: Wrong type argument: stringp, nil

Vitalie Spinu spinuvit at gmail.com
Fri Sep 7 22:06:00 CEST 2012


  >> Rodney Sparapani <rsparapa at mcw.edu>
  >> on Fri, 07 Sep 2012 14:39:39 -0500 wrote:

  > On 09/07/2012 02:35 PM, Vitalie Spinu wrote:
  >> I don't see that. Are using ess-remote? Try to toggle the debugger on
  >> and see what is going on.
  >> 

  > No, I am not. SW

  >> >  Maybe this is related to the problem that I am having with r5072
  >> >  If I do a C-c C-b on the following .R buffer ...
  >> >  require(Rcpp)
  >> >  require(inline)
  >> 
  >> >  str<- '
  >> >  NumericVector a=as<NumericVector>(arg1), b=as<NumericVector>(arg2);
  >> >  double x= qnorm(a, b, 1.);
  >> >  return wrap(x);
  >> >  '
  >> 
  >> >  check2<- cxxfunction(signature(arg1="numeric", arg2="numeric"), str,
  >> >  plugin="Rcpp")
  >> 
  >> >  check2(0.5, 0.5)
  >> 
  >> >  It runs (at least the first 3 statements do), but it doesn't echo
  >> >  anything from the last 2 statements.  Can someone try this too?
  >> 
  >> I am getting errors on compilations, so check2 is not defined at all
  >> 
  >> Vitalie
  >> 

  > I know.  But, I never get to see the errors.  How should I debug this?

Hm, I think this has nothing to do with ESS, have you tried the same in
*shell*? Restart emacs/ESS?

Shot in the dark (very unlikely). What is the value of 

  M-: (ess-process-get 'suppress-next-output?)

during the evaluation?

Also check the buffer " *ess-temp-buff*" (note the space). Do you see
your output there immediately after the trouble? 

    Vitalie



More information about the ESS-bugs mailing list