Re: [Rd] interpolation using akima (PR#8174)

2005-10-03 Thread Renaud Lancelot
This message should be sent to the package maintainer, not to this list. Moreover, it works fine with my installation (i.e., I don't get the bug you describe): R: platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status beta major2 minor2.0 year 2005 mo

Re: [Rd] interpolation using akima (PR#8174)

2005-10-03 Thread Prof Brian Ripley
Please do read the posting guide and FAQ, as we do ask you to do before sending a bug report. 1) Your version of R is not current. 2) akima is a contributed package and you are not the maintainer. We do ask you not to `behave in this manner'. On Mon, 3 Oct 2005 [EMAIL PROTECTED] wrote: > Ful

[Rd] interpolation using akima (PR#8174)

2005-10-03 Thread jonathan_lees
Full_Name: Jonathan Lees Version: 2.0.1 OS: linux-gnu Submission from: (NULL) (152.2.75.65) there is a problem with calculating the convex hull in 2-D interpolation using the codes interp fromt eh akima package: x =c(0.6505304, -1.1821562, -0.2600792, 0.7913716) y = c(1.0424226, 0.1754048, -1.

Re: [Rd] Problem Sweaving vignettes: MiKTeX's texi2dvi reports errors

2005-10-03 Thread Gabor Grothendieck
There is a batch file in batchfiles at http://cran.r-project.org/contrib/extra/batchfiles/ that copies the .sty files to miktex's directory. This is also discussed on Duncan's rtools MiKTeX site. My understanding is that this will not be necessary from R 2.2.0 onwards but was needed previously.

Re: [Rd] Problem Sweaving vignettes: MiKTeX's texi2dvi reports errors

2005-10-03 Thread Friedrich . Leisch
> On Mon, 3 Oct 2005 16:30:24 +0100 (BST), > Prof Brian Ripley (PBR) wrote: > On Mon, 3 Oct 2005, Peter G. Warren wrote: >> Hi, Prof. Ripley, >> >> Yes, indeed, that was my problem - thank you! I made the mistake of >> installing in the default path of C:\Program Files\R. I just

Re: [Rd] Problem Sweaving vignettes: MiKTeX's texi2dvi reports errors

2005-10-03 Thread Friedrich . Leisch
> On Mon, 3 Oct 2005 11:31:40 -0400, > Gabor Grothendieck (GG) wrote: > I have R installed in c:\Program Files\R and I use MiKTeX and texi2dvi > to process my vignettes. I do keep my package sources elsewhere; > e.g. I would keep the source for mypkg in c:\Rpkgs\mypkg . > and I wo

Re: [Rd] Problem Sweaving vignettes: MiKTeX's texi2dvi reports errors

2005-10-03 Thread Gabor Grothendieck
I have R installed in c:\Program Files\R and I use MiKTeX and texi2dvi to process my vignettes. I do keep my package sources elsewhere; e.g. I would keep the source for mypkg in c:\Rpkgs\mypkg . and I would install it into c:\Rpkg\library or once I am ready to use it in production into e.g. c:\Pro

Re: [Rd] Problem Sweaving vignettes: MiKTeX's texi2dvi reports errors

2005-10-03 Thread Prof Brian Ripley
On Mon, 3 Oct 2005, Peter G. Warren wrote: > Hi, Prof. Ripley, > > Yes, indeed, that was my problem - thank you! I made the mistake of > installing in the default path of C:\Program Files\R. I just now reinstalled > in C:\R, and everything worked fine. However, if anyone else runs into this, > you

Re: [Rd] storage.mode, C data types and speed

2005-10-03 Thread Prof Brian Ripley
If nm is double, very likely INTEGER(nm)[0] is negative and your C code does nothing at all. Hence it could be fast but useless. On Mon, 3 Oct 2005, Heather Turner wrote: > Hi, > > I am trying to speed up part of an algorithm in which certain columns of > a large matrix (X) are replaced by the

Re: [Rd] Problem Sweaving vignettes: MiKTeX's texi2dvi reports errors

2005-10-03 Thread Peter G. Warren
Hi, Prof. Ripley, Yes, indeed, that was my problem - thank you! I made the mistake of installing in the default path of C:\Program Files\R. I just now reinstalled in C:\R, and everything worked fine. However, if anyone else runs into this, you cannot just go off and run texi2dvi on an existing .te

[Rd] storage.mode, C data types and speed

2005-10-03 Thread Heather Turner
Hi, I am trying to speed up part of an algorithm in which certain columns of a large matrix (X) are replaced by the element-wise product of a matrix (M) and a vector (v). In R, the code might be X[, ind] <- M * v I have written a small C routine to do this for me, but the timing depends on ho

Re: [Rd] access to R parse tree for Lisp-style macros?

2005-10-03 Thread Thomas Lumley
On Mon, 3 Oct 2005, Duncan Murdoch wrote: > On 10/3/2005 3:25 AM, Andrew Piskorski wrote: >> R folks, I'm curious about possible support for Lisp-style macros in >> R. I'm aware of the "defmacro" support for S-Plus and R discussed >> here: >> >> http://www.biostat.wustl.edu/archives/html/s-news

Re: [Rd] access to R parse tree for Lisp-style macros?

2005-10-03 Thread Duncan Murdoch
On 10/3/2005 3:25 AM, Andrew Piskorski wrote: > R folks, I'm curious about possible support for Lisp-style macros in > R. I'm aware of the "defmacro" support for S-Plus and R discussed > here: > > http://www.biostat.wustl.edu/archives/html/s-news/2002-10/msg00064.html > > but that's really ju

Re: [Rd] Question about colnames behavior

2005-10-03 Thread Martin Maechler
> "BDR" == Prof Brian Ripley <[EMAIL PROTECTED]> > on Mon, 3 Oct 2005 09:44:47 +0100 (BST) writes: BDR> On Mon, 3 Oct 2005, Martin Maechler wrote: >>> "Erich" == Erich Neuwirth <[EMAIL PROTECTED]> >>> on Sun, 02 Oct 2005 09:39:36 +0200 writes: >> Erich> The

[Rd] tcltk (PR#8173)

2005-10-03 Thread mick
Full_Name: Castagner Michel Version: 2.1.1 OS: Solaris Submission from: (NULL) (195.220.60.11) > library(tcltk) Error in namespaceExport(ns, exports) : undefined exports :addTclPath, as.tclObj, is.tclObj, is.tkwin In addition: Warning message: S3 methods '$.tclvar', '$<-.tclvar', 'as.character.tc

Re: [Rd] Foreign function calls without 'PACKAGE' argument (PR#8171)

2005-10-03 Thread Prof Brian Ripley
Please do not abuse the R-bugs repository to ask questions. This is made very clear in the FAQ. The meaning of these messages is discussed in the `Writing R Extensions' manual: search for `PACKAGE'. On Mon, 3 Oct 2005 [EMAIL PROTECTED] wrote: > as title,when I check my own R package > It appe

[Rd] Foreign function calls without 'PACKAGE' argument (PR#8171)

2005-10-03 Thread u9126801
as title,when I check my own R package It appear the warning:Foreign function calls without 'PACKAGE' argument, I = don't know what's wrongcan somebody help me ,thanks [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list

Re: [Rd] Question about colnames behavior

2005-10-03 Thread Prof Brian Ripley
On Mon, 3 Oct 2005, Martin Maechler wrote: >> "Erich" == Erich Neuwirth <[EMAIL PROTECTED]> >> on Sun, 02 Oct 2005 09:39:36 +0200 writes: > >Erich> The following code >Erich> zzz<-1:10 >Erich> dim(zzz)<-10 >Erich> rownames(zzz) >Erich> colnames(zzz) > >Erich> yi

Re: [Rd] Question about colnames behavior

2005-10-03 Thread Martin Maechler
> "Erich" == Erich Neuwirth <[EMAIL PROTECTED]> > on Sun, 02 Oct 2005 09:39:36 +0200 writes: Erich> The following code Erich> zzz<-1:10 Erich> dim(zzz)<-10 Erich> rownames(zzz) Erich> colnames(zzz) Erich> yields NULL for the rownames and colnames calls. Eri

[Rd] access to R parse tree for Lisp-style macros?

2005-10-03 Thread Andrew Piskorski
R folks, I'm curious about possible support for Lisp-style macros in R. I'm aware of the "defmacro" support for S-Plus and R discussed here: http://www.biostat.wustl.edu/archives/html/s-news/2002-10/msg00064.html but that's really just a syntactic short-cut to the run-time use of substitute()