Re: [Rd] importing/loading package without a namespace

2009-09-10 Thread Christos Hatzis
nt: Thursday, September 10, 2009 5:12 PM > To: chris...@nuverabio.com > Cc: r-devel@r-project.org > Subject: Re: [Rd] importing/loading package without a namespace > > Hi Christos -- > > Christos Hatzis wrote: > > I am developing a package that imports some functions fr

[Rd] importing/loading package without a namespace

2009-09-10 Thread Christos Hatzis
nd for packages 'citation(pkgname)'. Loading required package: qcc Error : package 'qcc' does not have a name space Error: package/namespace load failed for 'nvQC' Execution halted It looks like this package has a loading problem: see the messages for details. Chr

Re: [Rd] Problem in matrix definition?

2009-08-31 Thread Christos Hatzis
See details on subsetting ?"[" specifically the drop argument. To prevent the effects of drop() use L[k, 1:(r-1), drop=FALSE] -Christos > -Original Message- > From: r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-project.org] On Behalf Of Mathieu Ribatet > Sent: Monday, Augu

Re: [Rd] package dependencies specification

2009-08-25 Thread Christos Hatzis
ent: Tuesday, August 25, 2009 10:16 PM > To: christos.hat...@nuverabio.com > Cc: r-devel@r-project.org > Subject: Re: [Rd] package dependencies specification > > Hi Christos -- > > Christos Hatzis wrote: > > > > Hello, > > > > After running R CMD chec

[Rd] package dependencies specification

2009-08-25 Thread Christos Hatzis
ffy, hgu133acdf, hgu133plus2cdf) importFrom(affyio, read.celfile, read.celfile.header) DESCRIPTION ... Depends: R (>= 2.5.0), Biobase Imports: affy, affyio, simpleaffy, hgu133acdf, hgu133plus2cdf -------- I'd appreciate any help. Thank you. -Christos Christos Hatzis, Ph.D. N

Re: [Rd] is.matrix

2008-11-11 Thread Christos Hatzis
The point was that c(1, 1, 2) is not a matrix but a vector, two distinct things in R. > a <- c(1, 1, 2) > class(a) [1] "numeric" > ta <- t(a) > class(ta) [1] "matrix" > class(t(ta)) [1] "matrix" The transpose operation is only defined for matrices, so if you insist to apply it to a vector, it fir

Re: [Rd] is.matrix

2008-11-11 Thread Christos Hatzis
And the other missing piece is that t() coerces the input vector to a 1-column matrix that can then be transposed and returned as a 1-row matrix (with a dim attribute). -Christos > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Peter Dalgaard > Sent

Re: [Rd] messing with ...

2008-08-13 Thread Christos Hatzis
If I understand it correctly, one way would be to define a function to specify the default options/arguments in the required order. For example, > mle.options <- function(method = "BFGS", lower = 0, upper = Inf, hessian=FALSE) + list(method=method, lower=lower, upper=upper, hessian=hessian) > mle

Re: [Rd] [patch] add=TRUE in plot.default()

2008-03-15 Thread Christos Hatzis
Andrew, Here's is a way how your example could be coded with the current implementation of plot. You can always start with an empty plot and then add lines or points (or both) using the corresponding functions. > x <- seq(-2, 2, 0.1) > plot(x, x, type="n") > mapply(function(f, i) lines(x, f(x)

Re: [Rd] knnFinder package

2008-01-18 Thread Christos Hatzis
.html All the best, -Christos Christos Hatzis, Ph.D. Nuvera Biosciences, Inc. 400 West Cummings Park Suite 5350 Woburn, MA 01801 Tel: 781-938-3830 www.nuverabio.com > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Finley > Sent

Re: [Rd] 'attach workspace' on R console File menu

2007-05-16 Thread Christos Hatzis
d do it. > I haven't tried it myself to check whether it really is > possible to add all the menu items. > > On 5/16/07, Christos Hatzis <[EMAIL PROTECTED]> wrote: > > Thanks, Gabor. > > This does not add a new item to the existing File menu, instead it >

Re: [Rd] 'attach workspace' on R console File menu

2007-05-16 Thread Christos Hatzis
TECTED] > Sent: Wednesday, May 16, 2007 1:34 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [Rd] 'attach workspace' on R console File menu > > On 5/16/07, Christos Hatzis <[EMAIL PROTECTED]> wrote: > > Quite often I save misc functions and da

[Rd] 'attach workspace' on R console File menu

2007-05-16 Thread Christos Hatzis
e to allow attaching workspaces, e.g. Attach Workspace... Load Workspace... Save Workspace... Is this something that could make the wish list for future R Console features? Thanks. -Christos Christos Hatzis, Ph.D. Nuvera Biosciences, Inc. 400 West Cum

Re: [Rd] Library file for the R engine in Windows?

2006-12-05 Thread Christos Hatzis
workaround is possible as 'lib' is equivalent to 'link /lib': pexports R.dll > R.exp link /lib /def:R.exp /machine:x86 /out:Rdll.lib -Christos Christos Hatzis, Ph.D. Nuvera Biosciences, Inc. 400 West Cummings Park Suite 5350 Woburn, MA 01801 Tel: 781-938-3830 www.nuverabio.com

Re: [Rd] Library file for the R engine in Windows?

2006-12-04 Thread Christos Hatzis
Sorry. I found the answer in an earlier post by Prof. Ripley. I must have not searched the archives hard enough. http://tolstoy.newcastle.edu.au/R/e2/devel/06/10/0723.html -Christos _ From: Christos Hatzis [mailto:[EMAIL PROTECTED] Sent: Monday, December 04, 2006 4:43 PM To: &#

[Rd] Library file for the R engine in Windows?

2006-12-04 Thread Christos Hatzis
Visual C++ Toolkit in Windows XP Pro. Thank you for any advice. Christos Hatzis, Ph.D. Nuvera Biosciences, Inc. 400 West Cummings Park Suite 5350 Woburn, MA 01801 Tel: 781-938-3830 www.nuverabio.com <http://www.nuverabio.com/> [[alternative HTML version d

Re: [Rd] passing matrix as argument to a C function

2006-12-03 Thread Christos Hatzis
argument to a C function On 3 December 2006 at 11:47, Christos Hatzis wrote: | Thank you. The code in kmeans.c is indeed informative. One needs to | remember that an R matrix is a vector with attributes. In case there is any chance that you could turn your part of the source from C into C++, t

Re: [Rd] passing matrix as argument to a C function

2006-12-03 Thread Christos Hatzis
Thank you. The code in kmeans.c is indeed informative. One needs to remember that an R matrix is a vector with attributes. -Christos -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Sunday, December 03, 2006 3:25 AM To: Christos Hatzis Cc: r-devel@r

[Rd] passing matrix as argument to a C function

2006-12-02 Thread Christos Hatzis
t it will use in some way the "vector of pointers to row vectors" concept, but I am not familiar enough in C yet to figure it out. Any hints on how in can be done with .Call if easier? Thank you. -Christos Christos Hatzis, Ph.D. Nuvera Biosciences, Inc. 400 West Cummings Park Suite 5350