search for: richierock

Displaying 20 results from an estimated 30 matches for "richierock".

Did you mean: richierocks
2014 Dec 04
1
\U with more than 4 digits returns the wrong character
...ect.org/doc/manuals/r-release/R-lang.html > http://www.markvanderloo.eu > ------------------------------------------------------------------- > If you cannot quantify it, > you don't know what you're talking about > > > On Thu, Dec 4, 2014 at 8:00 PM, Richard Cotton <richierocks at gmail.com> wrote: >> If I type a character using \U syntax that has more than 4 digits, I >> get the wrong character. For example, >> >> "\U1d4d0" >> >> should print a mathematical bold script capital A. See >> http://www.fileformat.info/...
2015 May 25
5
Unicode display problem with data frames under Windows
...amount of time to deal with it. Since most of the people who tend to do that generally use systems in UTF-8 locales where this isn't a problem, or don't use Windows, it is languishing. Duncan Murdoch > > Best, > Ista > On May 25, 2015 9:39 AM, "Richard Cotton" <richierocks at gmail.com> wrote: > > > Here's a data frame with some Unicode symbols (set intersection and union). > > > > d <- data.frame(x = "A \u222a B \u2229 C") > > > > Printing this data frame under R 3.2.0 patched (r68378) and Windows 7, I > >...
2014 Mar 26
2
R-devel Digest, Vol 133, Issue 23
> From: Richard Cotton <richierocks at gmail.com> > > The rep function is very versatile, but that versatility comes at a > cost: it takes a bit of effort to learn (and remember) its syntax. > This is a problem, since rep is one of the first functions many > beginners will come across. Of the three main uses of r...
2015 May 25
2
Unicode display problem with data frames under Windows
Here's a data frame with some Unicode symbols (set intersection and union). d <- data.frame(x = "A \u222a B \u2229 C") Printing this data frame under R 3.2.0 patched (r68378) and Windows 7, I see d ## x ## 1 A <U+222A> B n C Printing the column itself works fine. d$x ## [1] A ? B ? C ## Levels: A ? B ? C The encoding is correctly UTF-8.
2015 Nov 05
2
PDFs and SVGs containing rasterGrobs don't display correctly in some other software
I've just been trying to post-process some R-created heatmaps using Inkscape, but I can't get them to display correctly in that software. To reproduce: library(grid) r <- as.raster(matrix(runif(25), 5, 5)) pdf("test.pdf") grid.newpage() grid.raster(r, interpolate = FALSE) dev.off() This figure should be a five by five block of grey squares. This is what I see in the R GUI
2014 Dec 04
4
\U with more than 4 digits returns the wrong character
If I type a character using \U syntax that has more than 4 digits, I get the wrong character. For example, "\U1d4d0" should print a mathematical bold script capital A. See http://www.fileformat.info/info/unicode/char/1d4d0/index.htm On my machine, it prints the Hangul character corresponding to "\Ud4d0" http://www.fileformat.info/info/unicode/char/d4d0/index.htm It seems
2014 Dec 04
0
\U with more than 4 digits returns the wrong character
...est, Mark [1] http://cran.r-project.org/doc/manuals/r-release/R-lang.html http://www.markvanderloo.eu ------------------------------------------------------------------- If you cannot quantify it, you don't know what you're talking about On Thu, Dec 4, 2014 at 8:00 PM, Richard Cotton <richierocks at gmail.com> wrote: > If I type a character using \U syntax that has more than 4 digits, I > get the wrong character. For example, > > "\U1d4d0" > > should print a mathematical bold script capital A. See > http://www.fileformat.info/info/unicode/char/1d4d0/inde...
2015 May 25
0
Unicode display problem with data frames under Windows
...y-in-matrices-but-not-data-frames-in-r , http://stackoverflow.com/questions/17715956/why-do-some-unicode-characters-display-in-matrices-but-not-data-frames-in-r (both of these came up when I googled the subject line of your email). Best, Ista On May 25, 2015 9:39 AM, "Richard Cotton" <richierocks at gmail.com> wrote: > Here's a data frame with some Unicode symbols (set intersection and union). > > d <- data.frame(x = "A \u222a B \u2229 C") > > Printing this data frame under R 3.2.0 patched (r68378) and Windows 7, I > see > > d > ##...
2015 May 26
0
Unicode display problem with data frames under Windows
...gt; Since most of the people who tend to do that generally use systems in UTF-8 > locales where this isn't a problem, or don't use Windows, it is languishing. Thanks for the link and the explanation of why the bug exists. >> On May 25, 2015 9:39 AM, "Richard Cotton" <richierocks at gmail.com> wrote: >> >> > Here's a data frame with some Unicode symbols (set intersection and >> > union). >> > >> > d <- data.frame(x = "A \u222a B \u2229 C") >> > >> > Printing this data frame under R 3.2.0 patche...
2015 Nov 23
1
capturing warnings using capture.output
>From the Details section of ?capture.output: Messages sent to stderr() (including those from message, warning and stop) are captured by type = "message". Note that this can be "unsafe" and should only be used with care. Capturing messages works as expected: capture.output(message("!!!"), type = "message") ## [1] "!!!" Capturing warnings
2016 May 05
1
Too many spaces in deparsed complex numbers with digits17 control option
If you set the "digits17" control option in deparse, you get a lot of unnecessary space in the representation of complex numbers. > deparse(0 + 0i) [1] "0+0i" > deparse(0 + 0i, control = "digits17") [1] "0 + 0i" As far as I can tell, the logic for this comes from this piece of /src/main/deparse.c: if (TYPEOF(vector) == CPLXSXP
2016 Oct 27
1
using with inside loop breaks next
If I want to use with inside a loop, it seems that next gets confused. To reproduce: for(lst in list(list(a = 1), list(a = 2), list(a = 3))) { with(lst, if(a == 2) next else print(a)) } I expect 1 and 3 to be printed, but I see [1] 1 Error in eval(expr, envir, enclos) : no loop for break/next, jumping to top level Is this a) by design, or b) a bug, or c) a thing that is rare enough that I
2012 Mar 21
2
Why is there no within.environment function?
If I want to assign some variables into an environment, it seems natural to do something like e <- new.env() within(e, { x <- 1:5 y <- runif(5) } ) This throws an error, since within.environment doesn't exist.? I realise I can work around it using as.environment(within(as.list(e), { x <- 1:5 y <- runif(5) } )) Just wondering why I
2015 May 25
0
Unicode display problem with data frames under Windows
...o R. In the end they either succeed with their muddling or give up, - but do not change the system. So whoever might attempt the Hercules task will be praised by thousands ;-) Best, Peter >> >> Best, >> Ista >> On May 25, 2015 9:39 AM, "Richard Cotton" <richierocks at gmail.com> wrote: >> >> > Here's a data frame with some Unicode symbols (set intersection and >> union). >> > >> > d <- data.frame(x = "A \u222a B \u2229 C") >> > >> > Printing this data frame under R 3.2.0 patched (...
2015 Mar 23
4
Possible values for R version status
Is there a complete list somewhere of the possible values for R's status, as returned by version$status? I know about these values: Stable: "" Devel: "Under development (unstable)" Patched: "Patched" Release candidate: "RC" Alpha: "Alpha" Are there any others that I've missed?
2014 Sep 07
2
normalizePath is sometimes very slow for nonexistent UNC paths
I'm having an issue with occasionally slow-running calls to normalizePath. If the path is a non-existent UNC path, then normalizePath sometimes takes 6 or 7 seconds to run, rather than its usual few microseconds. My big problem is that I can't reliably reproduce this across machines. The example below generates one or two slow runs out of 10000 on my Windows machine. I haven't been
2014 Aug 19
3
Is using devtools::release no longer allowed?
I recently tried to submit a package to CRAN using the release function in the devtools package and got the response: > The policies asked you to use the webform: do so in future. I think that the relevant line in the policies are: > When submitting a package to CRAN you should use the submission form at > http://CRAN.R-project.org/submit.html (and not send an email). You will be sent
2015 Feb 11
3
update.packages with ask = FALSE will sometimes ask about updates
Today while running update.packages(ask = FALSE), R stopped to ask me a question: There are binary versions available but the source versions are later: binary source needs_compilation KernSmooth 2.23-13 2.23-14 TRUE mixture 1.2 1.3 TRUE Do you want to install from sources the packages which need compilation? y/n: update.packages calls
2016 May 04
4
Is it possible to retrieve the last error? (not error *message*)
Hi, at the R prompt, is it possible to retrieve the last error (as in condition object of class "error")? I'm not asking for geterrmessage(), which only returns the error message (as a character string). I'm basically looking for a .Last.error or .Last.condition, analogously to .Last.value for values, which can be used when it is "too late" (not possible) to go back
2015 Jul 05
1
Are import-reexport-only packages allowed on CRAN?
One piece of feedback that I received at useR was that the assertive package is getting too big, and should be broken down into smaller pieces. I want to split the functionality into assertive.base, assertive.types, and a few others, then have the assertive package as a virtual package (suggestions for better terminology welcomed) that just imports and reexports the contents of the underlying