Re: [Rd] An interesting chat with ChatGPT

2023-02-13 Thread Kevin Coombes
Chat bots are like politicians, or talking dogs. The fact that they exist is interesting. But no same person would believe anything they say. On Mon, Feb 13, 2023, 10:58 AM Boris Steipe wrote: > Duncan - > > Indeed, this has now been well documented; I have called these > constructions "Schrödin

Re: [Rd] An interesting chat with ChatGPT

2023-02-13 Thread Boris Steipe
Duncan - Indeed, this has now been well documented; I have called these constructions "Schrödinger Facts", since they arise from a superposition of truths in the training data that collapse into an untruth when observed. https://sentientsyllabus.substack.com/p/chatgpts-achilles-heel Now, th

Re: [Rd] R2HTML doesn't split paragraphs originating from \Sexpr[results=rd]

2023-02-13 Thread Sebastian Meyer
I can confirm this is a bug, more specifically, a regression in R >= 3.6.0. I think a report in R's Bugzilla would be useful. A possible workaround seems to be to start the Rd-generating \Sexpr in column 1 of the Rd file, so to remove the indentation before \Sexpr. AFAICS, fixing this will re

[Rd] An interesting chat with ChatGPT

2023-02-13 Thread Duncan Murdoch
I was wondering which anchor would match in the regular expression "(a)|(b)" if both "a" and "b" matches the target string. What appears to happen is that the first match wins, and that's how it is documented in Python, but I was looking for docs on this in R. As far as I can see, the ?regex