Displaying 20 results from an estimated 400 matches similar to: "Weird feature when creating function lists with apply"
2000 Dec 14
2
Accuracy problem in dchisq for non-central chi-squared
Hi,
I think I have identified a inaccuracy in dchisq when the non-centrality
parameter is non-zero and large. Here's a little test:
sys.dchisq.test <- function(N = 100000,mean = 0)
{
z <- rnorm(N,mean = mean, sd = 1)
x <- z^2
xmin <- min(x)
xmax <- max(x)
br <- seq(xmin,xmax,length = 101)
dbr <- br[2]-br[1]
hist(x,br)
p <- dchisq(br,df = 1,ncp =
2006 Feb 03
5
pbinom with size argument 0 (PR#8560)
Full_Name: Uffe H?gsbro Thygesen
Version: 2.2.0
OS: linux
Submission from: (NULL) (130.226.135.250)
Hello all.
pbinom(q=0,size=0,prob=0.5)
returns the value NaN. I had expected the result 1. In fact any value for q
seems to give an NaN. Note that
dbinom(x=0,size=0,prob=0.5)
returns the value 1.
Cheers,
Uffe
2006 Apr 17
2
Problem using plot and converted dates
Dear R-help,
I am having problems with plotting converted dates in chronological as Mar-03,
May-03...Jul-04.
My script is:
sam4<-c("03/03/01","03/05/01","03/07/01","03/09/01","03/11/01","04/01/01","04/03/01","04/05/01","04/07/01")
sam5<-strptime(sam4,format="%y/%m/%d")
2011 Apr 19
5
Running mailfront under dovecot2.x service supervision
Hello,
I'm trying to run mailfront SMTP (http://untroubled.org/mailfront/) under
Dovecot 2.x process/service supervision
My intention was to utilize the fact that dovecot2.x seems to have some kind
of generic process/service supervision as well as builtin ssl support.
But I cannot get the most simple generic service setup (without ssl) to
work.
Currently running dovecot 2.0.11 on FreeBSD
2017 Mar 23
5
Fatal EEPROM fault!
Hello,
Sorry if any of this is obvious - I'm new to NUT.
NUT via upsc is displaying (edited for length):
device.model: Eaton 5P 2200
device.type: ups
driver.name: usbhid-ups
ups.alarm: Fatal EEPROM fault!
ups.status: ALARM OL CHRG
ups.test.interval: 604800
ups.test.result: Done and passed
driver.version: 2.7.2
driver.version.data: MGE HID 1.33
driver.version.internal: 0.38
Is this possibly
2011 Apr 21
2
What is the recommended way to delete a message from a mailbox ?
Hi,
I'm implementing a shell-script (pseudo) solution to the missing IMAP Outbox
feature in Dovecot (Courier IMAP feature
http://www.inter7.com/courierimap/INSTALL.html#imapsend)
In order to remove the message from the Outbox once it is sent I have a
question:
What is the recommended way to delete a message from a mailbox (from an
"external" server side program - such as a shell
2009 Apr 16
2
there are fontencoding problem in Sweave
I want write article by russian language using Sweave. For cyrillic text
LaTeX use T2A encoding
\usepackage[T2A]{fontenc}
But in Sweave.sty we find:
\RequirePackage[T1]{fontenc}
It is source of critical problem.
For example Rnw file
$ cat estimation.Rnw
\documentclass[A4paper]{article}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian,english]{babel}
2011 Sep 27
1
Counting similar rows
Startsituation:
structure(c(1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1,
0, 1, 1), .Dim = 4:5, .Dimnames = structure(list(subject = c("s1",
"s2", "s3", "s4"), class = c("c1", "c2", "c3", "c4", "c5")), .Names =
c("subject",
"class")), class = c("xtabs",
2012 Jul 04
1
Suggestion / patch to support more Unicode characters in R CMD Rd2pdf
Hi list,
When using R CMD Rd2pdf, it is possible to set environment variable
RD2PDF_INPUTENC to value "inputenx" and enjoy better support for UTF-8
characters (see ?Rd2pdf). This enables LaTeX package "inputenx" instead
of "inputenc".
Even better support for UTF-8 encoded characters can be had by better
using the facilities provided by inputenx and making R CMD
2009 Oct 29
2
Makevars, cc files in multiple directories
Hello,
In the src folder of my R package I have
a.cc
b.cc
f/g/x.cc
my Makevars.in has
all: $(SHLIB)
upon installing only, a.o and b.o is build and the final dll is
comprised of a.o and b.o
How can I instruct $(SHLIB) to pick up its source files from all
subdirectories (or maybe a subset, though here it will be all)
in src ?
Much thanks
Saptarshi
2018 May 29
2
CentOS 7 issues with pdf manual / tex conversion
On 29 May 2018 at 16:37, R P Herrold wrote:
| On Tue, 29 May 2018, Dirk Eddelbuettel wrote:
|
| > On a CentOS 7 machine, I am at a loss with respect to an inability to run a
| > full R CMD check as anything involving tex files ends in tears.
|
| Hi, Dirk
|
| Have fun at the upcoming conference at UIC
|
| I seem to have 56 font packages installed under CentOS 7
| locally, but then I work
2015 Jan 08
2
latex warning
Dear all,
I am getting an R CMD check warning about the PDF manual. I am having a
hard time finding out what is wrong, here is the log of the Rd2pdf call.
The full check (and other) log is at
https://api.travis-ci.org/jobs/46373922/log.txt?deansi=true if anybody is
interested, and the package itself is here:
https://github.com/metacran/r-builder/tree/bintex/rbuildertest
Thanks, Best,
Gabor
2011 Jan 19
1
courier-imap to dovecot-imap migration: missing TLS_TRUSTCERTS feature
Hi,
I'm attempting an one-to-one migration from courier-imap to dovecot-imap.
current state:
Imap-server has a self signed certificate
Every client/user has a self signed client certificate that is used for
SSL/TLS client authentication.
All certificates are self signed "standalone" cerfificates - no CA
hierarchy/structure is made.
With courier-imap we could just put every
2011 Apr 27
3
What is the recommended way to move a message from one mailbox to another using CLI
What is the recommended way to move a message from one mailbox to another
using CLI - serverside commands ?
Since IMAP does not support transactional moves between mailboxes - The only
thing that comes to my mind is this operation:
1) extract message from mailbox A using "doveadm fetch"
2) inject message into mailbox B using "dovecot-lda"
3) expunge message from mailbox A
2012 Mar 14
1
issue with Rd2pdf and \Sexpr in Rd files
Hi,
The following command:
R CMD Rd2pdf --no-preview --output=./tmp.pdf --title=test genefu-package.Rd
run against this file:
https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/genefu/man/genefu-package.Rd
(username: readonly; password: readonly)
produces a very verbose error (see below)
with R version 2.15.0 alpha (2012-03-07 r58622).
The .Rd file has these lines in it:
Version: \tab
2006 Mar 12
1
Misalignment of secondary axis on boxplot
Dear R-help,
I am trying to overlay a secondary y-axis over a boxplot. The problem is that
the point of the line does not correspond to the centrepoint of the boxplot,
which makes presentation and interpretation sloppy. Could someone point out
where I am going wrong please?
#DATA
2008 Jan 27
2
Prefer -u not to change newer files.
Hi List,
Quoting man page:
In the currently implementation, a difference of file format is
always considered to be important enough for an update, no matter
what date is on the objects. In other words, if the source has a
directory or a symlink where the destination has a file, the
transfer would occur
2000 May 12
1
Patch: OpenSSH 2.1.0 under Solaris 8, Solaris 7 and other systems , too
Hi !
Karsten Thygesen wrote:
>>>>> "carl" == carl <carl at bl.echidna.id.au> writes:
> carl> Marc, I'm seeing the same problem if I use the inbuilt entropy
> carl> generator, but if I use SUNWski's /dev/random, it's fine.
> carl> ssh also coredumps if I use the built in entropy generator if I
> carl> run it in verbose mode.
2006 Dec 13
2
Kickstart GUI?
Hi,
I was under the impression RHEL had a gui kickstart configurator?
Does it exist in centos? If so what is the command?
Thanks,
DFU
2010 Jul 30
5
Parameterised Classes in 2.6.0... still no luck
I downloaded the latest version of puppet 2.6.0 today, and still can''t
get parameterised classes to work. At least, I think it''s 2.6.0... the
version number in the RPM spec file says 0.25.5.
This simple example:
/etc/puppet/manifests/nodes/pax/name01.pax.xxx.com.pp:
node ''name01.pax.xxx.com'' {
class { amodule::afunc: version => "1.0" }
}