Re: [Rd] (PR#9248) Incomplete loading of files into Windows script

2006-09-23 Thread ripley
Please, we do need complete reproduction instructions (and not speculation) as the FAQ asks. 1) How exactly did you read the file in? 2) 'longer' than what? 3) What line ending is this? I've just tried loading a 1000-line 50kb file using the 'Open Script' menu item, and it worked with CRLF, LF

[Rd] Incomplete loading of files into Windows script editor, suspected bug regarding non-standard EOL marker handling (PR#9248)

2006-09-23 Thread klaus . thul
Full_Name: Klaus Thul Version: R2.3.1 (CRAN binary for Windows) OS: Windows XP Submission from: (NULL) (220.132.142.175) When I read a longer text file created on Mac OS X into the built-in script editor of R for windows, it is read only incomplete. The same file can be loaded without problem e.

Re: [Rd] generics for primitive functions

2006-09-23 Thread Parlamis Franklin
Yes, I figured I might have entered the forbidden zone (one hint was that I had to set the group method to achieve my goal -- an attempt to directly set a method for the 'sqrt' function was frustrated in the manner you suggest). I have two followup questions and a request: (i) Should I expe

Re: [Rd] generics for primitive functions

2006-09-23 Thread John Chambers
Probably a bug, but not at all the one you imply. You have found a way to subvert a guarantee in R that methods for primitives can never be redefined for basic data types. As you no doubt found, but didn't show us, so long as you say sqrt(4) the result is correct. (Your "Works" should really

Re: [Rd] Regular expressions

2006-09-23 Thread Prof Brian Ripley
On Sat, 23 Sep 2006, Dominick Samperi wrote: > When I type > > ls("package:base", pattern="log*") > functions with names like "floor" and > "Sys.setlocale" are included. I don't > think this is how "*" is supposed to work. > > To get the desired response I have to use: > ls("packge:base", pattern=