Displaying 7 results from an estimated 7 matches for "nfoo".
Did you mean:
foo
2018 Apr 25
2
readLines() for non-blocking pipeline behaves differently in R 3.5
...file("stdin")
open(con, blocking = FALSE)
while (TRUE) {
? ? txt <- readLines(con, 1)
? ? if (length(txt) > 0) {
? ? ? ? cat(txt, "\n", file = stdout())
? ? }
? ? Sys.sleep(0.1)
}
close(con)
```
In R 3.4.4, it works as expected.
```
(randymbpro)-Desktop$ echo "abc\nfoo" | R --slave -f test.R
abc
foo
```
In R 3.5, only the first line is printed
```
(randymbpro)-Desktop$ echo "abc\nfoo" | R --slave -f test.R
abc
```
Is this change expected? ?If I change `blocking` to `TRUE` above, the above code would
work. But I need non-blocking connection in my...
2018 Apr 26
2
readLines() for non-blocking pipeline behaves differently in R 3.5
...f (length(txt) > 0) {
>> cat(txt, "\n", file = stdout())
>> }
>> Sys.sleep(0.1)
>> }
>> close(con)
>>
>> ```
>>
>> In R 3.4.4, it works as expected.
>>
>> ```
>> (randymbpro)-Desktop$ echo "abc\nfoo" | R --slave -f test.R
>> abc
>> foo
>> ```
>>
>> In R 3.5, only the first line is printed
>> ```
>> (randymbpro)-Desktop$ echo "abc\nfoo" | R --slave -f test.R
>> abc
>> ```
>>
>> Is this change expected? If I change...
2020 Aug 15
2
Tests failing on CentOS 6
Getting this when attempting to build 2.3.11.3 on CentOS 6:
test-mail-cache.c:176: Assert failed:
strcmp(str_c(str),"123\nfoo\n456\nbar\n")
"" != "123
foo
456
bar
"
test-mail-cache.c:176: Assert failed:
strcmp(str_c(str),"123\nfoo\n456\nbar\n")
"" != "123
foo
456
bar
"
mail cache uncommitted lookups ....................................... :
FAILED...
2020 Aug 17
0
Tests failing on CentOS 6
On 15. Aug 2020, at 14.18, Peter <peter at pajamian.dhs.org> wrote:
>
> Getting this when attempting to build 2.3.11.3 on CentOS 6:
>
> test-mail-cache.c:176: Assert failed: strcmp(str_c(str),"123\nfoo\n456\nbar\n")
> "" != "123
> foo
> 456
> bar
> "
> test-mail-cache.c:176: Assert failed: strcmp(str_c(str),"123\nfoo\n456\nbar\n")
> "" != "123
> foo
> 456
> bar
> "
> mail cache uncommitted loo...
2018 Apr 26
0
readLines() for non-blocking pipeline behaves differently in R 3.5
...> txt <- readLines(con, 1)
> if (length(txt) > 0) {
> cat(txt, "\n", file = stdout())
> }
> Sys.sleep(0.1)
> }
> close(con)
>
> ```
>
> In R 3.4.4, it works as expected.
>
> ```
> (randymbpro)-Desktop$ echo "abc\nfoo" | R --slave -f test.R
> abc
> foo
> ```
>
> In R 3.5, only the first line is printed
> ```
> (randymbpro)-Desktop$ echo "abc\nfoo" | R --slave -f test.R
> abc
> ```
>
> Is this change expected? If I change `blocking` to `TRUE` above, the above code...
2018 Apr 26
0
readLines() for non-blocking pipeline behaves differently in R 3.5
...t(txt, "\n", file = stdout())
>>> }
>>> Sys.sleep(0.1)
>>> }
>>> close(con)
>>>
>>> ```
>>>
>>> In R 3.4.4, it works as expected.
>>>
>>> ```
>>> (randymbpro)-Desktop$ echo "abc\nfoo" | R --slave -f test.R
>>> abc
>>> foo
>>> ```
>>>
>>> In R 3.5, only the first line is printed
>>> ```
>>> (randymbpro)-Desktop$ echo "abc\nfoo" | R --slave -f test.R
>>> abc
>>> ```
>>>
>&g...
2006 Nov 04
2
amd64 issue with flac-1.1.3 beta2
...\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
write(4, "\377\370Y\30\340\266\254\320\22\0\1\f\31\323\356R\315/"..., 1276) = 1276
write(4, "", 47747151429632) = 199596
write(4, "", 47747151230036) = -1 EFAULT (Bad address)
write(2, "\nfoo.wav: ERROR during encoding\n", 32
foo.wav: ERROR during encoding
The final write is getting a bogus size.
I think I have tracked it down to "FLAC__bitbuffer_get_buffer" in
bitbuffer.c taking an unsigned * for bytes, but "write_bitbuffer_" in
stream_encoder.c is passing a...