[ESS-bugs] Previewing Rd under windows with spaces in path name
Michael Toews
mwtoews at sfu.ca
Thu Mar 22 01:05:41 CET 2007
Hi,
This is (hopefully) a simple problem with ESS-5.3.3 and emacs-21.3 on
Windows XP SP2 (I also have R-2.4.1). I've just installed ESS, and an
new to ESS on Windows -- so I apologize if this is either a FAQ, or has
already been fixed in the devel version. I think I've installed both
emacs and ESS correctly, as I don't see any error on startup, and I can
do some basic ESS functionality with files.
My problem is that I have an Rd file in a directory with spaces (e.g.,
"C:\Documents and settings\user name\My Documents" .. all of the MS
pathname badness), and when I select "Rd > Preview", I see the error
message:
Rdconv(): Couldn't open 'c:/Documents': No such file or directory
However, if I move the same Rd file into a directory with no spaces
(e.g., "C:\temp"), I can open and preview the document as per normal.
Given that the error message reports "c:/Documents", this tells me that
the path
was not protected, and the space characters in the path broke the
command to Rdconv(). However, I don't know where to look to fix this.
Thanks!
+mt
Emacs : GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600)
of 2004-03-10 on NYAUMO
Package: ess-mode 5.3.3
current state:
==============
(setq
ess-language "Initial"
ess-dialect nil
ess-ask-for-ess-directory t
ess-ask-about-transfile nil
ess-directory nil
ess-keep-dump-files "always"
ess-source-directory "C:\\DOCUME~1\\mwtoews\\LOCALS~1\\Temp"
)
[ess-site.el]: ess-customize-alist=nil
[ess-site.el _2_]: ess-customize-alist=nil
(R): ess-rterm-versions-create making M-x defuns for c:/Program
Files/R/R-2.4.0/bin/Rterm.exe c:/Program Files/R/R-2.4.1/bin/Rterm.exe
More information about the ESS-bugs
mailing list