Displaying 20 results from an estimated 1000 matches similar to: "Rcpp and mclapply"
2023 Dec 23
1
ssh-keygen generator 3 broken.
Hello, I was re-generating the moduli for SSH, and during that process I noticed that, when running the following command:
ssh-keygen -M screen -O prime-tests=600 -O generator=3 -f moduli-2048-01.candidates moduli-2048-01c
It does not produce any errors, only the following:
ebug2: ???1467763: (4) Sophie-Germain
debug2: ???1467763: generator 0 != 3
debug2: ???1467764: (4) Sophie-Germain
2009 Apr 21
1
how to inspect content of save file
Is there a way of listing the variables contained in a file created
with the save() command other than load()ing the file?
I have a couple of rather larger files that I would rather not load ...
Benno Pütz
MPI of Psychiatry Tel: +49+(0)89-30622 222
Kraepelinstr. 2 Fax: +49+(0)89-30622 601
80804 Munich, Germany puetz@mpipsykl.mpg.de
[[alternative HTML
2003 Oct 22
2
non linear regression with R
Dear Colleagues,
I have x, y data (pollen and seed dispersal from oaks !) that I would
like to fit with a function which look like this:
p(a,b,x,y)=b/(2*pi*a?gamma(2/b))*exp(-(square_root(x?+y?)/a)power(b))
I am looking for a and b values that fit my data at best.
Can someone give me hints to perform such an analysis with R ?
Thanks a lot
Sophie
Sophie Gerber
2006 Sep 08
2
Multiple matrix multiplication with two 3-dimensional arrays
Hi,
I need to do several matrix multiplications with
the corresponding matrices forming two
3-dimentional arrays. To illustrate my problem,
let's say I have the following 3-dimensional arrays:
array1 <- array(1:30,dim=c(3,2,5))
array2 <- array(1:20,dim=c(2,2,5))
I know that I can get what I want with the following computation :
result <- array(dim=c(dim(array1)[1],
2018 May 24
2
question on setting ulimit on debian
Hi,
I?ve been trying to increase the number of open files for the dovecot user on Debian 9 and have so far, failed! I?ve tried this:
# cat /etc/security/limits.d/limits_dovecot.conf
dovecot soft nofile 2048
dovecot hard nofile 8192
# cat /etc/systemd/system/dovecot.service.d/service.conf
LimitNOFILE=8192
But to no avail:
# prlimit -p 27208|grep -i
2017 Jun 05
4
10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u
# doveconf -a
# 2.2.13: /etc/dovecot/dovecot.conf
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 6: Unknown setting: ssl
doveconf: Error: managesieve-login: dump-capability process returned 89
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-master.conf line 35: Invalid size: $default_vsz_limit
# grep default_vsz_limit
2005 Mar 31
2
Using kmeans given cluster centroids and data with NAs
Hello,
I have used the functions agnes and cutree to cluster my data (4977
objects x 22 variables) into 8 clusters. I would like to refine the
solution using a k-means or similar algorithm, setting the initial
cluster centres as the group means from agnes. However my data matrix
has NA's in it and the function kmeans does not appear to accept this?
> dim(centres)
[1] 8 22
> dim(data)
2004 Aug 13
2
Problem with samba and sophie
Hello,
I'm using Sambsa 2.28 and I've just installed Sophos anti-virus and
sophie 3.04rc2.
If I run sophie standalone to scan a directory/folder it all runs ok, as
it also does in daemon mode.
I've changed my smb.conf file to specify
vfs option=/usr/lib/samba/vscan-sophos.so
When I access the share I receive the following in the syslog:
samba smbd_vscan_sophos[6649]: ERROR:
2017 Jun 05
2
10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u
Sophie
( ?? ?? ??)
> On 5 Jun 2017, at 09:42, Matthias Sitte <matthias at familie-sitte.org> wrote:
>
> I have the feeling that the config file is incorrect and loading
> subsequent files results in reading in entries at the wrong level?
>
> Could you attach the full 10-master.conf?
>
> Matthias
>
>
> On 06/05/2017 09:30 AM, Sophie Loewenthal wrote:
2017 Jun 05
2
10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u
Can you create file /etc/dovecot/conf.d/10-ssl.conf
and type in 'ssl = yes'
and nothing else? does it work after this? leave the default_vsz_limit
off for now.
Aki
On 05.06.2017 10:34, Aki Tuomi wrote:
> Can you remove the offending settings, and then send it?
>
> Aki
>
>
> On 05.06.2017 10:30, Sophie Loewenthal wrote:
>> # doveconf -a
>> # 2.2.13:
2006 Jan 20
3
Troubles with the function rmultinom.c of the R's Random Number Generator
Hi,
I'm simulating a Markov chain in Fortran interfaced with R-2.2.1 in order
to generate data according to a Markov Random Field called the Potts model.
R Version:
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 2
minor 2.1
year 2005
month 12
day 20
svn rev 36812
Each loop of my Fortran calls the function rmultinom.c
2017 Jun 05
2
10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u
Hi Aki,
# dovecot --build-options
Build options: ioloop=epoll notify=inotify ipv6 openssl io_block_size=8192
Mail storages: shared mdbox sdbox maildir mbox cydir imapc pop3c raw fail
SQL driver plugins: mysql postgresql sqlite
Passdb: checkpassword ldap pam passwd passwd-file shadow sql
Userdb: checkpassword ldap(plugin) nss passwd prefetch passwd-file sql
--
On June 5, 2017 8:59:08 AM
2013 Jun 15
2
quick Help needed
Hi,
i am new to this forum and not sure how it works,
I am trying to do deskriptive descripe my data in terms of gender:
head(scltotal)
pbnr dat dep dys sop ago mis age female messpunkt2
messpunkt1 tage eintrittsjahr
1 10023 1994-02-21 0.75 1.00 0.50 0.50 0.75 35 1 8817
8817 0 1994
2 10023 1994-05-25 0.75 1.00 0.50 0.50 0.75 35 1 8910
8817
2017 Jun 04
2
10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u
Hi Stefan,
My apologies for the long delay. Been ill.
I tried this and had an error,
# mv /etc/dovecot/conf.d/10-ssl.conf /etc/dovecot/conf.d/10-ssl.conf.bak
# cp -p /usr/share/dovecot/conf.d/10-ssl.conf /etc/dovecot/conf.d/
# /etc/init.d/dovecot restart
/var/log/daemon.log
Jun 4 11:05:55 mail systemd[1]: Starting Dovecot IMAP/POP3 email server...
Jun 4 11:05:55 mail systemd[1]: Started
2023 May 16
1
mclapply enters into an infinite loop....
Dear members,
I am using arfima in an mclapply construction (from the parallel package):
Browse[2]> LYG <- mclapply(LYGH, FUN = arfima, mc.cores = detectCores())
^C
Browse[2]> LYG <- mclapply(LYGH[1:10], FUN = arfima, mc.cores = detectCores())
^C
Browse[2]> LYG <- mclapply(LYGH[1:2], FUN = arfima, mc.cores = detectCores())
^C
You can see that I am
2012 Dec 13
1
possible bug in function 'mclapply' of package parallel
Dear parallel users and developers,
I might have encountered a bug in the function 'mclapply' of package
'parallel'. I construct a matrix using the same input data and code with a
single difference: Once I use mclapply and the other time lapply.
Shockingly the result is NOT the same.
To evaluate please unpack the attached archive and execute
Rscript mclapply_test.R
I put the
2023 May 17
1
mclapply enters into an infinite loop....
Dear Jeff,
There was a problem in LYGH and lapply threw an error, but mclapply got stuck in an infinite loop. The doc for mclapply says that mclapply runs under try() with silent = TRUE. So that means mclapply should run properly, i.e output a try class object and exit. But it didn't. Can you shed some light on why this happened?
THanking you,
Yours sincerely,
AKSHAY M
2015 Jul 24
1
Memory limitations for parallel::mclapply
Hello,
I have been having issues using parallel::mclapply in a memory-efficient
way and would like some guidance. I am using a 40 core machine with 96 GB
of RAM. I've tried to run mclapply with 20, 30, and 40 mc.cores and it has
practically brought the machine to a standstill each time to the point
where I do a hard reset.
When running mclapply with 10 mc.cores, I can see that each process
2014 Jun 29
0
[patch] Fix n arg in mclapply call to ngettext
Regarding the following code,
warning(sprintf(ngettext(has.errors,
"scheduled core %s encountered error in user code, all values of
the job will be affected",
"scheduled cores %s encountered errors in user code, all values
of the jobs will be affected"),
paste(has.errors, collapse = ", ")),
domain = NA)
has.errors is a vector whose elements are the
2012 Nov 04
0
parallel::mclapply list coercion limits opportunities for code re-use?
The attached diff address the following issues in mclapply
mclapply coerces non-lists or objects (S3 or S4) to lists, but a list may not be
an efficient representation and is not required if the object implements length,
[, and [[ methods (lapply must also work on the object, either through coercion
to a list at the 'inner.do' level or through other means, e.g., promoting lapply
to a