similar to: R-alpha: lbeta, ctrl-C and crashes

Displaying 20 results from an estimated 1000 matches similar to: "R-alpha: lbeta, ctrl-C and crashes"

1997 Jul 09
1
R-beta: Problem with `rpois'
There is a problem with `rpois'. It does seem to take care about the order of the arguments. This is an example: > rpois(n=1,lambda=2) [1] 3 > rpois(lambda=2,n=1) [1] 2 0 It obviously uses the first argument as the number of samples to be drawn, which is wrong. I used Version 0.49 Beta (April 23, 1997). Fredrik
1997 Jul 09
1
R-beta: Problem with `rpois'
There is a problem with `rpois'. It does seem to take care about the order of the arguments. This is an example: > rpois(n=1,lambda=2) [1] 3 > rpois(lambda=2,n=1) [1] 2 0 It obviously uses the first argument as the number of samples to be drawn, which is wrong. I used Version 0.49 Beta (April 23, 1997). Fredrik
1997 May 05
0
R-beta: R 0.49 -- "funny" bug: beta(.) gives lbeta(.); lbeta(a,b) gives a
[I send this to R-help, since the bug may affect users..] The beta(.) and ln(beta(..)) functions are not giving proper results in R-0.49. This does NOT affect usual beta-distribution calculations, since the internal beta(.) and lbeta(.) are okay. beta(1,2) [1] -0.6931472 exp(beta(1,2)) [1] 0.5 lbeta(3,4) [1] 3 ------- For R-devel'ers : Using gdb clearly shows that beta(.) really
2006 Jan 17
1
how can i locate the source code of a module quickly?
I have dowloaded the Source Code of R,and I want to know the process of chi-sqared test,but how can I found it? [[alternative HTML version deleted]]
2010 Aug 03
2
incorrect number of dimensions
Hi, How to solve this problem. The following is the code. betabinexch0=function(theta,data) + { + eta=theta[,1] + K=theta[,2] + y=data[,1]; n=data[,2] + N=length(y) + val=0*K; + for (i in 1:N) + val=val+lbeta(K*eta+y[i],K*(1-eta)+n[i]-y[i]) + val=val-N*lbeta(K*eta,K*(1-eta)) + val=val-2*log(1+K)-log(eta)-log(1-eta) + return(val) + } > data(cancermortality) >
2012 Nov 22
1
Optimizing nested function with nlminb()
I am trying to optimize custom likelyhood with nlminb() Arguments h and f are meant to be fixed. example.R: compute.hyper.log.likelyhood <- function(a, h, f) { a1 <- a[1] a2 <- a[2] l <- 0.0 for (j in 1:length(f)) { l <- l + lbeta(a1 + f[j], a2 + h - f[j]) - lbeta(a1, a2) } return(l) } compute.optimal.hyper.params <- function(start, limits, h_, f_) { result
2008 Nov 03
4
wine hangs until ctrl - C is sent
Hello, I have a strange problem I have two applications called ADM and SGP When I start one or another it starts very fast, but the second hangs until I got to the terminal and I press crtl-c The message sent when i press ctrl-c is the following fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c000013a After that it starts working
2008 Aug 21
1
pnmath compilation failure; dylib issue?
(1) ...need to speed up a monte-carlo sampling...any suggestions about how I can get R to use all 8 cores of a mac pro would be most useful and very appreciated... (2) spent the last few hours trying to get pnmath to compile under os- x 10.5.4... using gcc version 4.2.1 (Apple Inc. build 5553) as downloaded from CRAN, xcode 3.0... ...xcode 3.1 installed over top of above after
1998 Mar 16
3
Amiga Samba file format?
Hi Amiga Samba users, I have an interesting problem using Samba (1.9.16) on the Amiga. Everthing works fine for PC reads from the Amiga to the PC or dag-and-dropped onto Unix shares (which also using Samba). However, in the other direction (i.e. at PC GUI drag a Unix file from Unix share and drop it onto an Amiga share) this copy results in a file that my httpd on the Amiga can't read (in the
2011 Nov 18
2
round() ignores missing arguments if it is used inside another function where some arguments are missing.
I have stumbled across some behaviour in R that I really can't place, and that makes coding a bit tricky. I know that I can work around it when explicitly checking for missing arguments, but still... I have two functions. I have a first function based on paste ? ? fun1 <- function(x,y){ ? ? ? print(missing(y)) ? ? ? paste(x,'X',sep=y) ? ? } If I try this function without
1998 Apr 05
1
No subject
Hi, I am running Samba on an Amiga connected to a win95 network. It works just fine to browse around from explorer. But when I access the Amiga from an FTP-program all the Directorys on the Amiga shows up as plain files with the size 0(zero). I can not find anyplace to change it so that the Amiga shows it in a different way. Any suggestions? /Uwe Koch
1997 Dec 08
1
Samba - Amiga, smbclient recurs problem
Hi All, I'm an Amiga user of samba. All is well with server and client except recursive mput within smbclient. It transfers nothing, and reports no errors. Can anyone help? My samba version is 1.9.16p9. More detail: I started with BIN: pointing to amitcp:samba/bin in which I placed sh, as recommended. I found without recurs set that mput #? (or mput *) reported that it could not find ls
2024 Mar 05
2
Cannot Get Samba to Work Without Encrypted Password with Legacy Client
On Mon, 2024-03-04 at 20:10 -0500, Tygre via samba wrote: > Hi there, > I have looked for a solution to my problem on the Internet (and > in particular this mailing list), but couldn't find one, probably due > to searching for the wrong thing :-) > I have an RPI running Samba version 4.9.5-Debian. "pdbedit -L" > shows that the user "smbuser" exists. I
2004 Oct 06
4
Checking if an element is part of a vector
Hi! I want to know if a given element <- ('c64') is part of a vector<- ('c64', 'amiga', 'atari'). Does a function exist for this which gives back a logical value? thankx db
2024 Mar 05
1
Cannot Get Samba to Work Without Encrypted Password with Legacy Client
Hi there, I have looked for a solution to my problem on the Internet (and in particular this mailing list), but couldn't find one, probably due to searching for the wrong thing :-) I have an RPI running Samba version 4.9.5-Debian. "pdbedit -L" shows that the user "smbuser" exists. I used "smbpassword" to set the password of "smbuser". I also have
1997 Nov 06
1
Any Amiga Samba users?
I'm thinking of using Samba to allow my laptop 486 to access the CDrom, internet link and large hard disks in my Amiga. Does anyone know if this would be easy to do, and if it's possible to get Samba running using Miami? cheers, Evan.
2024 Mar 09
3
Cannot Get Samba to Work Without Encrypted Password with Legacy Client
Hi there, Sorry to come back to that, I tried to follow the code at https://github.com/samba-team/samba/blob/master/source3/auth/auth.c#L214 (and below) but I still can't understand why one Samba client can connect, but the other can't. I can't understand why, with one client, the code would go into "check_samsec.c:183" (and return "sam_account_ok") while, with
2011 Mar 18
1
[Patch suggestion] Adding 3rd arg to tempfile() to set extension
The other day I was working on an example which used tempfile() to create file for use by the graphics device. And while I love tempfile()---as it is portable and clever and the files get cleaned by R and all that---I noticed one missing feature I would like to see: beside a starting name pattern, and an optional directory, an 'file extension' argument would be nice to have. As e.g. in
2008 Jan 29
1
The standalone Rmath library and VC++ 2003
Linking my VC++ application with the standalone Rmath library yields the following; ------ Build started: Project: Complex plugin, Configuration: Debug Win32 ------ Linking... Creating library .\../Debug/complex_plugin.lib and object .\../Debug/complex_plugin.exp libRmath.a(mlutils.o) : warning LNK4217: locally defined symbol __iob imported in function _REprintf libRmath.a(dbeta.o) :
2024 Mar 10
1
Cannot Get Samba to Work Without Encrypted Password with Legacy Client
The logs below still look like Samba is configured for encrypted passwords. As to your other mail, please, please use a more recent version than Samba 4.9 Andrew Bartlett On Sat, 2024-03-09 at 15:37 -0500, Tygre via samba wrote: > Hi there, > Sorry to come back to that, I tried to follow the code at > https://github.com/samba-team/samba/blob/master/source3/auth/auth.c#L214 > (and