Displaying 20 results from an estimated 4000 matches similar to: "sample function"
2003 Apr 10
6
Transforming matrix
hi everybody,
anyone knows how we can transform a binary matrix with TRUE and FALSE to 0 and 1 without looping?
Thx
---------------------------------
[[alternate HTML version deleted]]
2003 Apr 10
2
New problem
Hi all, and thx a lot for your answers,
in fact i know that R deals with logical numbers 0 and 1 the same way like TRUE and FALSE but my problem is in fact with C language.
I have done an interface with C and my first problem was with float variables, but this warning doesn't appear everytime and really i don't know the problem with R:
"Warning message:
DLL attempted to change
2003 Jun 23
2
Problem with installation under R 1.7.1 and unzip
Dear all,
i was working under R 1.6.2 but i wanted to install bioconductor under WinXP, and because R 1.7.1 contains the TclTk package and automatic installation of bioconductor packages, so i install it.
Everything is fine except this message which appear after the installation of packages.
"> local({a<- CRAN.packages(CRAN=getOption("BIOC"))
+
2005 Jul 24
1
cvs commit: src/games/fortune/fortune fortune.c
On Sun, Jul 24, 2005 at 04:06:02PM +0200, Poul-Henning Kamp wrote:
+> In message <20050724135738.GM46538@darkness.comp.waw.pl>, Pawel Jakub Dawidek writes:
+>
+> >We should probably test entropy quality on boot.
+> >I've somewhere userland version of /sys/dev/rndtest/ which implements
+> >FIPS140-2 tests for (P)RNGs. We can use put it into rc.d/ and warn users.
2003 Sep 18
2
[Fwd: Re: FreeBSD Security Advisory FreeBSD-SA-03:12.openssh]
Roger Marquis wrote:
> [snip]
>
>It takes all of 2 seconds to generate a ssh 2 new session on a
>500Mhz cpu (causing less than 20% utilization). Considering that
>99% of even the most heavily loaded servers have more than enough
>cpu for this task I don't really see it as an issue.
>
>Also, by generating a different key for each session you get better
>entropy,
2011 Feb 02
4
testing randomness of random number generators with student t-test?
Hi, subject more or less says it all.
I freely admit to not having bothered to find some of the online papers
about method of testing the quality of random number generators -- but
in an idle moment I wondered what to expect from something like the
following:
randa<-runif(1000)
randb<-runif(1000)
t.test(randa,randb)$p.value
var.test(randa,randb)$p.value
[repeat ad nauseum]
Is the
1998 Nov 04
1
RNG
On r-help Bill Simpson wrote:
>Marsaglia's multiply-with-carry generator is very easy to implement--he
>has posted some C code to newsgroups--and seems to test out OK. I wonder
>if it would make sense to use one of his generators instead.
I would like a system where the random number generator can be specified
(perhaps in options or a .RandomGenerator variable). Most often everyone
2004 Nov 09
1
email result as attachement
Hi,
I??d like to know if it's possible to mail a file (image generated with R) in
attachments a similar to bug.report
Thanks in advance.
TEMANNI Ramzi
PhD Student
Lim&Bio
http://www.limbio-paris13.org
UFR de Sant??, M??decine et Biologie Humaine (SMBH)
L??onard de Vinci 74, rue Marcel Cachin
93017 Bobigny Cedex
France.
T??l : 01.48.38.73.07
T??l : 06.21.43.27.59
temanni.ramzi at free.fr
2000 Jan 27
6
EGD requirement a show stopper for me
On Thu, Jan 13, 2000 at 17:34:10, Andre Lucas wrote:
> Subject: /dev/urandom
> On Thu, Jan 13, 2000 at 09:24:01AM -0700, SysProg - Nathan Paul Simons wrote:
> > On Thu, 13 Jan 2000, Ben Taylor wrote:
> >
> > > On Thu, 13 Jan 2000, Max Shaposhnikov wrote:
> > > > why ssh1.27 doesn't requre /dev/urandom on solaris?
> >
> > i think the
2007 Mar 01
4
R File IO Slow?
Is R file IO slow in general or am I missing
something? It takes me 5 minutes to do a load(MYFILE)
where MYFILE is a 27 MB Rdata file. Is there any way
to speed this up?
The one idea I have is having R call a C or Perl
routine, reading the file in that language, converting
the data in to R objects, then sending them back into
R. This is more work that I want to do, however, in
loading Rdata
2002 Oct 10
2
Samba+MYOB
Hello all,
We are experiencing problems using MYOB Premier V6.0.2 on Windows 2000
computers SP3, with the data file residing on shared drive on Linux (Redhat
7.2) file server running Samba Version 2.2.1a and kernel 2.4.9-34.
The MYOB Tech support have told me that it is a problem with our network but
could not give me any hints where the problem might be.
The MYOB database has been corrupted
2011 Jul 07
2
How do I overlay two trellis plots of lme fitted lines produced by plot.augPred?
Hello,
I want to use lme to fit two (or more) models, and then compare the fits
on each individual. I know how to write my own code to do this (for each
individual, plot the raw data, followed by lines() to plot each fitted
curve) but I would like to use plot(augPred(... as it produces a nice
trellis plot. I thought I could do this with par(new=T) but it does not
seem to work.
2003 Jun 27
1
R-help Digest, Vol 4, Issue 27 ( -Reply)
Hi,
I am out of town and will get back to you on the 13th of July.
Leo
>>> "r-help at stat.math.ethz.ch" 06/27/03 00:32 >>>
Send R-help mailing list submissions to
r-help at stat.math.ethz.ch
To subscribe or unsubscribe via the World Wide Web, visit
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
or, via email, send a message with subject or body
2004 Aug 24
2
stem() bug?
Is the following a bug with stem() or is there something else that I am
missing? I ran stem() on the vector x below and got stem(x-10) instead of
stem(x). If I subtract 1 from x, I get a correct answer. If I add 1 to x, I
still get a wrong answer. If I add 10 to x, I get a correct answer. I'm not
sure what to make of this, other than to think it is a bug.
Can anyone tell me if this is a bug?
2004 May 11
2
bilinear and non linear
Dear all,
there are R packages able to simulate or estimate bilinear model for time
series?
I know it is an open problem, but do exist something for very simplified
bilinear models?
Alternatively, what kinfd of non linear time series models are performed
in R?
If R is not able, could someone suggest me for some commercial softwares
to deal with bilinear models?
i'm afraid of a negative
2018 Jan 12
4
application of R
Thank you very much this really helped me a lot .
So actually why would people learn R(other than personal interests ) if you can't really build anything that can be sold ? I'm sorry if I'm asking bad questions
> On 12 Jan 2018, at 4:43 AM, Marc Schwartz <marc_schwartz at me.com> wrote:
>
>
>
>> On Jan 11, 2018, at 2:15 PM, muhammad ramzi <mramzi43 at
2004 Apr 19
1
solve 2 var problem
Hi
I'm getting started with R and i have difficulties finding how to solve this
problem in R :
Find x,y satisfying
Trace(K) < C,
K positive where ( K=x.A+y.B),
[A,B,K square Matrix in R(n x n), x,y in R]
Thanks in advance,
Ramzi
[[alternative HTML version deleted]]
2018 Jan 12
0
application of R
Because many technical people need to accomplish statistical data analysis with computers that depend on existing algorithms applied in new ways, or with new algorithms that are not implemented by commercial software. Often such people have no desire to provide step-by-step support of their tools for every user of their code indefinitely, so developing commercial software for others is less
2011 Jul 04
1
writeLines + foreach/doMC
Hi
I'm processing sequencing data trying to collapsing the locations of each
unique sequence and write the results to a file (as storing that in a table
will require 10GB mem at least)
so I wrote a function that, given a sequence id, provide the needed line to
be stored
library(doMC) # load library
registerDoMC(12) # assign the Number of CPU
2000 Sep 27
4
Irix: PRNG initialization failed
Hello all,
I tried OpenSSH versions 2.1.1p4, 2.2.0p1 and the latest snapshot briefly
on 64-bit Irix 6.5.7f an 6.5.9m.
Both times, no matter what I do, I'll get 'PRNG initialization failed
-- exiting'. This happens with ssh-keygen (the keys aren't even generated
yet, ssh binary etc.)
It's clear that Irix etc. don't have a proper entropy pool like *BSD and
Linux do, but