close to ``unbelievable'' but the following line is not parsed correctly but gives a syntax error : x <- 1 ## A = 1 --please do not edit the information below-- Version: platform = i686-pc-linux-gnu arch = i686 os = linux-gnu system = i686, linux-gnu status = major = 1 minor = 2.3 year = 2001 month = 04 day = 26 language = R Search Path: .GlobalEnv, package:ctest, Autoloads, package:base -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> On Tue, 29 May 2001 14:25:19 +0200 (MET DST), >>>>> maechler (m) wrote:> close to ``unbelievable'' but the following line > is not parsed correctly but gives a syntax error : > x <- 1 ## A = 1 what you don't see is that the ``spaces'' before the comment are no spaces: if I copy & paste the thing to a vi buffer I see: x <- 1\xa0\xa0## A = 1 ... I got the idea from sequentially deleting characters:> x <- 1 ## A = 1Error: syntax error> x <- 1 # A = 1Error: syntax error> x <- 1 # AError: syntax error> x <- 1 #Error: syntax error> x <- 1Error: syntax error especially the last one look nice IMO ... .f -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "FrL" == Friedrich Leisch <Friedrich.Leisch@ci.tuwien.ac.at> writes:>>>>> On Tue, 29 May 2001 14:25:19 +0200 (MET DST), >>>>> maechler (m) wrote:>> close to ``unbelievable'' but the following line is not parsed >> correctly but gives a syntax error : >> x <- 1 ## A = 1 FrL> what you don't see is that the ``spaces'' before the comment are FrL> no spaces: if I copy & paste the thing to a vi buffer I see: FrL> x <- 1\xa0\xa0## A = 1 FrL> ... FrL> I got the idea from sequentially deleting characters: >> x <- 1 ## A = 1 FrL> Error: syntax error >> x <- 1 # A = 1 FrL> Error: syntax error >> x <- 1 # A FrL> Error: syntax error >> x <- 1 # FrL> Error: syntax error >> x <- 1 FrL> Error: syntax error FrL> especially the last one look nice IMO ... ;-) thank you, Fritz. Now what about a "morale of the story" (<< probably a Germanism) ? Don't cut and paste from e-mails any more, unless you have a really ASCII only e-mail program or editor into which you paste. Unfortunately, emacs doesn't seem to be among these anymore... aaargghh... Martin -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "PD" == Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> writes:PD> maechler@stat.math.ethz.ch writes: >> >>>>> "FrL" == Friedrich Leisch <Friedrich.Leisch@ci.tuwien.ac.at> >> writes: >> >> >>>>> On Tue, 29 May 2001 14:25:19 +0200 (MET DST), >>>>> maechler >> (m) wrote: >> >> >> close to ``unbelievable'' but the following line is not parsed >> >> correctly but gives a syntax error : >> >> >> x <- 1 ## A = 1 >> >> FrL> what you don't see is that the ``spaces'' before the comment are FrL> no spaces: if I copy & paste the thing to a vi buffer I see: >> FrL> x <- 1\xa0\xa0## A = 1 PD> .... >> ;-) >> >> thank you, Fritz. Now what about a "morale of the story" (<< >> probably a Germanism) ? in the mean time I've learned: ``moral of the story'' (is no Germanism) >> Don't cut and paste from e-mails any more, unless you have a really >> ASCII only e-mail program or editor into which you paste. >> Unfortunately, emacs doesn't seem to be among these anymore... >> aaargghh... PD> Hmm. 0xa0 is M-SPC. These are fairly easily generated on PD> non-English keyboards: both Alt_L+SPC and AltGr+SPC on mine (and PD> those three keys are adjacent). Thank you Peter; in this cases, they text was from an e-mail (from a `R for MacOS' user who most proably had a SwissGerman keyboard {but probably no Emacs..})) but it was smart Emacs (VM) dealing ``automagically'' with strange encodings ... PD> It might make sense to force the PD> parser to accept the "metafied" whitespace characters? yes, I think that might be useful and make sense. Compatibility with S(plus) might be a point here, but then we *do* have locale dependent syntax anyway. Martin -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._