Re: [R] Please help: cannot import files from Windows into R

2016-07-14 Thread William Dunlap via R-help
The file may have been stored in the UTF-16 encoding (what Windows Notepad calls "Unicode"). If so, adding fileEncoding="UTF-16" to the read.table command might read it correctly. Bill Dunlap TIBCO Software wdunlap tibco.com On Thu, Jul 14, 2016 at 3:49 PM, Christa Rose wrote: > Can someone pl

Re: [R] Please help: cannot import files from Windows into R

2016-07-14 Thread John Dougherty
Christa, As others are noting, the file is not a text file. Open the file in Notebook or Notepad. If the editor complains, then open it in Word. Save it as a "plain text" file. You will have to choose the file type in the "Save As" dialog. You may run into other issues such as the field separ

Re: [R] Please help: cannot import files from Windows into R

2016-07-14 Thread Duncan Murdoch
On 14/07/2016 6:49 PM, Christa Rose wrote: Can someone please help? The read.table command is not working for me I think because Windows has my account name stored as "Christa Rose" with a space in it. Is this a problem? I have tried many syntax iterations, and cannot get around this. I don't t

Re: [R] Please help: cannot import files from Windows into R

2016-07-14 Thread Jim Lemon
Hi Christa, The error messages tell you that the file contains NULL characters, which can cause problems with reading files. You can remove these characters with a "hex editor". I am not familiar with those used on Windows, but look at this Web page: http://alternativeto.net/software/okteta/?platf

[R] Please help: cannot import files from Windows into R

2016-07-14 Thread Christa Rose
Can someone please help? The read.table command is not working for me I think because Windows has my account name stored as "Christa Rose" with a space in it. Is this a problem? I have tried many syntax iterations, and cannot get around this. Here is an example of the syntax I've used: > RanMinePl