Displaying 20 results from an estimated 23 matches for "rlecuy".
Did you mean:
recur
2011 Aug 17
3
getNativeSymbolInfo("user_unif_rand") returns different results on windows and linux
...change
(same pointer address) and the package data is NULL.
See results for both systems below. I tested this with R 2.12.1, 2.13.0
and 2.13.1 on Windows.
Is this a normal behaviour for dll loaded on Windows?
Thank you.
Renaud
#####################
# LINUX
#####################
> library(rlecuyer)
> getNativeSymbolInfo("user_unif_rand")
$name
[1] "user_unif_rand"
$address
<pointer: 0x7ff55acffed0>
attr(,"class")
[1] "NativeSymbol"
$package
DLL name: rlecuyer
Filename:
/home/renaud/R/x86_64-pc-linux-gnu-library/2.12/rlecuyer/libs/rlecuye...
2013 Jan 23
3
How to construct a valid seed for l'Ecuyer's method with given .Random.seed?
...he minimal example below):
,----
| > Loading required package: Rmpi
| Loading required package: grDevices
| Loading required package: grDevices
| Loading required package: grDevices
| Loading required package: grDevices
| 4 slaves are spawned successfully. 0 failed.
| Loading required package: rlecuyer
| Error in .lec.SetPackageSeed(seed) (from #11) :
| Seed[0] >= -930997252, Seed is not set.
`----
What's the problem? How can I construct a valid seed for l'Ecuyer's rng with
just the information in .Random.seed?
Thanks & Cheers,
Marius
Here is the minimal example:
requ...
2018 Feb 15
2
package MonteCarlo error: object 'packages' not found
R-users,
I can't tell what's causing the following error. The vignette does not
make a reference to a "packages" option or parameter.
> library(MonteCarlo)
Loading required package: abind
Loading required package: codetools
Loading required package: rlecuyer
Loading required package: snow
Loading required package: snowfall
> infest_kud_fun<-function(x,A,B){
+?? equation1=exp(A-(B*x))
+?? return(list("equation1"=equation1))
+ }
> x_grid<-c(0.5,10) #distances kudzu could grow
> A_grid<-rnorm(1000) #probabilities
>...
2005 Jun 08
6
Random seed problem in MCMC coupling of chains
...chain: 1 runif: 0.28758
iter: 2 chain: 1 runif: 0.7883
iter: 3 chain: 1 runif: 0.40898
iter: 1 chain: 2 runif: 0.28758
iter: 2 chain: 2 runif: 0.7883
iter: 3 chain: 2 runif: 0.40898
iter: 1 chain: 3 runif: 0.28758
iter: 2 chain: 3 runif: 0.7883
iter: 3 chain: 3 runif: 0.40898
I was looking in 'rlecuyer', 'rsprng' and 'setRNG', but did not find
anything usable for me. From reading on http://sprng.cs.fsu.edu/
'rsprng' provides just opposite of what I want, 'rlecuyer' is a bit
to technical for me, but I think it also doesn't give identical
seed for parall...
2011 Mar 13
1
R hangs when connected via VPN [incl. minimal example]
...sole
is dark red [normal behavior if R is running], so R tries to do something, but
cannot succeed. CPU goes up to 100%... Same happens if I start the job from the
command line via R CMD BATCH. What's going on? Is this a known issue?
Cheers,
Marius
library(doSNOW)
library(Rmpi)
library(rlecuyer)
library(foreach)
cl <- makeCluster(mpi.universe.size(), type ="MPI")
tmp <- clusterSetupRNG(cl, seed=rep(1,6))
registerDoSNOW(cl)
counter <- 0
res <- foreach(k = 1:1000) %do% {
counter <- counter + 1
}
tmp <- stopCluster(cl)
unlist(res)
2018 Feb 15
0
package MonteCarlo error: object 'packages' not found
...t;
> I can't tell what's causing the following error. The vignette does not
> make a reference to a "packages" option or parameter.
>
> > library(MonteCarlo)
> Loading required package: abind
> Loading required package: codetools
> Loading required package: rlecuyer
> Loading required package: snow
> Loading required package: snowfall
>
> > infest_kud_fun<-function(x,A,B){
> + equation1=exp(A-(B*x))
> + return(list("equation1"=equation1))
> + }
>
>
> > x_grid<-c(0.5,10) #distances kudzu could grow
>...
2006 Aug 31
1
Interface for package supplied random number generator
...If the user herself loads a shared library
that contains such a function, some of the functionalities of all the
corresponding packages are broken.
When writing my paper I found the following packages on CRAN that abuse this
interface (meanwhile there might be more packages):
randaes_0.1.tar.gz
rlecuyer_0.1.tar.gz
rsprng_0.3-1.tar.gz
rstream_1.1.tar.gz
SuppDists_1.0-13.tar.gz
what makes the situation even more complicated is the fact that some of these
packages are loaded automaticall by other packages.
For example, package 'rlecuyer' is loaded by
snow_0.2-1.tar.gz
snowFT_0.0-1.tar.gz...
2012 Mar 02
0
c/c++ Random Number Generators Benchmarks using OpenMP
...use the exact same computation method, using a template argument
for the RNG, and providing wrappers for the
different available RNGs, except for the rngOpenMP that is not
instantiable, so I adapted specifically the code.
I included in the benchmark:
- the c implementation used by the R package Rlecuyer
- the (GNU) random_r RNG available on GNU/linux systems and that is
reentrant
- my RcppRandomSFMT,wrapping a modified version of the SIMD-oriented Fast
Mersenne Twister (SFMT) Random Number Generator
provided by http://www.agner.org/random Randomc
- rngOpenMP
I tried to include the rsprng...
2010 Oct 24
1
140 packages in R Commander!!
...packages installed!!! Cran Mirror was UCLA...
Here is the list.
Is this intentional- I can see some packages like snow and multicore which
are desirable but quite optional.(see list below)
Regards
Ajay
'slam' 'fBasics' 'bitops' 'Rglpk' 'snowFT' 'rlecuyer' 'rsprng' 'nws'
'tweedie' 'gtools' 'gdata' 'caTools' 'Ecdat' 'ergm' 'latentnet' 'degreenet'
'shapes' 'snow' 'RColorBrewer' 'statmod' 'cubature' 'kinship' 'gam...
2005 Feb 07
5
R on Beowulf cluster?
Dear R-help,
Has anyone tried running R on a Beowulf-type cluster? I can get R to run in
batch (using R CMD BATCH) on a cluster, but am wondering if it is possible
to get an interactive R session on a compute node. Right now, if I run:
beorun --nolocal R
I just get the R start-up message and back to the shell prompt. If I try
bpsh 0 R
I can get R started (but the R prompt does not
2013 Jul 28
1
Problem with ldpaths in Ubuntu 13.04
...()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> install.packages("rlecuyer",depen=TRUE)
Installing package into ‘/home/erin/lib/R/library’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL 'http://cran.at.r-project.org/src/contrib/rlecuyer_0.3-3.tar.gz'
Content type 'application/x-gzip' length 11756 byt...
2011 Feb 23
0
parallel bootstrap linear model on multicore mac
...ease excuse my rather terrible
programming skills. I am always open to suggestions. Below the example I
describe what methods I have tried (which is the reason for all of the
unnecessary library calls).
>library(snow)
library(snowfall)
library(boot)
library(lme4)
library(multicore)
library(rlecuyer)
dat<-read.table("http://www2.fiu.edu/~adick/downloads/toy2.dat", header = T)
nboot<-1000
attach(dat)
x<-dat[,2]
y<-dat[,4]
z<-dat[,3]
subj<-dat[,1]
m2.ph.fun<-function(data,i) {
d<-data
d$y<- d$fitted+d$res[i]
as.numeric...
2007 Mar 21
1
Snow Package and SPRNG: Will it solve my problem?
Hello and thanks in advance for your time. I currently have a
simulation running on my cluster with the help of snow that relies on
global variables being changes regularly to random values. It uses
these values, lets call them x1 x2 and x3, in custom functions for
logliklyhood and score that gets used in the standard optim function.
To get set in the global table on the different
2004 Aug 02
2
random seed puzzle
After reading the help page on set.seed, I am unsure about how to solve the following problem. I need to call function f a thousand times. The list of values returned by f, should be as random as possible. f calls g twice:
f <- function(){g1 <- g(1); g2 <- g(2); c(g1; g2)}
The function g in turn calls sample and returns a number, but also depends on its argument, so, starting from the
2007 Aug 21
1
clusterCall with replicate function
I am trying to run a monte carlo process using snow with a MPI cluster. I
have ~thirty processors to run the algorithm on and I want to run it 5000
times and take the average of the output. A very simple way to do this is
to divide 5000 by the number of processors to get a number n and tell each
processor to run the algorithm n times. I realize there are more efficient
ways to manage the
2009 Nov 16
2
(Parallel) Random number seed question...
Hi All,
I have k identical parallel pieces of code running, each using n.rand
random numbers.? I would like to use the same RNG (for now), and set
the seeds so that I can guarantee that there are no overlaps in the
random numbers sampled by the k pieces of code.? Another side goal is
to have reproducibility of my results.? In?the past I have used C with
SPRNG for this task, but I'm hoping
2020 Jun 26
2
R 4.0.0 rebuild status
On Friday, 26 June 2020 10.47.13 WEST I?aki Ucar wrote:
> I used bcond locally and wrongly assumed that fedpkg build would
> support --with BCOND and --without BCOND. Instead, the way to activate
> it is to change to "%bcond_with check" and then revert to
> "%bcond_without check". The only difference with bootstrap is that
> "bootstrap" is recognized
2008 May 14
0
Parallel computing with rgenoud and snow: external file I/O possible?
...-----------------------
# test_cluster.r
#
# R script to test the parallelization capability.
# This uses rgenoud and external processes outside of R, and file I/O.
# These are the key characteristics of work with stand-alone models.
library(snow) # Simple Network of Workstations
#library(rlecuyer) # for random number generator
library(rgenoud) # calibrator of choice
# Set the working directory--must be an absolute pathname. Also put
this statement inside
# drive.calib(), the function that is called by genoud(). I cannot get
genoud() to pass this
# as an argument without breaking.
wor...
2019 Jul 04
2
Fwd: Fedora 31 System-Wide change proposal: Automatic R runtime dependencies
...* R-rappdirs
* R-R.cache
* R-rcmdcheck
* R-RColorBrewer
* R-Rcompression
* R-Rcpp
* R-RcppCCTZ
* R-RCurl
* R-R.devices
* R-readr
* R-readxl
* R-rematch
* R-rematch2
* R-remotes
* R-repr
* R-reprex
* R-reshape
* R-reshape2
* R-reticulate
* R-rex
* R-rgdal
* R-rgeos
* R-rhub
* R-RInside
* R-rlang
* R-rlecuyer
* R-RM2
* R-rmarkdown
* R-R.methodsS3
* R-Rmpfr
* R-ROC
* R-RODBC
* R-R.oo
* R-roxygen2
* R-rprintf
* R-rprojroot
* R-R.rsp
* R-Rsamtools
* R-rsconnect
* R-Rsolid
* R-RSQLite
* R-rstudioapi
* R-rsvg
* R-rtracklayer
* R-RUnit
* R-R.utils
* R-rversions
* R-rvest
* R-S4Vectors
* R-sandwich
* R-scale...
2007 Oct 30
6
trouble installing building packages from source using R 2.6.0 on Ubuntu Gutsy AMD64
I have recently upgraded to Ubuntu Gutsy and, for the first time, am
using a 64-bit installation. After failing miserably to install R from
source, not a problem for me in the past with a 32-bit install, I went
the route of using the Debian Etch build. This went smoothly, but I am
unable to update my numerous R and BioConductor packages, getting
non-zero exit status errors on each package. Is