error loading source file

A.J. Rossini rossini at blindglobe.net
Thu Sep 27 01:06:30 CEST 2001


I think we should be able to correct this at some point real soon
now...  (i.e. add a 
        (if stupid-windows-os (replace "/" "//" string))
type statement).

The other thought would be to not use C-c C-l.

What "use-case" are you doing to use that?  I never seem to need that
particular function, but rather C-c C-b (i.e. load in the file into an
Emacs buffer and dump from there).

Is it the increased slowness from the latter approach that makes you
use the former?

best,
-tony

>>>>> "MM" == Michael Manning <Manning> writes:

    MM> Hello Andrew I have had exactly the same drama that you appear
    MM> to be having.  I am running pretty much exactly the same kind
    MM> of system that you are (same version of R, same version of
    MM> ESS, however I am running a Win95 machine), and am receiving
    MM> the same kind of errors when I try to C-c C-l a source file.
    MM> I have written help requests to the list a couple of times in
    MM> the past fortnight and have not received a reply, however I
    MM> remain hopeful :).  I guess the bug is buried somewhere in
    MM> ESS's lisp code. It is also beyond me (for now :)) to find and
    MM> debug the error.  I hope that this will be fixed in the next
    MM> release of ESS.  Otherwise, we will need to go back to running
    MM> R (and ESS) on machines with real operating systems...

    MM> Good luck

    MM> Michael J. Manning Information Analyst Institute of
    MM> Environmental Science and Research Ltd PO Box 50-348 Porirua
    MM> New Zealand Tel: 64 04 914 0700 D/D: 64 04 914 0744 Fax: 64 04
    MM> 914 0770


    >> ---------- From:
    >> Andrew.Swan at csiro.au[SMTP:Andrew.Swan at csiro.au] Sent: Thursday,
    >> September 27, 2001 9:04 AM To: bill at insightful.com;
    >> ess-help at stat.math.ethz.ch Subject: RE: error loading source
    >> file
    >> 
    >> Bill - Your solution(s) seems reasonable - but the question for
    >> me is how to get C-c C-l to do that in ESS - having no
    >> knowledge of how to modify the lisp code myself.
    >> 
    >> Regards
    >> 
    >> > -----Original Message----- > From: Bill Dunlap
    >> [mailto:bill at insightful.com] > Sent: Thursday, 27 September
    >> 2001 4:57 AM > To: Andrew.Swan at csiro.au > Subject: Re: error
    >> loading source file
    >> > 
    >> > 
    >> > On Wed, 26 Sep 2001 Andrew.Swan at csiro.au wrote:
    >> > 
    >> > > Hi - with ess-5.1.19, xemacs 21.1.9, and R1.3.1 on win2000,
    >> > I am getting an > > error when trying to load a source file:
    >> > >
    >> > > Error in file(file, "r") : cannot open file `d: >
    >> mpswa088.line.plot.R'
    >> > >
    >> > > The file is supposed to be `d:\tmp\swa088.line.plot.R', so
    >> > it seems that the > > "\t" is being substituted by a tab, and
    >> the second "\" > doesn't appear at > > all.
    >> > >
    >> > > Can this be fixed easily?
    >> > 
    >> > Use a double backslash to mean one backslash.  Otherwise \t
    >> means tab, > \n means newline, \b means baskspace, etc.  These
    >> are the C language > conventions.
    >> > 
    >> > Another solution is to use / instead of \ in paths.  They are
    >> > generally > equivalent on Windows (they are equivalent in C
    >> code but the DOS shell > uses / for other things).
    >> > 
    >> > In Splus6 we added a warning in the parser to sometimes alert
    >> > you to potential > problems:
    >> > 
    >> > > file<-"d:\tmp\swa088.line.plot.R" > Warning messages: > The
    >> initial backslash is ignored in \s -- not a > recognized escape
    >> sequence.  > Use \\ to make a backslash
    >> > 
    >> > Note that is won't complain about "\t" because that is a >
    >> recognized escape > sequence, but it catches the \s.
    >> > 
    >> > 
    >> >
    >> --------------------------------------------------------------
    >> > -------------- > Bill Dunlap 22461 Mt > Vernon-Big Lake Rd >
    >> Insightful Corporation Mount > Vernon, WA 98274 >
    >> bill at insightful.com 360-428-8146 > "Formerly known as MathSoft,
    >> Insightful Corporation provides > analytical > solutions
    >> leveraging S-PLUS, StatServer, S-PLUS Analytic Server and >
    >> consulting services."
    >> > 
    >> > "All statements in this message represent the opinions of >
    >> the author and do > not necessarily reflect Insightful
    >> Corporation policy or position."
    >> > 
    >> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
    >> -.-.- ess-help mailing list -- To (un)subscribe, send subscribe
    >> or unsubscribe (in the "body", not the subject !)  To:
    >> ess-help-request at stat.math.ethz.ch
    >> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
    >> _._._
    >> 
    MM> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    MM> ess-help mailing list -- To (un)subscribe, send subscribe or
    MM> unsubscribe (in the "body", not the subject !)  To:
    MM> ess-help-request at stat.math.ethz.ch
    MM> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._




-- 
A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
U. of Washington Biostatistics		rossini at u.washington.edu	
FHCRC/SCHARP/HIV Vaccine Trials Net	rossini at scharp.org
-------- (wednesday/friday is unknown) --------
FHCRC: M-Tu : 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
UW:    Th   : 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list