[ESS] org-babel R source block gives invalid function: with-parsed-tramp-file-name

Vitalie Spinu @p|nuv|t @end|ng |rom gm@||@com
Wed Sep 23 14:29:11 CEST 2015


This is strange. We do have in ess-inf

  (autoload 'with-parsed-tramp-file-name  "tramp" "(autolaod).")

I have added it in one more place in unlikely case when ess-inf wasn't have been
loaded.

In any case, (require 'tramp) should fix it under any conditions.

  Vitalie


>> On Wed, Sep 23 2015 12:26, Johannes Meisig wrote:

> Hi,

> probably this is as much an org-mode as an ESS question. I get an error 
> when executing an R source block with org-mode remotely

> #+begin_src R :results graphics :file img.pdf :dir /user using host://home/user/
> hist(rnorm(100))
> #+end_src


> This leads to invalid function: with-parsed-tramp-file-name. The error 
> goes away only with :results output, but value or graphics will not 
> work. Other languages do work

> #+BEGIN_SRC sh :results value :file out.txt :dir /user using host://home/user/
> hostname
> #+END_SRC


> Thanks for any advice on this,
> Johannes

> ______________________________________________
> ESS-help using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help




More information about the ESS-help mailing list