This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --27464147-762791266-1159424200=:16565 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT This does look exactly like PR#9254, and I am unable to reproduce it on a patched version. The patch is in r39516, so later than the version you tried.
On Thu, 28 Sep 2006, Klaus Thul(WAT & Device-?\?J?j) wrote:
Dear Prof. Ripley, Sorry for late reply: your mail didn't get through the spam filter of my Email provider. I saw that comment that is might be the same as PR#9254 and fixed. Therefore I tried the latest snapshot binary build (2.5.0 r39503) but the behavior is unchanged. Regarding your questions to reproduce the bug: 1) I read the file using Windows menu "File -> Open script..." 2+3) Attached an example file; reading the file stops after ~1000 characters. Regarding locale: I am located in Taiwan and using a "Taiwanese" laptop, but switched my windows language settings to English. During startup, R displays: "Natural language support but running in an English locale". Please let me know if you need further information. Best regards, Klaus Date: Sun, 24 Sep 2006 07:07:24 +0100 (BST) From: Prof Brian Ripley <ripley at stats.ox.ac.uk> To: klaus.thul at mac.com Cc: R-bugs at biostat.ku.dk Subject: Re: [Rd] (PR#9248) Incomplete loading of files into Windows script 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 or CR line endings. Some guesses are that there are control characters in the file or an encoding problem (what is your locale?). On Sun, 24 Sep 2006, klaus.thul at mac.com wrote:
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. g. into WordPad. I think the reason for the behavior is that Mac OS X uses different EOL
markers,
and R for windows doesn't handle these markers correctly. I don't have
access to
an UNIX/LINUX system, but I guess files generated on these systems will
cause
the same problem. I can provide an example file which fails if necessary.
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 --27464147-762791266-1159424200=:16565--