Displaying 20 results from an estimated 900 matches similar to: "GetRNGstate() crashes with 'Segmentation fault'"
2005 Jun 28
1
GetRNGstate() crashes in Windows
Hi,
Has anyone managed to successfully call GetRNGstate() / PutRNGstate()
without crashing in a Windows environment (spec. XP)? I've compiled
successfully using both the latest Cygwin, latest Mingw, and the version
of Mingw suggested in "Building R for Windows" website, but when the
executable runs, it crashes; the functions themselves can run when I omit
2004 Mar 03
1
generating normal numbers: GetRNGstate, PutRNGstate
Hi
I'd like to generate thousands of normal numbers from my C function using
the C API functions provided R. I have two options:
1. double norm_rand(); (page 61 of R extension 1.8.1)
2. double rnorm(double mu, double sigma); (page 58 of R extension 1.8.1)
If my understanding of R-exts is correct, then I only need to call
GetRNGstate once, and then call 1000 norm_rand, and then call
2008 Jul 03
1
GetRNGstate and PutRNGstate
Hi,
I've got a simulation function, written in C and called from R, that
uses the R random number functions. It's not a very complicated
simulation - 280 lines total, with the main function (the one called
with .C) repeatedly calling another function, with multiple calls to
unif_rand() in both functions. At the beginning of the main function I
call GetRNGstate(), and the last thing I do
2003 Nov 30
1
Escape optimization
Hello,
I'm using optim and I'd like to know if there is a way to escape the
optimization process at a given time (for example by pressing some sequence
on the keyboard) while retaining the optimization results achieved.
I found this very useful using the Aptech GAUSS optimization module.
Thanks
Paolo
2006 Aug 06
1
How to use omega to search remote back end?
Folks,
Having trouble getting this to work. OMEGA cgi is not reading my stub file properly because it is trying to read it as a directory instead of a file. Is there an easy fix? Here is a transcript.
Thanks,
OSC
oscar@epsilon:/svr/xapian/beta$ ls -aFl
total 21335200
drwxr-xr-x 2 oscar oscar 4096 Aug 6 10:15 ./
drwxr-xr-x 5 oscar oscar 4096 Aug 6 12:59 ../
lrwxrwxrwx 1 oscar
2002 Jul 24
3
as.numeric
Why is as.numeric("3/2") NA plus a warning?
Thanks,
Mike.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
2006 Oct 27
2
qplot of ggplot package how to plot different size according to the values and not to the weights?
I have the following Data structure
$ step45 : Factor w/ 2 levels
$ obserror : num 6.2 6.2 5.6 6.6 6.6 ...
$ Mon : num 2.2 2.0 1.0 3.2 2.0 ...
$ inc.comp : num 4 5 2 5 5 5 5 5 4 4 ...
all I wanted to do is plotting Mon against obserror, the colors should
be by step45 and the size of the symbol should be according to inc.comp
so I did this:
2004 Mar 26
1
nmbd dying
nmbd has been dying on me occasionally. I'm running mandrake 9.2 with
samba3-server-3.0.0-2mdk. We've got our users in ldap but I'd seen this
symptom previously when I was using an earlier version of samba that didn't
support ldap. There is nothing useful in the logs and a PS shows a nmb
process still running.
This last time around, I had a ptrace running on both nmbd
2007 Jul 09
4
Problems sending more than 2 SMS with asterisk / smsq
When i send more than one messages shortly after the other, my log
(/var/spool/asterisk/sms ) looks like this
and only two of four messages arrive.
What am i doing wrong ?
I am using an AVM B1 PCI with chan-capi and 1.4.4.
and also, when sending with smsq -x only two of the messages are handled.
(i thought, asterisk itself handles the queues ? )
Here the log:
2007-07-09T15:04:14 YOM04 0 -
2002 Jan 17
1
MKL seems to beat ATLAS, but some problems... (was RE: li nkin g R against MKL)
Prof. Ripley,
> From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
[snipped...]
> R cannot currently make use of anyone else's LAPACK routines (because
> we've found too many problems with them).
>
> If you are getting no useful diagnostics, try
> dyn.load("RHOME/modules/lapack.so"). That ought to tell you
> why you can't
> load it. My
2002 Jan 17
1
MKL seems to beat ATLAS, but some problems... (was RE: li nkin g R against MKL)
Prof. Ripley,
> From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
[snipped...]
> R cannot currently make use of anyone else's LAPACK routines (because
> we've found too many problems with them).
>
> If you are getting no useful diagnostics, try
> dyn.load("RHOME/modules/lapack.so"). That ought to tell you
> why you can't
> load it. My
2003 Feb 26
2
SCO OpenServer 5.0.6a and missing libncurses.so.4
I've downloaded Samba 2.2.6 (binaries) from SCOs Skunkware site, but
when I try and run smbclient I get a message :
dynamic linker : smbclient : error opening /usr/local/lib/libncurses.so.4
Killed
I've checked and there is no libncurses.so.4 (or
libncurses.<anything> for that matter) on the system. I've also
failed to find anything relevant in either the list archive or SCOs
1998 Oct 07
2
R-beta: compiling R on RedHat 5.1
[accidentally was sent to the R-help-owner only; MM]
** when I compile R-0.62.3 on RedHat 5.1, the following messages
appear:
...
f77 -export-dynamic -o R.binary ...
../lib/libunix.a(dataentry.o): In function `NextEvent':
/home/ming/R-0.62.3/src/unix/dataentry.c:1286: undefined reference to `XNextEvent'
../lib/libunix.a(dataentry.o): In function `GetKey':
2000 Jan 20
1
installing R on slackware linux, another route
I have been reading the archives of this list and
noticed a post from Murray Jorgensen asking about how
to install R under slackware.
The replies were all to the effect that he should
compile from the source.
There is another path that is better for some
purposes.
Download the red hat binary package, the .rpm file,
then run rpm2targz on it, a slackware program designed
to convert rpm packages
2003 Feb 27
1
R problems
Hi.
I have an ibook G3/800 running 10.2.4, with Mac's X11.
Up until a few days ago, R was working fine but recently it stopped working.
The error I get is:
dyld: /usr/local/lib/R/bin/R.bin version mismatch for library:
/usr/lib/libncurses.5.dylib (compatibility version of user: 6.0.0
greater than library's version: 5.0.0)
Trace/BPT trap
which seems to imply that it wants a higher
2003 Apr 11
1
make buildworld error - 4.8-STABLE
Below is from make buildworld output on FreeBSD cvsup'd to RELENG_4 (so
4.8-STABLE) on the following hardware:
Intel SHG2 Hodges Dual Xeon board
2 x Intel Xeon 2.4Ghz (512k)
2 x 512MB PC-2100 266Mhz ECC DDR
Seagate 36GB 10K U320 LC SCSI
Adaptec SCSI Raid 2000s 48MB SDRAM
Intel Hudson 3 SC5200 base w 450W
Any suggestions?
Cheers,
Carl.
<snip>
cc -o make_keys -O -pipe -I.
2002 Oct 22
2
rpm -i samba-2.2.6-1.i386.rpm
hi there
how can i resolve this problem
regards
[root@link root]# rpm -i samba-2.2.6-1.i386.rpm
error: failed dependencies:
libncurses.so.4 is needed by samba-2.2.6-1
libreadline.so.3 is needed by samba-2.2.6-1
[root@link root]#
-------------- next part --------------
HTML attachment scrubbed and removed
2001 Jun 18
2
Client protocol error:(nil): lseek: Illegal seek
now that i have wineX compiling from cvs when i try to run wine i get:
Client protocol error:(nil): lseek: Illegal seek
even if i try wine --help here is the strace if its anyhelp
execve("/usr/bin/wine", ["wine"], [/* 25 vars */]) = 0
uname({sys="Linux", node="fnord-rides-again", ...}) = 0
brk(0) = 0x804c47c
mmap(0, 4096,
1999 Jan 30
3
installing R under RH Linux 5.2
I am trying to install R under Red Hat Linux 5.2, but the
following error happens:
[root at edgeworth cribari]# rpm -ivh R-base-0.63.2-1.i386.rpm failed
dependencies: libncurses.so.3.0 is needed by R-base-0.63.2-1
I must be missing something very simple. I would appreciate
any guidance. Thanks. FC.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help
2013 May 03
2
[samba4] Build requires libncurses-dev
I tried building the latest master from git on debian wheezy.
It seems to require libncurses-dev.
I thought to add it into the wiki as a required package to install, but it
seems one needs to ask for a login to the wiki. No prob ;)
Could someone add it to the wiki? Or is this an unintentional dependency
that will be removed?
--
Michael De Groote
ICT-coordinator Sint-Pietersschool Korbeek-Lo