[ESS] ESS and Sweave

Shige Song shigesong at gmail.com
Tue Apr 27 01:22:21 CEST 2010


This is weird. ""\"" pdfviewer "\" \"" namestem ".pdf\"")))" brings up
the pdf viewer, but frees Emacs; "\"" pdfviewer "\" \"" namestem
".pdf\" &"))) does not freeze Emacs, but does not bring up the pdf
viewer either.

Any suggestions?

Shige

On Mon, Apr 26, 2010 at 4:48 PM, Shige Song <shigesong at gmail.com> wrote:
> Here is my newbie's hack.
>
> from line 177:
>
> -      (shell-command (concat
> -       (if (and ess-microsoft-p (w32-shell-dos-semantics))
> -           "start \"" pdfviewer "\" \"" namestem ".pdf\""
> -                 "\"" pdfviewer "\" \"" namestem ".pdf\" &"))))
> +      (shell-command (concat
> +                 "\"" pdfviewer "\" \"" namestem ".pdf\"")))
>
> It will not work on Windows because I disabled it; but on my Linux box
> it works fine now. Hope somebody can come up with a "real" solution.
>
> Shige
>
> On Sat, Apr 24, 2010 at 8:28 PM, Shige Song <shigesong at gmail.com> wrote:
>> Dear Seb,
>>
>> I got the message "xdg-open /home/shige/test.pdf: finished", but no
>> pdf viewer window was opened. No clue what is going on.
>>
>> Shige
>>
>> On Sat, Apr 24, 2010 at 4:19 PM, Sebastian P. Luque <spluque at gmail.com> wrote:
>>> On Fri, 23 Apr 2010 19:45:07 -0400,
>>> Shige Song <shigesong at gmail.com> wrote:
>>>
>>>> On my system, it seems to compile ok, but will not bring up the pdf
>>>> viewer (evince).
>>>
>>> Can you give a recipe to reproduce this and elaborate?  Works for me.
>>>
>>> --
>>> Seb
>>>
>>
>



More information about the ESS-help mailing list