[ESS] [ESS-bugs] \Sexpr

Marc Schwartz m@rc_@chw@rtz @end|ng |rom me@com
Tue May 24 17:41:40 CEST 2016


> On May 24, 2016, at 10:28 AM, Sparapani, Rodney <rsparapa using mcw.edu> wrote:
> 
> 
> 
>> Footnote: before sending this I made sure to get the latest ESS. On an Xubuntu box I tried 
>> the instructions and they just didn't work.  It turns out that I had to remove 
>> /usr/share/emacs23/site-lisp/savefile/*ess* before anything would take; until that point 
>> it continued to load 13.09-1, the version from the Ubuntu repository.
>>  make install:  puts a new one in /etc/share/emacs
>>  remove /etc/share/emacs23/ess and /etc/share/emacs23/savefile/*ess*
>>  add /etc/share/emacs/site-lisp to my emacs path
>> Now I see the new one.
>> 
>> 
>> Terry T.
> 
> Hi Terry:
> 
> 
> 
> Not sure about the bug itself.  But, I looked at your installation problem.
> And, frankly, I can’t imagine what went wrong.  Here, I don’t have a 
> savefile/*ess* nor can I see anyway that make install would create one.
> 
> Rodney


FWIW, that behavior vis-a-vis \Sexpr{} and "$" characters has been in place for "years".

The way that I avoid it is to create a result object in an R chunk before the LaTeX chunk, so that the "$" is not needed within the \Sexpr{}.

An alternative might be to use with(DF, ColName) in the \Sexpr rather than DF$ColName.

Regards,

Marc Schwartz




More information about the ESS-help mailing list