Displaying 10 results from an estimated 10 matches for "byte_order_mark".
2019 Feb 07
3
Bug Report: read.table with UTF-8 encoded file imports infinity symbol as Integer 8
I can confirm that it doesn't happen on Ubuntu 18.04.1 so Peter is
most likely correct; it looks like its Windows specific.
On Thu, 7 Feb 2019 at 12:55, peter dalgaard <pdalgd at gmail.com> wrote:
>
> This doesn't seem to be happening on MacOS, neither in Terminal nor RStudio, (R 3.5.1, R-devel, R-patched). So probably Windows specific.
>
> -pd
>
> > On 7 Feb
2024 Sep 07
1
Reading a txt file from internet
...ble(file = file, header = header, sep = sep, quote = quote, :
>
> line 5 appears to contain embedded nulls
>
> Is there any way to read this data directly onto R?
>
> Thanks for your time
>
The <ff><fe> looks like a byte-order mark
(https://en.wikipedia.org/wiki/Byte_order_mark).
Try this:
fn <- file('https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt',
encoding = "UTF-16LE")
read.delim(fn)
--
Enrico Schumann
Lucerne, Switzerland
https://enricoschumann.net
2024 Sep 07
1
Reading a txt file from internet
...sep, quote = quote, :
>>
>> line 5 appears to contain embedded nulls
>>
>> Is there any way to read this data directly onto R?
>>
>> Thanks for your time
>>
>
>The <ff><fe> looks like a byte-order mark
>(https://en.wikipedia.org/wiki/Byte_order_mark).
>Try this:
>
> fn <- file('https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt',
> encoding = "UTF-16LE")
> read.delim(fn)
>
--
Sent from my phone. Please excuse my brevity.
2024 Sep 07
1
Reading a txt file from internet
...;> line 5 appears to contain embedded nulls
>>>
>>> Is there any way to read this data directly onto R?
>>>
>>> Thanks for your time
>>>
>>
>> The <ff><fe> looks like a byte-order mark
>> (https://en.wikipedia.org/wiki/Byte_order_mark).
>> Try this:
>>
>> fn <- file('https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt',
>> encoding = "UTF-16LE")
>> read.delim(fn)
>>
>
2024 Sep 07
1
Reading a txt file from internet
...mbedded nulls
>>>>
>>>> Is there any way to read this data directly onto R?
>>>>
>>>> Thanks for your time
>>>>
>>>
>>> The <ff><fe> looks like a byte-order mark
>>> (https://en.wikipedia.org/wiki/Byte_order_mark).
>>> Try this:
>>>
>>> fn <- file('https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt',
>>> encoding = "UTF-16LE")
>>> read.delim(fn)
>>>
>>
>
--
Sent from m...
2024 Sep 08
1
Reading a txt file from internet
...t;>
>>>>> Is there any way to read this data directly onto R?
>>>>>
>>>>> Thanks for your time
>>>>>
>>>>
>>>> The <ff><fe> looks like a byte-order mark
>>>> (https://en.wikipedia.org/wiki/Byte_order_mark).
>>>> Try this:
>>>>
>>>> fn <- file('https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt',
>>>> encoding = "UTF-16LE")
>>>> read.delim(fn)
>>>>
>&g...
2011 Feb 22
3
Weird error (special character) of read.table
Hi,
I have the following input file.
$ cat main.txt
CEL_A CELL_B
1 4
2 5
2 6
Then I run read.table in R.
> f=read.table('main.txt', header=T, check.names=F, sep='\t')
> head(f)
\ufeffCEL_A CELL_B
1 1 4
2 2 5
3 2 6
> f$CEL_A
NULL
I'm not sure where the special character \ufeff comes from. Could anybody
let me know what is the problem?
Help - rsync runs from command line, fails from task scheduler, hangs at msg checking charset: UTF-8
2017 Jul 28
2
Help - rsync runs from command line, fails from task scheduler, hangs at msg checking charset: UTF-8
Setting up a new system backup (done several before and they all work fine).
Windows 10 x64 (cygwin with rsync version 3.1.2) backing up to ubuntu
server 16.04 (rsync 3.1.1). Run test.bat from command window (run as
administrator) and it runs fine.Created scheduled task that runs test.bat
and it hangs at "msg checking charset: UTF-8" until the timeout. I have
upped the timeout to
2024 Sep 07
4
Reading a txt file from internet
Hi,
I am trying to the data from
https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt
without any success. Below is the error I am getting:
> read.delim('https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt')
Error in make.names(col.names, unique = TRUE) :
invalid multibyte string at '<ff><fe>t'
In
2012 Dec 15
2
troubles reading a text file
Dear R experts,
For quite some time I have been trying to solve a mistery of reading a seemingly trouble-free text file. The data is temperature reconstruction arranged as a huge grid, preceded by seven "header lines" (which you see better if file is opened in Firefox or Chrome).
This is the data (gridded temperature reconstruction)