[ESS] Ess-source-directory in windows
Liaw, Andy
andy_liaw at merck.com
Mon Jun 20 15:43:58 CEST 2005
Not much help to Matt, perhaps: On WinXPPro, ESS 5.2.7, GNU Emacs 21.3.1,
XEmacs 21.4.13, R-2.1.0. I get similar problem as Matt with XEmacs, but no
problem with GNU Emacs.
Andy
> From: Wiener, Matthew
>
> All --
>
> In both my unix and windows .xemacs files (actually .emacs on
> unix), I have
> the following:
>
> (setq ess-source-directory
> (lambda ()
> (concat ess-directory "R-source")))
>
> Which allows me to keep my source in a sub-directory of my project
> directory.
>
> In unix, it works great. In windows, which I have just
> started trying to
> use, I get errors like the following:
>
>
> Error in file(file, "r", encoding = encoding) :
> unable to open connection
> In addition: Warning message:
> cannot open file 'c:R-projects
> etworkR-source.get.degree.and.dist.stats.R'
>
> This when my working directory is:
> > getwd()
> [1] "c:/R-projects/network"
>
> So it looks to me like the single slashes are getting
> clobbered by escape.
> But if I try to set the working directory with doubled windows-style
> slashes, getwd() gives me the same thing. I've looked on the
> web site, but
> have not been able to find a solution (or, perhaps, realize
> I've found a
> solution).
>
> Thanks for any help you can give.
>
> Regards,
>
> Matthew Wiener
> Applied Computer Science & Mathematics
> Merck Research Laboratories
> Rahway, NJ 07065
> 732-594-5303
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>
> --------------------------------------------------------------
> ----------------
> Notice: This e-mail message, together with any attachments,
> contains information of Merck & Co., Inc. (One Merck Drive,
> Whitehouse Station, New Jersey, USA 08889), and/or its
> affiliates (which may be known outside the United States as
> Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as
> Banyu) that may be confidential, proprietary copyrighted
> and/or legally privileged. It is intended solely for the use
> of the individual or entity named on this message. If you
> are not the intended recipient, and have received this
> message in error, please notify us immediately by reply
> e-mail and then delete it from your system.
> --------------------------------------------------------------
> ----------------
>
>
More information about the ESS-help
mailing list