[ESS] Problem with preview of Rd files

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Tue Nov 15 16:17:08 CET 2011

Robert Sams <Robert at sanctumfi.com> wrote:

> I have a similar problem. When I generate an Rd buffer from a roxygen
> file via ess-roxy-preview-Rd and C-c C-p in the resulting
> RoxygenPreview buffer, I get this
> Warning in file(con, "r") :
>   cannot open file 'nil': No such file or directory
> Error in file(con, "r") : cannot open the connection
> Execution halted
> ... because buffer-file-name is set to nil. If I write the buffer to a
> file and C-c C-p I get  
> Error: exactly one Rd file must be specified
> Execution halted
Do you have spaces in your filename/path?

Could you send a short example roxygen file so I can test this?


More information about the ESS-help mailing list