Displaying 18 results from an estimated 18 matches similar to: "aligned memory allocation in C"
2017 May 10
1
registering Fortran routines in R packages
Have you tried using tools:::package_native_routine_registration_skeleton()? If you don't like its output, you can easily edit its results and still avoid most pitfalls.
Cheers, Jari Oksanen
________________________________________
From: R-devel <r-devel-bounces at r-project.org> on behalf of Berend Hasselman <bhh at xs4all.nl>
Sent: 10 May 2017 09:48
To: Christophe Dutang
Cc:
2008 Jul 18
1
system time - windows specific problem
Hi all,
I'm currently implementing quasi random generation (torus) on R
(package randtoolbox available on CRAN). Even if it is not a great
idea, I decided to use the machine time to initiate the seed. So when
the seed is not specified by the user, the pkg uses the time machine
time.
Hence the following R code should produce different uniform variates :
> for(i in
2017 May 09
2
registering Fortran routines in R packages
Dear list,
I?m trying to register Fortran routines in randtoolbox (in srt/init.c file), see https://r-forge.r-project.org/scm/viewvc.php/pkg/randtoolbox/src/init.c?view=markup&root=rmetrics.
Reading https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Registering-native-routines and looking at what is done in stats package, I first thought that the following code will do the job:
2008 Sep 13
1
package config file for windows
Hi,
I'm maintaining randtoolbox package on CRAN and I wonder how to do a
windows config file? I need to test SSE2 instructions support as well
as inttypes.h library check.
Currently I use the trick of 'foreign' package, i.e. I have config.win
file with
cp -p src/config.h.win src/config.h
and config.h.win was written manually from config.h.in. There is no
test at all on
2009 Jul 30
3
user supplied random number generators
?Random.user says (in svn trunk)
Optionally,
functions \code{user_unif_nseed} and \code{user_unif_seedloc} can be
supplied which are called with no arguments and should return pointers
to the number of seeds and to an integer array of seeds. Calls to
\code{GetRNGstate} and \code{PutRNGstate} will then copy this array to
and from \code{.Random.seed}.
And it offers as an example
void
2009 Dec 13
3
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* Bergm (1.0)
Alberto Caimo
http://crantastic.org/packages/Bergm
Functions implementing Bayesian estimation for exponential random
graph models via exchange algorithm
Updated packages
----------------
lmtest (0.9-26), logcondens (1.3.5), MTSKNN (0.0-4), pmml (1.2.21),
r2lUniv (0.9.4), rattle (2.5.11), rgdal (0.6-23),
2009 Oct 10
2
[R-SIG-Mac] rnorm.halton
Hi all,
I need to transform classic 32bit Fortran code to 64bit Fortran code,
see the discussion [R-SIG-Mac] rnorm.halton. But I'm clearly a
beginner in Fortran...
Does someone already do this for his package?
From here, http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=linux&db=bks&fname=/SGI_Developer/Porting_Guide/ch03.html
, I identify the following changes
2012 Mar 02
0
c/c++ Random Number Generators Benchmarks using OpenMP
Dear R gurus,
I am interested in permutations-based cpu-intensive methods so I had to pay
a little attention to Random Number Generators (RNG).
For my needs, RNGs have to:
1) be fast. I profiled my algorithms, and for some the bottleneck was
the RNG.
2) be scalable. Meaning that I want the RNG to remain fast as I add
threads.
3) offer a long cycle length. Some basic generators have a
2009 Dec 20
0
new version of randtoolbox
Dear useRs,
We are happy to announce a new version of the randtoolbox* package
(version 1.09) on CRAN. The package is dedicated to Random Number
Generation and in a less exhaustive way to RNG tests. The package is
source-controlled at r-forge as part of the Rmetrics project http://r-forge.r-project.org/projects/rmetrics/
.
We invite you to take a look at the NEWS section to know the
2009 Dec 20
0
new version of randtoolbox
Dear useRs,
We are happy to announce a new version of the randtoolbox* package
(version 1.09) on CRAN. The package is dedicated to Random Number
Generation and in a less exhaustive way to RNG tests. The package is
source-controlled at r-forge as part of the Rmetrics project http://r-forge.r-project.org/projects/rmetrics/
.
We invite you to take a look at the NEWS section to know the
2018 Mar 13
2
64-bit integer type warning on windows
Dear list,
During the last two months, I spent a lot of time trying to remove the following warnings of my package randtoolbox:
congruRand.c:180:3: warning: ISO C does not support the 'I64' ms_scanf length modifier [-Wformat=]
sscanf(params[0], "%" PRIu64 "\n", &inp_mod);
Please see
2007 Apr 17
2
Voicemail files permission
I'm using asterisk 1.2.14
When asterisk stores voicemail messages in
/var/spool/asterisk/voicemail/default/EXTENSION/INBOX files are created with:
-rwx------ 1 asterisk web-aster 6690 Apr 17 16:08 msg0002.WAV
-rwx------ 1 asterisk web-aster 6732 Apr 17 16:08 msg0002.gsm
-rw------- 1 asterisk web-aster 274 Apr 17 16:08 msg0002.txt
-rwx------ 1 asterisk web-aster 65324 Apr 17 16:08
2017 May 09
0
registering Fortran routines in R packages
> On 9 May 2017, at 13:44, Christophe Dutang <dutangc at gmail.com> wrote:
>
> Dear list,
>
> I?m trying to register Fortran routines in randtoolbox (in srt/init.c file), see https://r-forge.r-project.org/scm/viewvc.php/pkg/randtoolbox/src/init.c?view=markup&root=rmetrics.
>
> Reading
2003 Jul 23
5
Asterisk as a stand alone voice mail server
I'm sure asterisk would make a great stand alone voice mail server.
Basically I want to get rid of our voice mail system and replace it with
*, but the problem is we use a cisco cluster with skinny clients. So I
was thinking the way to contact a * server, would be through our 3640.
But so far any attempt has failed. I am wondering if anyone has done
something similar. Just want to verify the
2017 May 10
3
registering Fortran routines in R packages
Thanks for your email.
I try to change the name in lowercase but it conflicts with a C implementation also named halton. So I rename the C function halton2() and sobol2() while the Fortran function are HALTON() and SOBOL() (I also try lower case in the Fortran code). Unfortunately, it does not help since I get
init.c:97:25: error: use of undeclared identifier 'halton_'; did you mean
2013 Apr 01
1
Console display "buffer size"
Greetings All.
This is a somewhat generic query (I'm really asking on behalf
of a friend who uses R on Windows, whereas I'm on Linux, but
the same phenomenon appears on both).
Say one has a largish dataframe -- call it "G" -- which in the
case under discussion has 592 rows and 41 columns. The intention
is to display the data by simply entering its name (G) as command.
Say the
2003 Oct 20
1
presentation of spatial-temporal point processes
Hello all,
Would anybody tell me how to present spatial-temoral point processes in R,
for example, I'd like to plot the spatial points in the sequence of
their time domain?
Cheers
--
Pingping Zheng
Department of Mathematics and Statistics
Fylde College
Lancaster University
Lancaster LA1 4YF
UK
2011 Feb 02
0
Finding the dominant factor in an unbalanced group
Hi all.
This is perhaps more a statistics question but I'm hoping someone can
help me.
I have a group of patients for whom I'm looking at beat to beat RR
interval changes.
I have plotted the difference between one beat length and the next
against the difference between the previous beat length and the current one.
This gives me a plot with four quadrants: the bottom left corresponding
to