On Tue, 19 Feb 2008, Laurent Gautier wrote:
> Dear list,
>
> I am writing C code to interface with R, and I would like to know the
> level of mutability for the type of a SEXP.
>
> I see that there is a macro/function TYPEOF(), and that it can be used
> as an l-value, as well as a macro/function S
"Henrik Bengtsson" <[EMAIL PROTECTED]> writes:
> Hi,
>
> for 'affxparser' (Bioconductor), we needed a function to test if a
> certain package was loaded or not, but we did not want to load it if
> it wasn't, which is why we couldn't use require(). We came up with
> the following solution:
>
> is
Hi,
for 'affxparser' (Bioconductor), we needed a function to test if a
certain package was loaded or not, but we did not want to load it if
it wasn't, which is why we couldn't use require(). We came up with
the following solution:
isPackageLoaded <- function(package, version=NULL, ...) {
s
Part of the problem is that you are not adjusting for the fact that you
are smarter than the computer.
Realize that the way you are doing the assignment requires a lot of
different things behind the scenes and remember that data frames are
basically lists with some extra attributes and matricies a
Part of the problem is that you are not adjusting for the fact that you
are smarter than the computer.
Realize that the way you are doing the assignment requires a lot of
different things behind the scenes and remember that data frames are
basically lists with some extra attributes and matricies a
I'm working on colClasses() function that generates "colClasses"
vectors for read.table() using a compact format string (see below).
The below is what I got right now. Before adding it to R.utils, I
would like to check with you if I'm missing something obvious such as
certain column classes, if th
>The longer answer is 'yes', since the source of the
> function is readily available (typing segment)
Hello,
That is exactly why I have posted this question at the development
forum - there was no way of specifying output parameters in the
"segment" function
Thank you
Vlad
On 2/20/08, Martin Morg
Thank you for your kind answers and sorry for the noise I created.
--
António Ferreira - http://www.di.fc.ul.pt/~asfe
Assistant Lecturer - Department of Informatics
Faculty of Sciences - University of Lisbon - PT
__
R-devel@r-project.org mailing list
h
Apparently it is quite rare to be as stupid as me and
want to predict a constant time series with 'ar'.
> ar(rep(4, 60))
Error in if (order > 0) coefs[order, 1:order] else numeric(0) :
missing value where TRUE/FALSE needed
In addition: Warning message:
In if (order > 0) coefs[order, 1:order] el