similar to: [Rcpp-devel] Setting the R random seed from Rcpp

Displaying 20 results from an estimated 1200 matches similar to: "[Rcpp-devel] Setting the R random seed from Rcpp"

2010 May 17
0
Rcpp 0.8.0 on CRAN
===== Summary ===== Version 0.8.0 of the Rcpp package was released to CRAN today. This release marks another milestone in the ongoing redesign of the package, and underlying C++ library. ===== Overview ===== Rcpp is an R package and C++ library that facilitates integration of C++ code in R packages. The package features a set of C++ classes (Rcpp::IntegerVector, Rcpp::Function,
2010 May 17
0
Rcpp 0.8.0 on CRAN
===== Summary ===== Version 0.8.0 of the Rcpp package was released to CRAN today. This release marks another milestone in the ongoing redesign of the package, and underlying C++ library. ===== Overview ===== Rcpp is an R package and C++ library that facilitates integration of C++ code in R packages. The package features a set of C++ classes (Rcpp::IntegerVector, Rcpp::Function,
1999 May 05
1
RNG R/Splus compatibility
Starting with example Wichmann-Hill code from Brian Ripley I have been playing with a set of programs for getting the same random sequences from R and Splus. A copy is included below along with a test (which works in Solaris with R and Splus 3.3). The approach is somewhat different from the usual problems on this list as I am trying to get the same results from Splus as I get from R. However,
2004 Jul 08
3
How to pass strings to functions? [once once more, now With content I hope...]
Dear expeRts, I fail to succesfully pass strings to functions. It comes down to the observation that > plot(someVariable,anotherVariable) works fine, but > x <- "someVariable" > y <- "anotherVariable" > plot(x,y) does not. Does this have something to do with the returned value of x being /"someVariable"/ and not /someVariable/, i.e.
2007 Sep 26
2
How to 5ubscribe with modules
Ok.. munging the tag below to get pas the agressive mailbot administrivia filter. I have a manifest the following: module::foo{"$someVariable": param1=>"x" } modul::bar{"data": 5ubscribe => [Module::Foo["$someVariable"]] } The only way to get past the parsing seems to be to do one of the following: 5ubscribe
2008 Feb 29
1
Optional data argument for a function
Dear All, I am working on a function that has an optional data argument, just like lm(). If the user sets the data argument equal to some dataframe, then the function should look inside the dataframe for the variables given to other arguments, otherwise the variables should be accessible from what I believe is called the parent frame from which the function was called. I looked at the source code
2012 Mar 01
1
mb_m buffer not cleared if parseEval fails
Hi, I am using RInside for one of the applications that I'm using. The error that occured is as follows. When I use R.parseEval("xyz") if the parse fails then the mb_m is not cleared and hence all subsequent calls to R.parseEval fail. example: when R.parseEval("stringConcatfactoryrandom") is executed the R instance looks like this (gdb) p R $7 = (RInside &)
2013 Aug 28
1
Error when using buildVignettes()
Dear all, When running function 'testQAReport()', which uses function 'buildVignettes()' to create a pdf-file I get the following error: > source("testQAReport.R") > testQAReport() Error in .get_package_metadata(pkgdir) : Files 'DESCRIPTION' and 'DESCRIPTION.in' are missing. Since I did not get this error in earlier versions of R, could you
2000 Mar 07
0
AW: R-crash using cut-and-paste (PR#472)
> -----Ursprüngliche Nachricht----- > Von: Prof Brian D Ripley > Gesendet am: Tuesday, March 07, 2000 11:30 AM > An: dtrenkler@nts6.oec.uni-osnabrueck.de > Cc: r-devel@stat.math.ethz.ch; R-bugs@biostat.ku.dk > Betreff: Re: [Rd] R-crash using cut-and-paste (PR#472) > > On Tue, 7 Mar 2000 dtrenkler@nts6.oec.uni-osnabrueck.de wrote: > > > Dear R-Team, > >
2005 Feb 24
3
Inheriting variables
I'm trying to set a channel variable and make it available to another channel: I thought that if I SetVar(_SomeVariable=SomeValue) or SetVar(__SomeVariable=SomeValue) then SomeVariable would be available in the destination channel. However __SomeVariable, _SomeVariable and SomeVariable are all blank. The scenario: Agents logon to the queue using callbacklogin. From what I can gather
2000 Aug 25
1
[patch] configurable ssh_prng_cmds
The following patch against openssh-SNAP-20000823 allows to override the compile-time "ssh_prng_cmds" file at run time by adding new options to the server and client configurations. (We move binaries around a bit, and this was the only absolute path that couldn't be fixed at run-time). Regards Jan diff -ur openssh-SNAP-20000823.orig/entropy.c openssh-SNAP-20000823.new/entropy.c
2008 May 10
2
Random number generation
Colleagues, I have encountered behavior of random number generation that eludes me. I generate a random integer in a particular range using the following code: sample(1000:9999, size=1) This code exists within a script that starts with the command: remove(list=ls()) Each time that I run the script, it yields the same random number: 6420. I thought that the problem might result from
2009 Nov 11
1
fisher.test negative value error
Hi all, I am new to python, R and rpy2. I having few errors when I am using 'fisher.test' function where I am struck now. Please help to fix these bugs. My code for fisher.test goes this way *from rpy2 import * import rpy2.robjects as robjects def fisherExact(a,b,c,d): v = [a,b,c,d] m = robjects.r['matrix'](v,2,2) s = robjects.r['fisher.test'](m) return s *
2018 Jun 08
3
rpmbuild --define | some rpm sorcerer around?
On 08/06/18 19:38, Phil Perry wrote: > On 08/06/18 15:54, lejeczek wrote: >> hi >> >> how do you pass vars to rpmbuild for definition? eg >> >> rpmbuild --define \'"${_definition2}"\' >> >> I've been fiddling with ways to escape, but none is >> fricking working.. >> I mean, rpmbuild rushes to work(no errors nor
2004 Dec 21
1
Call routing based on remote ip address.
While setting up my first dial plan, I find that notions like remote ip, network, or incoming network interface seem to be totally lacking regarding calling parties, where * still seems to fully rely on the easily spoofable caller id. Especially, allowing only certain ips or networks to enter a specific context in the dial plan is apparently not possible, at least in the h323 world. Don't
2017 Sep 12
0
qgam
Dear useRs, I am happy to announce the publication on CRAN of the qgam package: https://cran.r-project.org/web/packages/qgam/index.html qgam is an extension of mgcv, and provides methods for fitting quantile additive models including parametric, random and smooth effects. For basic examples see the vignette: https://cran.r-project.org/web/packages/qgam/vignettes/qgam.html For more details on
2017 Sep 12
0
qgam
Dear useRs, I am happy to announce the publication on CRAN of the qgam package: https://cran.r-project.org/web/packages/qgam/index.html qgam is an extension of mgcv, and provides methods for fitting quantile additive models including parametric, random and smooth effects. For basic examples see the vignette: https://cran.r-project.org/web/packages/qgam/vignettes/qgam.html For more details on
2013 Mar 13
1
Failed to locate 'weave' output file / vignette product does not have a known filename extension
Hello, I'm seeing three different vignette-related errors with recent versions of R-3.0.0 alpha. First, with the package BitSeq (http://bioconductor.org/packages/2.12/bioc/html/BitSeq.html), I get the following when trying to build the package: Error: processing vignette ?BitSeq.Rnw' failed with diagnostics: Failed to locate the ?weave? output file (by engine ?utils::Sweave?) for
2006 Jan 18
4
Ruby "htmlentities" replacement: code review please!
Hi Railers, For some time now I''ve been looking for a decent Rails equivalent of PHP''s "htmlentities" command, because ERB''s html_escape (or more commonly called as just "h", eg. <%=h @somevariable %> ) just doesn''t go far enough for me. Back in PHP land, I actually had an extended version of the htmlentities command to deal with
2004 Aug 24
1
Possible problem with hostbased protocol 1 rhosts authentication
I found this problem when working with the Suse9.1 distribution, but have since reproduced it with a vanilla build of Openssh (openssh-3.9p1.tar.gz). Basically I cannot get a command like this: XXXX>ssh -vvv -1 -o "RhostsAuthentication yes" AAAA to work. Yes the appropriate settings are in the servers sshd_config file. Hostbased protocol 1 ssh using rhosts between computers is