John,
I guess it is time to file a bug report given it has not been done so
far and noody found the time to look at ir so far.
Thanks,
Uwe
Prof. John C Nash wrote:
Recently I reported a small bug in optim's SANN method failing to report
that it had exceeded the maximum function evaluation
On Fri, Oct 23, 2009 at 2:02 PM, Abhijit Bera wrote:
> Sorry, I made a mistake while writing the code. The declaration of Data
> should have been first.
> I still have some doubts:
Because you are making some sweeping and incorrect assumptions about
the way that the internals of R operate. R al
Ok I get it. So everytime it does a alloc and copy.
I haven't finished the design yet. I'm just thinking about how randomly the
data might arrive; its real time data. So I will allocate a large chunk of
memory and keep track of when it fills up, once the data exceeds I will
alloc and copy the data
On Oct 24, 2009, at 2:58 PM, Abhijit Bera wrote:
Ok I get it. So everytime it does a alloc and copy.
I haven't finished the design yet. I'm just thinking about how
randomly the data might arrive; its real time data. So I will
allocate a large chunk of memory and keep track of when it fills
Have you tried names(a[,1,drop=FALSE])?
Then have a look at help("[").
-Peter
ve...@clemson.edu wrote:
Full_Name: Francisco Vera
Version: 2.9.2
OS: Windows
Submission from: (NULL) (74.248.242.164)
Run the following commands:
a<-data.frame(x=1:2,y=3:4,row.names=c("i","j"))
names(a$x)
names(a[