search for: ntwo

Displaying 8 results from an estimated 8 matches for "ntwo".

Did you mean: nto
2018 Jul 29
2
odd behavior of names
Bugzilla issue 16101 describes another first-list-name-printed-differently oddity with the Windows GUI version of R: > a <- "One is \u043E\u0434\u0438\u043D\nTwo is \u0434\u0432\u0430\n" > Encoding(a) # expect "UTF-8" [1] "UTF-8" > sapply(strsplit(a, "\n")[[1]], charToRaw)[c(1,1,2)] $`One is ????` [1] 4f 6e 65 20 69 73 20 d0 be d0 b4 d0 [13] b8 d0 bd $`One is <U+043E><U+0434><U+0438><U+043D>...
2002 May 21
2
using axis with newline characters
...a problem with R: I want to have many x axis tickmarks and labels such that it makes sense to put them on multiple "lines". The newline character seems to be ignored though for axis labels: plot(1:33, axes=F) axis(1, 9, 9) axis(1, 11, "\n11") axis(1) # whereas title("one\ntwo") works as I expect it to work. In addition there is a little hook on top of the tickmark (the upper end of the vertical dash) that seems to be unintended. Best regards, Andreas Krause PS. R version 1.4.1 on Red Hat Linux. PPS. One way to do what I want to achieve is to use axis wit...
2018 Jul 30
0
odd behavior of names
...Reporter: kevinushey .. gmail .. His minimal REPREX was even much simpler: > list(a = 1, b = 2) $`a` [1] 1 $b [1] 2 Thank you, Bill, for the nice extra example. Martin Maechler ETH Zurich and R Core Team > > a <- "One is \u043E\u0434\u0438\u043D\nTwo is \u0434\u0432\u0430\n" > > Encoding(a) # expect "UTF-8" > [1] "UTF-8" > > sapply(strsplit(a, "\n")[[1]], charToRaw)[c(1,1,2)] > $`One is ????` > [1] 4f 6e 65 20 69 73 20 d0 be d0 b4 d0 > [13] b8 d0 bd > > $`One is <U+043E>&l...
2001 Apr 23
1
location of multi-line labels on barplots?
Hi, All. I have a barplot I am making that has a 2 line label: names(GC) <- c("Read-Off", "Spatial\n Transformations", "Vis Changes", "Plans", "Abandon") and here, Spatial Transformations should be on 2 separate lines. However, when I break it as above (with the \n), the "Spatial" part is pushed up so that it overlaps the Tick mark
2010 Jul 09
3
Plotting text in existing plot?
I would like to plot some text in a existing plot graph. Is there a very simple way to do that. It does not need to be pretty at all (just maybe a way to center it or define a position within the plot). ( ? ) Ralf
2018 Jul 29
2
odd behavior of names
The first component name has backticks around it and the second does not. Though not wrong, it seems inconsistent. list(a = 1, b = 2) ## $`a` ## [1] 1 ## ## $b ## [1] 2 R.version.string ## [1] "R version 3.5.1 Patched (2018-07-02 r74950)" -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com
2004 Sep 17
3
newlines in vorbis comments
Is there any way to put a newline character in comments for ogg vorbis files in Linux? I can't see any way of doing it with vorbiscomment. Easytag would work, but has other problems (like concatenating comment fields with the same tag name). If I wanted to put together a quick hack to add a such a comment (I'm thinking read the comment from a file, with the tag name specified at the
2004 Sep 17
3
newlines in vorbis comments
Is there any way to put a newline character in comments for ogg vorbis files in Linux? I can't see any way of doing it with vorbiscomment. Easytag would work, but has other problems (like concatenating comment fields with the same tag name). If I wanted to put together a quick hack to add a such a comment (I'm thinking read the comment from a file, with the tag name specified at the