similar to: Ice cream flavor metaphor in statistical computing

Displaying 20 results from an estimated 1000 matches similar to: "Ice cream flavor metaphor in statistical computing"

2010 Jul 02
2
Best way to determine if you're running 32 or 64 bit R on windows
Hi, Is this sufficient? if (.Machine$sizeof.pointer==4){ cat('32\n') } else { cat('64\n') } Or is it better to test something in R.version, say os? I'd like to use this to specify appropriate linker arguments when building the RMySQL windows package. Jeff -- http://biostat.mc.vanderbilt.edu/JeffreyHorner
2006 Sep 29
1
Possible bug in Rcons_vprintf
In R-2-4-branch r39548, Rcons_vprintf is called from stdout_vfprintf when R_Outputfile is NULL. When called and output is greater than R_BUFSIZE, output is truncated to R_BUFSIZE. Here's a one-line fix: Index: src/main/printutils.c =================================================================== --- src/main/printutils.c (revision 39548) +++ src/main/printutils.c (working
2015 Mar 06
1
R with Array Hashes
On Fri, Mar 6, 2015 at 9:36 AM, Dirk Eddelbuettel <edd at debian.org> wrote: > > Jeff, > > Nice writeup and promising idea. From the "gimme numbers" department: > > - do you pass the R regression tests? I made sure that the implementation passed 99% of the tests, however there were two that gave differing results which I think are related to traversing hashed
2008 Sep 04
1
Possible R graphics devices
Hello all, I've been working on a new R Graphics device that targets Adobe's Shockwave Flash format (SWF for short). It uses http://www.libming.org/ on the backend. Here are some example outputs so far: http://160.129.129.41/~hornerj/plots/ Once you click on the above, choose a directory like 'smooth' and then click on test.html to see a side-by-side comparison of the swf
2008 Jul 24
3
Should this PDF render correctly without font embedding?
A professor here at Vanderbilt sent me the following code. Each of the text strings should right justify against the center vertical bar, but because of font issues it doesn't. I understand that there are workarounds, but I was just curious if this was consistent across all platforms. On linux with R 2.7.1 and R-trunk (r46103), both acrobat reader 8 and kpdf render it incorrectly. How
2007 Mar 24
2
Subtle bug in do_basename
Hello, I've been wondering why my no-optimization R-devel builds have been hanging during "building/updating package indices ...". I tracked it down with gdb to this line from do_basename in utils.c: while ( *(p = buf + strlen(buf) - 1) == fsp ) *p = '\0'; Now, imagine if your compiler places the variable fsp immediately before buf on the stack, and strlen(buf) is 0.
2011 Apr 12
2
parse_Rd raises error when example section contains a quoted percent character
I was writing Rd documentation for a new package when I came across this issue. Here's the smallest example: > library(tools) > cat("\\examples{x <- '<%=rnorm(1)%>'}\n",file=file.path(tempdir(),'test.Rd')) > readLines(file.path(tempdir(),'test.Rd')) [1] "\\examples{x <- '<%=rnorm(1)%>'}" >
2007 Jul 07
1
R graphics device for flash apps
Byron, I just read your blog (statcomp.blogspot.com, linked from your other post) and rand across your idea of an R/Flash graphics device. I've also been giving this some thought because of this amazing interactive flash app: http://tools.google.com/gapminder and others from http://www.gapminder.org/. I would love more than anything to work on this. The only hitch is that I'm so
2005 Jan 21
2
Struggling with S3/S4 interface issues and External Pointers
I'm currently working on embedding R into the Apache2 webserver (with some positive results...), but I'm struggling to identify the best way to expose the apache data and functions to R. A couple of thoughts: In light of the recent discussion on "S3/S4 classes performance comparson", I'm leaning toward implementing the interface with S3 style classes. I appreciate
2007 Feb 21
1
Adding difftime objects to POSIXt objects
Hello, ?DateTimeClasses states that "one can add or subtract a number of seconds or a 'difftime' object from a date-time object, but not add two date-time objects." So, is the below expected behavior? > x <- Sys.time() > x [1] "2007-02-21 16:19:56 CST" > x + as.difftime("1","%H") [1] "2007-02-21 16:19:57 CST" Warning
2006 Aug 31
1
Overriding InitTempDir
For embedded projects, one may want to eliminate the per-session temp directory created by InitTempDir() and just use a system-specific temp directory. Here's my solution: extern char *R_TempDir; void my_InitTempDir() { char *tmp; if (R_TempDir){ if (rmdir(R_TempDir) != 0){ perror("Fatal Error: could not remove R's TempDir!");
2009 May 23
1
Cream Text Editor
I'm interested in easing my way into learning VIM by first using the Cream text editor, liking the idea that it will work on both my Linux and Windows computers. I've installed Cream on my Linux machine, but can't figure out how to make Cream talk to R? Does anybody know? I'm using Ubuntu if it makes a difference. Thanks. -- View this message in context:
2012 Jan 11
1
Rook: software and specification for R web applications and servers
Dear ?useRs, Rook version 1.0-3 has been submitted to CRAN. In the mean time you can get it here: https://github.com/jeffreyhorner/rRack/blob/master/Rook_1.0-3.tar.gz The latest release contains support for deployment with rApache. Please see 3.6.5 and 3.6.6 under section 'Configuring rApache' in the manual: http://www.rapache.net/manual.html#Configuring_rapache What is Rook? A
2012 Jan 11
1
Rook: software and specification for R web applications and servers
Dear ?useRs, Rook version 1.0-3 has been submitted to CRAN. In the mean time you can get it here: https://github.com/jeffreyhorner/rRack/blob/master/Rook_1.0-3.tar.gz The latest release contains support for deployment with rApache. Please see 3.6.5 and 3.6.6 under section 'Configuring rApache' in the manual: http://www.rapache.net/manual.html#Configuring_rapache What is Rook? A
2006 Nov 03
1
R CMD BATCH: unable to start device PNG
And on that note, here is a function that I use to get around it: -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Jeffrey Horner Sent: Friday, November 03, 2006 10:01 AM To: ryszard.czerminski at novartis.com Cc: r-help at stat.math.ethz.ch Subject: Re: [R] R CMD BATCH: unable to start device PNG ryszard.czerminski
2007 Aug 22
1
Sweave(), pdf(), and fonts
Hi all, We have a user that would like to create pdf plots using the Arial font. One way for her to do this is to use the Cairo graphics device which produces pdf's beautifully and embeds fonts automatically. She could also install the msttcorefonts package from ubuntu to obtain the Arial font. The problem is that she is using Sweave() to produce a document that contains the pdf plots,
2007 Apr 16
1
Documentation update to R-lang.texi
Section 4.3.4 of R-lang.texi version 41191 in the paragraph that starts "When h(3) is..." explains that x and y are unbound variables in the function body of g in this example: f <- function(x) { y <- 10 g <- function(x) x + y return(g) } h <- f() h(3) while the paragraph following the example explains that "bound
2007 Jun 14
1
Clarification for readChar man page
Hi, Here's a patch to the readChar manual page (R-trunk as of today) that better clarifies readChar's return value. It could use some work as I'd also like to add some text about using nchar() to find the length of the string that readchar() returns, but I'm unsure which of type="bytes" or type="chars" to mention. Is it type="chars"? Index:
2010 Sep 08
1
Development environment for R extentions on Windows
Hi all, I'm setting up a development environment on Windows as the subject implies. I've downloaded and installed Rtools211.exe (will upgrade later when necessary) and I've also downloaded and installed mingw with the help of mingw-get.exe. I come from a UNIX development background, so I'm at the bash shell prompt for just about every step in R extenstion development. Question is
2011 Mar 10
1
Testing for a reference class object
Hi all, I've constructed the following function to test whether or not an object was created from a reference class: isRefClassObject <- function(x) isS4(x) && is.environment(attr(x,'.xData')) && exists('.refClassDef',attr(x,'.xData')) but I'm unsure if it's a complete test or if there's a better way to test. Regardless, It would be