Displaying 4 results from an estimated 4 matches for "0def".
Did you mean:
0d9f
2008 Apr 07
2
"\0" gives no warning "unknown escape sequence" (PR#11107)
...be improved by discussing
the meaning of "\0" escape sequence.
In R (currently used: R-2.6.2), a "\0" in a string will
silently terminate that string, just as it would in C code.
There is no warning about an unknown escape sequence.
(cf. R FAQ 7.37)
# example:
s <- "abc\0def"
s
# --> [1] "abc"
nchar(s)
# --> [1] 3
The "\0" seems to be so fundamental, that it cannot be handled by
any R function, am I right?
E.g., the function escapeBS (package:Hmisc) does not correctly
handle "\0" sequences, that is in contrast to what is state...
2008 Apr 09
0
"\0" gives no warning "unknown escape sequence" (PR#11117)
...ing of "\0" escape sequence.
> In R (currently used: R-2.6.2), a "\0" in a string will
> silently terminate that string, just as it would in C code.
> There is no warning about an unknown escape sequence.
> (cf. R FAQ 7.37)
>
> # example:
> s <- "abc\0def"
> s
> # --> [1] "abc"
> nchar(s)
> # --> [1] 3
>
> The "\0" seems to be so fundamental, that it cannot be handled by
> any R function, am I right?
> E.g., the function escapeBS (package:Hmisc) does not correctly
> handle "\0" sequ...
2001 May 08
1
ASCII map?
...ever,
is there already such a map (function) accessable?
Also, is it ok assume that a character string can contain any 7/8-bit ASCII
character (1-127/1-255)? The special value "\0" terminates the character
string. (Is "\0" in a character string safe? Example substring("abc\0def",
5) gives "", but what happens inside [R]?)
Reason for this is that I would like store subparts of the buffer that I
have read using readBin() as a character string, but I would also be able to
save it back using writeBin() without loosing anything.
Thanks for a great language!
H...
2016 Jul 15
1
[PATCH v3 0/4] nouveau RPM fixes for Optimus (final)
On Fri, Jul 15, 2016 at 12:41:49PM -0400, Ilia Mirkin wrote:
> On Fri, Jul 15, 2016 at 12:36 PM, Peter Wu <peter at lekensteyn.nl> wrote:
> > On Fri, Jul 15, 2016 at 12:10:23PM -0400, Ilia Mirkin wrote:
> >> On Fri, Jul 15, 2016 at 9:12 AM, Peter Wu <peter at lekensteyn.nl> wrote:
> >> > Hi,
> >> >
> >> > Here are two patches to fix