onal error checking is added into
encomptest(): check if
provided models are nested and called a halt via stop() if they are.
-
-----
ormac.
2011/8/18 Uwe Ligges :
> Works for me in R-patched:
>
> I guess your problem is that you have to set the options() before
> source()ing.
>
> Best,
> Uwe Ligges
>
>
>
>
> On 17.08.2011 10:31, Cormac Long wrote:
>>
>> Good morning R-help
Good morning R-help,
I have an idiot question: I would like to use getSrcDirectory()
and friends to allow me to identify where an R file has been
called from when invoked using Rscript. If I understand the
documentation correctly, the following example should work:
In file test.R:
options(keep
@ugent.be
> link: http://biomath.ugent.be
> wink: A1.056, Coupure Links 653, 9000 Gent
> ring: 09/264.59.36
>
> -- Do Not Disapprove
>
>
>
>
>> -Original Message-----
>> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
>> project.org] On
l)]<-NA
if(IS_LOGIC)
x<-as.logical(x)
END NEW SECTION PART 2
structure(list(lengths = diff(c(0L, i)), values = x[i]),
class = "rle")
}
Conclusion:
I think that the proposed code modification is an improvement on the existing
i
o install?
By default, Windows XP boxes do not have these utilities installed
(installing Rtools does away with this problem).
Many thanks in advance,
Dr. Cormac Long.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
g R2.13.0):
void showList(SEXP *obj, int *size)
{
SEXP *locObj=obj;
int i;
for(i=0;i<*size;i++){
Rprintf("Entry is %d: value is %f",i,REAL(*locObj)[1]);
*locObj=CDR(*locObj);
}
return;
}
Any help is greatfully appreciated!
Best wishes,
Dr. Cormac
-
To the rest of the R community: I realise that this is not "how things
should be done" - by the time I'd
realised that I should be writing a package I'd already created a whole slew
of tools! That'll teach me
not to read the ma
re than a week now and am absolutely sure there is something
simple that I am doing wrong!
Yours sincerely,
Cormac Long.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-hel
n-up within a function for design purposes. The
full project is spread over several files and I am trying to keep the main
loop as simple as possible.
Sincerly,
Cormac Long.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
ht
10 matches
Mail list logo