Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

36 results for “from:Guillaume Chapron”

Smoothing a persp graph
Guillaume Chapron · Jun 19, 2012 · r-help

An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120619/a0ce244e/attachment.pl>

Linked count between matrix columns
Guillaume Chapron · Jan 15, 2009 · r-help

> Because we want the values in table(x[,2]) where the **names** are > as.character(x[,1][x[,1] > 0])], not the positions x[,1][x[,1] > 0])]. Thanks!

[R-pkg-devel] R package with Swift code
Guillaume Chapron · Nov 29, 2017 · r-package-devel

Hello, Does anyone know of an example of a R package that contains Swift code (https://swift.org), like many packages use C code? Thanks Guillaume

Linked count between matrix columns
Guillaume Chapron · Jan 15, 2009 · r-help

Thank you! This is exactly what I wanted. Could you please explain the logic behind your code? > x[,2][x[,1][x[,1] > 0]] <- table(x[,2])[as.character(x[,1][x[,1] > > 0])]

Strange error message with mclapply
Guillaume Chapron · Jan 15, 2010 · r-sig-mac

Thanks for the reply! I should have noticed this: "multicomp should be preferrably used in console R and code executed in parallel may never use GUIs or on-screen devices." > Guillaume, > > please read ?multicore -- especially the section "Warning". > > Cheers, > Simon

Linked count between matrix columns
Guillaume Chapron · Jan 15, 2009 · r-help

> table(x2)[as.character(x[,1][x[,1] > 0])] Why do I need as.character() here? I checked it does not work without, but I don't see why. The help says "as.character attempts to coerce its argument to...

R unable to run on Mac OS 10.4 Tiger
Guillaume Chapron · May 24, 2005 · r-help

Hello, I'm running a PB G4 with Mac OS 10.4.1. I have downloaded the latest version R-2.1.0a.dmg. It appears that R does not work. It launches itself, but the window never gets ready...

Getting the latex file from R CMD check
Guillaume Chapron · Dec 10, 2012 · r-help

Hi list, I'm running R CMD check for a package and I would like to save the .tex file that generates later the pdf documentation. I have only seen it appearing and disappearing quickly in a tmp folder but...

Calling Objective C/Cocoa code from R
Guillaume Chapron · Mar 12, 2009 · r-sig-mac

Hello, I have a simulation model (command line tool) written in Objective C/ Cocoa. I would like to know if it is possible to call it from R and get the results into R as well. The documentation explains how...

Execute code to the GUI R.app from Smultron or BBEdit
Guillaume Chapron · Dec 28, 2008 · r-sig-mac

Hello, I would like to know how (if) I can, with Smultron or BBEdit as external editors, execute a line or the whole document into the GUI R.app. Ideally, I would type Apple+R and this would go. There...

[R-pkg-devel] Multi-threaded C with R's RNG
Guillaume Chapron · Nov 27, 2015 · r-package-devel

Hello, Has anyone written a package with a C code that uses R's RNG but in a multi-threaded way (e.g. to parallelize Monte Carlo simulations)? I do not have the knowledge to figure out myself how to...

Avoiding looping on vector with stochastic dependency
Guillaume Chapron · Dec 28, 2008 · r-sig-hpc

Thanks for your reply. In fact my code example was simplified from something more general for (i in 2:length(w[,1])) { w[i,] <- foo( w[i-1,] ) } and I was trying to write this without a loop. I will...

[Rcpp-devel] R package linking to C: coding advice
Guillaume Chapron · Jun 3, 2015 · rcpp-devel

Hello, > a) GSL for RNGs is (probably) inferior to what R does; if your main interest > is in the R package (as opposed to R as well as a standalone program) then it > may make sense to just use R...

Lattice: how to have multiple wireframe nice intersection?
Guillaume Chapron · Jan 16, 2009 · r-help

Hello, This code builds a simple example of 2 wireframes : require(lattice) x <- c(1:10) y <- c(1:10) g <- expand.grid(x = 1:10, y = 1:10, gr = 1:2) g$z <- c(as.vector(outer(x,y...

[R-pkg-devel] Rprintf with mclapply
Guillaume Chapron · Feb 11, 2016 · r-package-devel

Hello, I have a R package with a compiled C executable to run simulations. Simulations can be very long so I use mclapply to launch several instances (each with a different R seed). I would need to follow the simulation...

Strange error message with mclapply
Guillaume Chapron · Jan 15, 2010 · r-sig-mac

Hello, I have this test function: onerun <- function(j) { p <- numeric(10) for (i in 1:9) { p[i+1] <- j + p[i] } return(p) } Then I can call: lapply(1:100, onerun) I would like to multi-thread this...

[R-pkg-devel] scripting R through lldb
Guillaume Chapron · Jun 15, 2016 · r-package-devel

Hello, I am debugging a package that contains some compiled C code. The C code uses R random number generator so I cannot (or have not figured out how to) debug it without running it through R. What I do...

Smoothing a persp graph
Guillaume Chapron · Jun 19, 2012 · r-help

Hi, I'm unable to find a way to smooth data for a persp() graph. Example, suppose that I have data x,y,z like this: x <- 1:10 y <- 1:10 k <- 20 z <- outer(x, y, "*") + matrix( k...

[R-pkg-devel] Compiler optimization flags with R package
Guillaume Chapron · Jun 17, 2017 · r-package-devel

Hello, I am trying to debug some C code that is run only through a R package. I debug with lldb but I always get a message telling that the package "was compiled with optimization - stepping may behave oddly; variables...

Avoiding looping on vector with stochastic dependency
Guillaume Chapron · Dec 28, 2008 · r-sig-hpc

Hello, I need to perform a computation on a vector, where the value at index i is a stochastic function of the value at index i-1. A example would the following code: w <- numeric(100) w[1] <- 10 # set...

Can't find what you're looking for? Try searching with Google .