Displaying 20 results from an estimated 9000 matches similar to: "how to insert a double quote with the paste function?"
2003 Jun 25
2
Markov chain simulation
Hi,
Does anybody know a function to simulate a Markov chain given a
probability transition matrix and an initial state ?
Thanks.
Philippe
--
--------------------------------------------------
Philippe Hup?
Institut Curie - Equipe Bioinformatique
26, rue d'Ulm - 75005 PARIS France
+33 (0)1 42 34 65 29
Philippe.Hupe at curie.fr <mailto:Philippe.Hupe at curie.fr>
2005 Jan 21
2
* creating vignettes ... ERROR
Dear R developers,
I had some problem when building package: for exemple when building the
package e1071 available from CRAN, I get the following message error:
* checking for file 'e1071/DESCRIPTION' ... OK
* preparing 'e1071':
* cleaning src
* running cleanup
* creating vignettes ... ERROR
/usr/lib/R/bin/texi2dvi: pdflatex exited with bad status, quitting.
2004 Dec 21
1
aggregate and median
I am trying to use the function aggregate with the median function but I
get the following error:
Error in FUN(X[[1]], ...) : Argument "INDEX"
When I replace median by mean, it works perfectly
Can someone tell me where the problem comes from?
Thx
I am running R 2.0.0 on SunOS 5.9
--
Philippe Hup??
UMR 144 - Service Bioinformatique
Institut Curie
Laboratoire de Transfert (4??me
2010 Apr 08
2
general linear hypothesis testing for manova model
Hello,
I have a MANOVA model and I want to test the following hypothesis: LBM =
0 where B is the parameter estimates.
Is there any function to do this in R?
Cheers,
Philippe
--
Philippe Hup?
Institut Curie, CNRS UMR 144, INSERM U900
26 rue d'Ulm
75005 Paris - France
Email : Philippe.Hupe at curie.fr
T?l : +33 (0)1 56 24 69 91
Fax: +33 (0)1 56 24 69 11
website :
2003 May 15
2
AW: error-prone feature?
> Well, that is in all good texts on R, together with the
> solution: drop=FALSE. See ?"[" for the on-line details.
OK. Thank you a lot. Now patched cclust and clustIndex
work fine for 1D case. BTW, why not to apply the "drop=F"
to these functions? I guess other users need 1D case as
well.
kind regards,
Valery A.Khamenya
2003 Jun 27
1
How to get pixel position of a plot
Hi,
I would like to plot a graph on the jpeg device for example and to write
a table associated to this plot where I have the pixel coordonates of
each plotted point so that I could include the jpeg image onto a html
page and get all the information about each point when the mouse button
is pressed. The indentify() can do it but on the window device...
Thanks for any idea.
Philippe
--
2003 Jun 30
1
symbol size on a plot
Hi,
I would like to get from a plot the size of the symbols plotted.
Imagine I have the following plot function :
plot(1:2,1:2, pch=15, cex=4)
I would like the get the values SIZE1 and SIZE2 so that if I plot the
following rectangle :
rect(1.5,1.5, 1.5+SIZE1, 1.5+SIZE2) then the size of this square is
exactely the same as the one of the symbols that have been plotted.
Thanks for any idea.
--
2003 May 19
1
Line plots with different symbols on the same line
Hello,
my data is an ordered list of observations where each observation is either of condition "efficient" (coded as 1) or "non-efficient" (0) as e.g.
No. Obs Condition
1 1.1 0
2 1.2 1
3 1.4 1
4 1.5 0
5 2.5 1
etc.
My goal is to plot a single line with lty='o' but different symbols for either condition whenever condition is 1 or 0, i.e. on the x-axis the
2005 Jan 19
1
* creating vignettes ... ERROR
Hi,
I have the following error when building a package
* creating vignettes ... ERROR
Error: chunk 3
Error in pmatch(x, table, duplicates.ok) :
argument is not of mode character
Error in buildVignettes(dir = ".") : Error: chunk 3
Error in pmatch(x, table, duplicates.ok) :
argument is not of mode character
Execution halted
I use R-2.0.1 under debian linux 2.6.9
2006 Apr 26
0
Generalized SVD
Hi,
I need to computed the GSVD of two matrices. For doing so I used in my C
code the lapack routine dggsvd. But when I source my file gsvd.R I have
the following error:
Error in eval.with.vis(expr, envir, enclos) :
BLAS/LAPACK routine 'DGGSVD' gave error code -1
Is there a problem with the parameters passed through the gsvd.R script?
Is there a problem within the C script?
2009 May 18
0
R 2.9.0 slower than R 2.8.1 for the data.frame function
Dear developers,
I have noticed difference in computation time for the data.frame
function between R2.9.0 and R2.8.1. The older release is more efficient:
typically, R2.9.0 spends three more time in the data.frame function.
Therefore, when many calls of this kind is done inside a function, the
additional time spent with R2.9.0 may be several minutes.
Looking at the profiling results (see file
2003 Jul 30
6
reverse array indexing
Hi,
Suppose I have a multidimensional array:
tmp <- array(1:8, c(2,2,2))
is there a function out there that, given a one-dimensional array index,
will
return the separate indices for each array dimension?
for instance, tmp[8] is equivalent to tmp[2,2,2]. I'd like to derive the
vector (2,2,2)
from the index 8.
thanks,
Brad Buchsbaum
2014 Feb 24
3
Error gdata and gplots packages
Hi, I just installed Ubuntu 12.04.4. I installed R by following
instructions from CRAN after modification into my /etc/apt/sources.list file
sudo apt-get update
sudo apt-get install r-base
sudo apt-get install r-base-dev
When I try to load library(gdata) ou library(gplots), I have error
message :
library(gdata)
gdata: read.xls support for 'XLS' (Excel 97-2004) files
2015 Jun 15
2
Add on argument in seq()
Hi.
I have a problem with the default behavior of seq(), which gives the argument "from" when the argument length.out = 1.
This behavior is annoying when the number of value determine in length.out is not predictable.
Would it be possible to add an argument that propose the median/mean, i.e. (from + to) / 2 when length.out = 1 ? Examples:
> seq(from = 1, to = 11, length.out=1) #
2015 Jun 15
2
Add on argument in seq()
Thanks for your answer.
The rational behind my proposal is why taking "from" when length.out=1, more than "to" or "NA", or " integer(0) " ?
This question seems basic. But is is not in certain situations, like when length.out = unpredictable positive integer.
And I haven't found in ?seq() the particular behavior of this function when length.out = 1.
2005 May 04
1
error with the function GOHyperG from GOstats package
I am running R 2.0.0, GOstats 1.1.1 and GO 1.7.0,
and when I use the function GOHyperG, I have the following error:
w1<-as.list(hgu95av2LOCUSID)
w2<-unique(unlist(w1))
set.seed(123)
myLL<-sample(w2,100)
xx <- GOHyperG(myLL)
Error in mget(x, env = GOTERM, ifnotfound = NA) :
recursive default argument reference
In fact first I tried this function with my locusId ' list (with
2015 Jun 15
3
Add-on argument in sample()
Hi.
I have a problem with the default behavior of sample(), which performs sample(1:x) when x is a single value.
This behavior is well explained in ?sample.
However, this behavior is annoying when the number of value is not predictable. Would it be possible to add an argument
that desactivates this and perform the sampling on a single value ? Examples:
> sample(10, size = 1, replace = FALSE)
2015 Jun 15
1
Add on argument in seq()
Millot,
On Mon, Jun 15, 2015 at 9:19 AM, Hadley Wickham <h.wickham at gmail.com> wrote:
> Regardless of the value of the other arguments, the first element in
> the output of seq() is _always_ `from`.
>
Indeed, as Hadley says, the output of seq must always start with* from*. It
is a sequence starting at *from* and ending wherever the other arguments
cause it to end. A sequence
2015 Jun 17
2
Add-on argument in sample()
On 6/16/2015 1:32 PM, Peter Meissner wrote:
> Am .06.2015, 14:55 Uhr, schrieb Millot Gael <Gael.Millot at curie.fr>:
>
>> Hi.
>>
>> I have a problem with the default behavior of sample(), which performs
>> sample(1:x) when x is a single value.
>> This behavior is well explained in ?sample.
>> However, this behavior is annoying when the number of
2008 Dec 10
3
Segfault on antispam plugin
Hi Johanners Berg,
I put the antispam plugin to work (some days ago) and now my imap
daemon dies with segfault.
I don't have nothing (wrong) in logs, just a lot of segfaults...
Dec 10 15:37:21 curie kernel: printk: 22 messages suppressed.
Dec 10 15:37:21 curie kernel: imap[4774]: segfault at 8 rip
2afe7fe7d7ff rsp 7fff2b9bdab0 error 6
Dec 10 15:37:21 curie kernel: imap[4779]: segfault at 8