search for: howmany

Displaying 20 results from an estimated 68 matches for "howmany".

2009 Mar 10
6
Pseudo-random numbers between two numbers
I would like to generate pseudo-random numbers between two numbers using R, up to a given distribution, for instance, rnorm. That is something like rnorm(HowMany,Min,Max,mean,sd) over rnorm(HowMany,mean,sd). I am wondering if dnorm(runif(HowMany, Min, Max), mean, sd) is good. Any idea? Thanks. -james
2013 Apr 04
15
[Bug 2085] New: fd_mask and howmany are not defined in Android
https://bugzilla.mindrot.org/show_bug.cgi?id=2085 Bug ID: 2085 Summary: fd_mask and howmany are not defined in Android Classification: Unclassified Product: Portable OpenSSH Version: 6.2p1 Hardware: All OS: Linux Status: NEW Severity: minor Priority: P5 Component: Build system Assignee:...
2001 Jul 27
0
openssh-2.9p2 compilation on LynxOS
.../log.c(385): undefined reference to `closelog' ./libssh.a(cipher.o): In function `cipher_by_name': /openssh/openssh-2.9p2/cipher.c(440): undefined reference to `strcasecmp' ./libssh.a(packet.o): In function `packet_read': /openssh/openssh-2.9p2/packet.c(692): undefined reference to `howmany' /openssh/openssh-2.9p2/packet.c(717): undefined reference to `howmany' ./libssh.a(packet.o): In function `packet_write_wait': /openssh/openssh-2.9p2/packet.c(1216): undefined reference to `howmany' /openssh/openssh-2.9p2/packet.c(1220): undefined reference to `howmany' ./libssh...
2000 Jan 17
5
AANOUNCE: openssh-1.2.1pre27
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A couple of silly errors, and one dangerous bug were in the pre26 release. This release corrects them. http://violet.ibs.com.au/openssh/files/openssh-1.2.1pre27.tar.gz If you want RPMs or any of the other files, please use a mirror: http://violet.ibs.com.au/openssh/files/MIRRORS.html Changes: - Using __snprintf is *NOT SAFE* on old Solaris.
2000 Jan 17
5
AANOUNCE: openssh-1.2.1pre27
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A couple of silly errors, and one dangerous bug were in the pre26 release. This release corrects them. http://violet.ibs.com.au/openssh/files/openssh-1.2.1pre27.tar.gz If you want RPMs or any of the other files, please use a mirror: http://violet.ibs.com.au/openssh/files/MIRRORS.html Changes: - Using __snprintf is *NOT SAFE* on old Solaris.
2005 Dec 08
3
Finding all possible partitions of N units into k classes
Dear useRs! I would like to generate a list of all possible (unique) partitions of N units into k classes. For example, all possible partitions of 4 units into 2 classes are (I hope I have not missed anyone): 1,1,1,2 (this can be read as {1,2,3},{4}) 1,1,2,1 1,2,1,1 2,1,1,1 1,1,2,2 1,2,1,2 1,2,2,1 The partitions 1,1,2,2 and 2,2,1,1 are the same and are therefore not two unique
2008 Mar 26
3
Loop problem
Dear all, I have a problem with a loop, if anyone has any knowledge on these things I would appreciate some comments. The code below is designed to allow me to extract the top record of the data frame, and them remove rows from the data frame which have an index close to the extracted top record. topstorm<-subset(rankeddataset[1,]) ## Extracts the top storm
2004 Mar 23
2
A question on Compilation errors...
....c(723): undefined reference to `strcasecmp' /openssh-3.8p1/readconf.c(725): undefined reference to `strcasecmp' /openssh-3.8p1/readconf.c(727): undefined reference to `strcasecmp' sshconnect.o: In function `timeout_connect': /openssh-3.8p1/sshconnect.c(243): undefined reference to `howmany' sshconnect.o: In function `ssh_connect': /openssh-3.8p1/sshconnect.c(330): undefined reference to `getservbyname' sshconnect.o: In function `confirm': /openssh-3.8p1/sshconnect.c(545): undefined reference to `strncasecmp' /openssh-3.8p1/sshconnect.c(549): undefined reference to...
2014 Sep 12
2
[Bug 2274] New: Build fixes for musl libc
...y: P5 Component: Miscellaneous Assignee: unassigned-bugs at mindrot.org Reporter: maarten at treewalker.org Created attachment 2472 --> https://bugzilla.mindrot.org/attachment.cgi?id=2472&action=edit Add #include <sys/param.h> in source files using "howmany" When compiling with musl libc, the configure script finds the presence of the "howmany" macro, which musl defines in <sys/param.h>. However, only some of the sources using "howmany" actually include that header. Attached is a patch to add the necessary #includes....
2010 Sep 07
1
problems with siar package
...41cc, cause 'memory not mapped' Traceback: 1: .C("siarmcmcv4", as.integer(numdata), as.integer(numsources), as.integer(numiso), as.integer(numgroups), as.integer(startgroup), as.integer(endgroup), as.integer(siardata$iterations), as.integer(siardata$burnin), as.integer(siardata$howmany), as.integer(siardata$thinby), as.double(prior), as.data.frame(data2), as.data.frame(concdepdata), as.data.frame(sourcedata), as.data.frame(correctionsdata), as.data.frame(parameters)) 2: siarmcmcdirichletv4(target, source, fraction, iterations = 5e+05, burnin = 1e+05, howmany = 2000, thinby = 10)...
2009 Jan 02
1
R: numerical integration problems
...====================================== P(300) $correct [1] 22.59924 $App.2 [1] NaN $App.trans [1] 18.85405 $App.gq [1] 22.59924 #========================================= P(500) Error in integrate(num., 0, Inf) : non-finite function value The code is included below: P=function(n=1,howmany=500) { #you do need to have stamod #howmany is used to set the number of points used for the gaussian quadriture set.seed(1) sigma=5 x=rnorm(n)*sigma a=5 b=5 #the correct expectation #=========================================================== correct=(b+sum(x^2)*.5)/(.5*n+a...
2004 Apr 22
1
Selection of cities sample
Hi, I have a question, how to most properly select set of cities which would be as similar as possible in some particular variables with the City of Boston (which I use as my base line). I thought about ordering cities by sum of ((differences between value of that particular variable for that particular city and the value of same variable for Boston) divided by the standard deviation of the
2000 Sep 12
0
OpenSSH 2.2.0p1 port to QNX 4
Dear OpenSSH porting developers, finally I succeded in porting OpenSSH to QNX 4. To get things going I had to take over some definitions from Linux' include files, since they are not available under QNX (e.g. the howmany makro, NFDBITS, the lastlog structure). With this email I send a patch with all my changes as well as the file "qnx-term.h" which I created because IXANY and ONLCR are not supported under QNX. Please include my changes into the OpenSSH portable distribution to allow others to install...
2001 Aug 20
1
Idletimeout patch, third attempt
...packet data. */ @@ -708,20 +790,21 @@ /* If we got a packet, return it. */ if (type != SSH_MSG_NONE) { xfree(setp); + idletimeout_check(type); return type; } /* * Otherwise, wait for some data to arrive, add it to the * buffer, and try again. */ - memset(setp, 0, howmany(connection_in + 1, NFDBITS) * - sizeof(fd_mask)); - FD_SET(connection_in, setp); - - /* Wait for some data to arrive. */ - while (select(connection_in + 1, setp, NULL, NULL, NULL) == -1 && - (errno == EAGAIN || errno == EINTR)) - ; + do { + memset(setp, 0, howman...
2012 May 15
2
pass objects into "..." (dot dot dot)
Hello, Thanks in advance for any help! How do I pass an unknown number of objects into the "..." (dot dot dot) parameter? Put another way, is there some standard way to pass multiple objects into "..." to "fool" the function into thinking the objects are passed in separately/explicitly with common separation (like "x,y,z" when x, y and z are objects to be
2013 May 05
2
custom function that plots other functions- problem
...range,quality){ x<- seq(range[1],range[2], quality); y<- f(x); plot(x,y); } mp(sin, c(0,2*pi), .02); but I encountered some problems while trying to provide more than one- the following structure generates mistakes: plotter<- function(f,howmany,range,quality){ x<-seq(range[1],range[2],quality) y<- matrix(f,how_many) plot(x,y[1,]) for(i in 2:how_many){ lines(x,y[i,]) } } plotter<-(c(sin(x),cos(x)),2,c(0,2*pi),.02) I would really appreciate your help with this program. Regards, Bartek [[alternative HTML...
2009 Oct 06
2
Problem with na.omit when using length()
...0 24 24 0 0 25 25 0 0 26 26 0 0 27 27 0 0 29 29 0 0 31 31 0 0 33 33 0 0 34 34 0 0 1 1 0 1 4 4 0 1 9 9 0 NA 13 13 0 NA 23 23 0 NA 28 28 0 NA 30 30 0 NA 19 19 1 0 2 2 1 1 5 5 1 1 6 6 1 1 15 15 1 1 18 18 1 1 32 32 1 1 16 16 1 NA #Now I wish to count howmany records have a=1 AND b=0. From the lower section of that sorted dataframe we see the answer is 1 (record # 19). But instead I'm seeing 2. Probably counting record # 16 also. > na.omit(length(sno[a==1 & b==0])) [1] 2 I'd be grateful to anyone who can point out what I'm doing...
2006 Sep 11
1
plotting curves
...he the original graphs I'm looking at were produced with specialized software (Delta Graph), and although I can reproduce it almost exactly with R, the only difference is in the actual display of the curves I've plotted. I've noticed that in R all curves are pixelated, regardless of howmany points I use. Is there anything I can do to smoothen these graphs so that they are no longer pixelated? I've tried saving it as a metafile, postcript, etc., and although the I've been able to increase the resolution, I haven't been able to fix the pixelation. Thanks for your help,...
2001 Jul 17
1
openssh and QNX
Hi. I have compiled openssh on QNX RTP 6.1, "x86-pc-nto-qnx". Some things to note if anyone should want to update configure and include support for this platform: * The enthropy device is normally /dev/random * INTXX and other similar types are in <stdint.h> * macro howmany, constant NFDBITS and type fd_mask need to be defined. How this can be done has been discussed earlier on this list. * USE_PIPES needs to be defined - socketpair() doesn't seem to be implemented yet. * file /usr/adm/lastlog needs to be created, if it hasn't been already - touch is suffici...
2010 Nov 23
2
[Bug 1213] ssh-keyscan exits in mid-way
https://bugzilla.mindrot.org/show_bug.cgi?id=1213 --- Comment #3 from aab at purdue.edu 2010-11-23 12:00:50 EST --- Created attachment 1961 --> https://bugzilla.mindrot.org/attachment.cgi?id=1961 One attempt at getting the rsa key from a remote server that was having a number of problems. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving