Displaying 20 results from an estimated 500 matches similar to: "typo in R-ints.texi's description of P_ macro"
2003 Jun 04
1
new application Dialtone()
Hello,
I created a new application for myself called Dialtone() by modifing
res/res_indications.c file. It can be used as such:
exten => s,4,Dialtone(30|${CALLERIDNUM})
exten => s,5,Playback(time-exceeded)
exten => s,6,Goto(s|1)
It will stutter if you have new voicemail and you have passed the mailbox
number as I did above. It will stop dialtone the moment you press a key
2013 Apr 25
1
lsfit: Error in formatting error message
Hi,
in R-3.0 I get the following error when calling lsfit with more
observations than variables, which seems to come from an error in the
formatting of the error message (note that this was not happening in
2.15.3):
> nobs <- 5; nvar <- 6; lsfit(matrix(runif(nobs*nvar), ncol=nvar),
runif(nobs), intercept=FALSE)
Error in sprintf(ngettext(nry, "%d response", "%d
2014 Sep 10
1
install.packages misleads about package availability?
In the context of installing a Bioconductor package using our biocLite()
function, install.packages() warns
> install.packages("RUVSeq", repos="http://bioconductor.org/packages/2.14/bioc")
Installing package into '/home/mtmorgan/R/x86_64-unknown-linux-gnu-library/3.1-2.14'
(as 'lib' is unspecified)
Warning message:
package 'RUVSeq' is not available
2009 Oct 17
2
Recommendation on a probability textbook (conditional probability)
I need to refresh my memory on Probability Theory, especially on
conditional probability. In particular, I want to solve the following
two problems. Can somebody point me some good books on Probability
Theory? Thank you!
1. Z=X+Y, where X and Y are independent random variables and their
distributions are known.
Now, I want to compute E(X | Z = z).
2.Suppose that I have $I \times J$ random number
1999 Jan 07
2
math symbols in plot text: 2nd try
Ok, I think my first mail didn't get through so I'll try this again.
Please disregard.
I'm trying to use subscripts on plot text.
The help files say this can be done and give several example.
I'm trying to do: P_{2} (for example) and so I tried:
text(5,2,expression(P_{2}))
which doesn't work. There are no subscript examples. I recall
someone telling me that latex-like
2006 Sep 14
1
Rv generation
Hi,
Can Someone inform me how to generate RV's using the below CDF, by inverse
technique.
Thanks for your help and time.
My CDF is as follows
\[
F(x)=0 \ \text{if} \ x < 0\]\[
F(x)=\{\frac{x-x_i}{x_{i+1}-x_{i}}*(p_{i+1}-p_{i})\}+p_{i}\
\forall \ x_{i}\leq x < x_{i+1} \]
\[ F(x)=1 \ \text{if} \ x > x_{i+1}
\]
Regards
Murthy
2004 Apr 08
3
Re: : External access to voicemail
Hello steve. Here is a patch I wrote for app_voicemail.c which does
exactly as you describe. When the outgoing message is playing, if the
listener hits the "*" key, they're prompted for a mailbox and password,
whereupon they can check their voicemail as if they were using the internal
phone. I found no other way of doing this.
If you patch your app_voicemail.c, I have V1.44 from
2005 Jun 25
3
* 1.0.8: no more reacting to callerid?
It's not just you. Same thing happens here. I went back to 1.0.7.
Stefan Gofferje wrote:
> Hi folks,
>
> I used to have some constructions like
>
> exten => number/callerid,1,Goto(somewhere)
>
> After updating to 1.0.8 those does not work any more.
> Any hints?
>
> Regards,
> Stefan
>
2010 Aug 02
1
lm length
Hi all,
I wanto to run a plot about the levels of a variable parting on an ols
regression. The regression in done on the rate of return of the variable.
Imagine R_{t}=a+b*R_{t-1}
So If P, the "estimated" price would be P_{t}=P_{t-1}*R_{t}
Imagine that I obtain lm fitted values and the original
R_{t}, R_{t-1} are [1000,1] dimmension...
How it is posible to obtain also 1000,1 fitted
2014 Dec 01
2
[PATCH v2] fish: show synopsis if command syntax is wrong
This patch lets guestfish show command synopsis if the syntax of command issued
by user is wrong, rather than telling user that the number of parameters is wrong.
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
changes in v2:
- fix the error of ' error: control reaches end of non-void function [-Werror=return-type]'
- change the return value from -2 to -1
fish/cmds-gperf.h |
2013 Mar 11
0
[LLVMdev] How to unroll reduction loop with caching accumulator on register?
I tried to manually assign each of 3 arrays a unique TBAA node. But it does
not seem to help: alias analysis still considers arrays as may-alias, which
most likely prevents the desired optimization. Below is the sample code
with TBAA metadata inserted. Could you please suggest what might be wrong
with it?
Many thanks,
- D.
marcusmae at M17xR4:~/forge/llvm$ opt -time-passes -enable-tbaa -tbaa
2013 Nov 04
1
ggplot2: Add '+' operator for aes (uneval) objects
Dear all,
Is there a reason, why there is no +-operator for aes (i.e. uneval) objects (as there is for themes and gg objects)? I had a couple of cases where such an operator would be useful, for instance to combine the result of aes and aes_string in functions. Any flaws with the following proposition:
`+.uneval` <- function(e1, e2) {
dup <- names(e1) %in% names(e2)
if (any(dup)) {
2011 Nov 03
1
Select columns of a data.frame by name OR index in a function
Dear all,
Sometimes I have the situation where a function takes a data.frame and
an additional argument describing come columns. For greater flexibility
I want to allow for either column names or column indices. What I
usually do then is something like the following:
-------------8<-------------
f <- function(datf, cols) {
nc <- seq_along(datf)
cn <- colnames(datf)
colOK <-
2002 Dec 09
2
Sth better than cycle?
Hi,
I want to calculate expected likelihood over a 2D discrete
distribution, something like
\sum_k \sum_l p_{kl} L(v_k, v_l)
It is trivial to write a cycle like
for(k in 1:K)
for(l in 1:L)
sum <- sum + p[k,l]*L(v[k], v[l])
But is there a more clever way for R?
Best wishes,
Ott
2011 Jul 11
2
How unzip all files?
Hi
I'm starting to use R in windows. I need unzip some files. Each of them are
in different folders and subfolders. Names of folders have the same
beginning of the name. [example:( ~ / M_ /P_ (...)/ (...)R(...)/*.zip)] I do
not know the expression (character) necessary to call this direction and to
unzip files are in each subfolder.
Thank you.
--
View this message in context:
2025 Jan 28
1
ControlPath and differing ssh options?
If one wants to go this way, then I just discovered Tags
it should work like this (I haven?t tested it and never used tags)
Match tagged FA
ForwardAgent yes
ControlPath ~/.ssh/controlmaster-%r@%h-%p-forwardagent
ControlMaster off
?
and then to have a session with forwarding:
ssh -P FA user at host
But I still think we should be able to setup ssh to just do the right thing if the
2015 Dec 14
0
[patch] Fix automatic domain in ngettext(), Bug 14605
A short overview of the problem: Automatic domain in ngettext() does not
work when used inside a package.
How to test:
1. Download the small test package "minimal_1.0-0.tar.gz" attached to
the bug report.
2. As the package contains Finnish translations, start R with Finnish
language settings. Prepending "LANGUAGE=fi " to the command line that
starts R works for me on Linux, if
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
2018 Jul 30
2
Code Optimization: print.data.frame + as.data.frame(head(x, n = options("max.print")))
Dear R Developers,
I would like to propose a simple optimization for print.data.frame
base function:
To add: x <- as.data.frame(head(x, n = options("max.print")))
This would prevent that, if for example, we have a 10GB data.frame
(e.g.: Instead of a data.table), and we accidentally print it, the R
Session does not "collapse", forcing us to press ESC or kill the
RSession.
2013 Mar 11
2
[LLVMdev] How to unroll reduction loop with caching accumulator on register?
Dear all,
Attached notunrolled.ll is a module containing reduction kernel. What I'm
trying to do is to unroll it in such way, that partial reduction on
unrolled iterations would be performed on register, and then stored to
memory only once. Currently llvm's unroller together with all standard
optimizations produce code, which stores value to memory after every
unrolled iteration, which is