1 Feb 02:54
Re: Problem with preview of Rd files
Ben Bolker <bbolker <at> gmail.com>
2012-02-01 01:54:17 GMT
2012-02-01 01:54:17 GMT
Martin Fink <martinfink <at> gmx.at> writes: > Stephen Eglen <S.J.Eglen <at> damtp.cam.ac.uk> writes: > > > A couple of things to check. > > 1. when in the .Rd buffer, what does the following give? > > C-h v buffer-file-name > > > > 2. From a shell, can you try something like > > R CMD Rd2txt "c:/Users...-package.Rd" > > > I have the same problem as David. > I am using the latest version Vince Goulet's distribution on Windows > (GNU Emacs 23.3; ESS 5.14). (I also had the same result with XEmacs.) > > 2) When I use the shell R CMD... I get the expected output. > > 1) When in the .Rd buffer I request the buffer-file-name I get: > > buffer-file-name is a variable defined in `C source code'. > Its value is "d:/xyz/man/Helpfile.Rd" > Local in buffer Helpfile.Rd; global value is nil > > Automatically becomes buffer-local when set in any fashion. > This variable is potentially risky when used as a file local variable. > > Documentation: > Name of file visited in current buffer, or nil if not visiting a file. > > This means I get the correct (working) filename in the buffer,(Continue reading)
RSS Feed