Re: [Rd] supsmu(periodic=TRUE) can crash R by reading before start of array (PR#9502)

2007-02-09 Thread Prof Brian Ripley
Thank you for the comprehensive report and fix. Now incorporated in R-devel. Brian On Thu, 8 Feb 2007, [EMAIL PROTECTED] wrote: > supsmu(periodic=TRUE) can crash R by reading before start of array. > > To reproduce: > set.seed(1) > xx <- runif(29000) > yy <- rnorm(29000) > span <- 0.49 >

Re: [Rd] xlsReadWrite Pro and embedding objects and files in Excel worksheets

2007-02-09 Thread Gabor Grothendieck
If Excel has the capability to do it then by controlling Excel from R using RDCOMClient or rcom packages you can do it (in Windows). For example, the code below creates a plot in R and then creates an Excel spreadsheet and inserts it. Get up to speed on VBA and then use the Macro recorder in Excel

Re: [Rd] obscure error with subsetting as.list() of a function then assigning that a (PR#9500)

2007-02-09 Thread Peter-M Schumacher
Ok, thanks for clearing it up. But: > It's not a bug things work in ways that confuse users when they pry > into things they were not expected to pry into Do you have a good > reason to call this a bug? Well if it's intended to work that way then it's not a bug. As I said, I was computing on

Re: [Rd] obscure error with subsetting as.list() of a function then (PR#9506)

2007-02-09 Thread peter-m . schumacher
Ok, thanks for clearing it up. But: > It's not a bug things work in ways that confuse users when they pry > into things they were not expected to pry into Do you have a good= > reason to call this a bug? Well if it's intended to work that way then it's not a bug. As I said, I was computing

[Rd] Problem using ofstream in C++ class in package for MacOS X

2007-02-09 Thread cstrato
Dear Ross Thank you for this clarification, maybe there is something misconfigured on my Intel-Mac. BTW, I have now upgraded to XCode 2.4.1 from 2.4, but the result remains the same. I don“t know if this could help clarify what might be wrong, but I am not able to compile plier, a simple pack

Re: [Rd] Problem using ofstream in C++ class in package for MacOS X

2007-02-09 Thread Kasper Daniel Hansen
I have some experience wrapping code from Affymetrix in R (see the affxparser package). Depending on who actually wrote the package, you may find that it is not trivial to get it to work on different platforms. They are not always carefully to think about different compilers etc. You may w

Re: [Rd] Problem using ofstream in C++ class in package for MacOS X

2007-02-09 Thread cstrato
Dear Kasper Thank you, but I want to keep the focus on my own problem (I can indeed compile your package). Since I do not have an url, I would like to attach my package, so that people could try it. In my initial mailing I have attached my package as MyClass_0.1.2.tar.gz, but it got scrambled