Re: [Rd] bypassing SET_DIM checking

2006-08-14 Thread Hin-Tak Leung
Hi, I am not going to work out why you code crashes, but I did manage to bypass dim checking some time ago - and as others had replied, it is Not a Good Idea (TM) , as the check is there for a reason. If you really want to do it, here is the relevant snipplet of what I did (oh, I did copy insta

Re: [Rd] bypassing SET_DIM checking

2006-08-13 Thread Prof Brian Ripley
On Sun, 13 Aug 2006, Seth Falcon wrote: > "miguel manese" <[EMAIL PROTECTED]> writes: > > > Hello, > > > > I created an S3 "type" w/c is actually a list that should look like a > > matrix but whose data is actually in an external file. The SEXP just > > contains info on how to retrieve the data f

Re: [Rd] bypassing SET_DIM checking

2006-08-13 Thread Seth Falcon
"miguel manese" <[EMAIL PROTECTED]> writes: > Hello, > > I created an S3 "type" w/c is actually a list that should look like a > matrix but whose data is actually in an external file. The SEXP just > contains info on how to retrieve the data from the file. When I get to > the part of creating the

[Rd] bypassing SET_DIM checking

2006-08-12 Thread miguel manese
Hello, I created an S3 "type" w/c is actually a list that should look like a matrix but whose data is actually in an external file. The SEXP just contains info on how to retrieve the data from the file. When I get to the part of creating the SEXP, I found out that SET_DIM & SET_DIMNAME checks the