On Wed, 18 Oct 2006, Seth Falcon wrote:
> Seth Falcon <[EMAIL PROTECTED]> writes:
>
>> Peter Dalgaard <[EMAIL PROTECTED]> writes:
>>> Er, do you have a minimal example showing the behaviour? It's not
>>> quite clear whether you have this happening everywhere or only in
>>> example sections, formul
Why do you consider this to be a bug: you are using matrix indexing, and
there is no element c(1,3) of x?
This form of indexing is covered in 'An Introduction to R'.
On Thu, 19 Oct 2006, [EMAIL PROTECTED] wrote:
> Full_Name: Steven King
> Version: 1.16
There is no such version of R.
> OS: OS
Seth Falcon <[EMAIL PROTECTED]> writes:
> Peter Dalgaard <[EMAIL PROTECTED]> writes:
>> Er, do you have a minimal example showing the behaviour? It's not
>> quite clear whether you have this happening everywhere or only in
>> example sections, formulas or...?
>
> Oups. The example I was looking a
I can't seem to find any way to get from the main R page to
http://cran.r-project.org/contrib/extra/
via any series of links. Does such a path exist? Where is it?
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
On 10/18/2006 1:11 PM, [EMAIL PROTECTED] wrote:
> This is a multi-part message in MIME format.
> --090108060506030400070300
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
>
> Dear R people
>
> I want to contribute a new package (various
See ?"[" and note in particular
"A third form of indexing is via a numeric matrix with the one column
for each dimension: each row of the index matrix then selects a single
element of the array, and the result is a vector."
Thus the result in this case should be a vector with element 1,3 as its f
Full_Name: Steven King
Version: 1.16
OS: OSX vesion 10.4.8
Submission from: (NULL) (71.126.161.149)
Setting a matrix is a function - the failure occurs only on 2 X 2 matrices.
x<-matrix(1:4,nrow=2)
> x
[,1] [,2]
[1,]13
[2,]24
> x[x]<-2
Error: subscript out of bounds
__
On 10/18/2006 1:17 PM, Roger D. Peng wrote:
> I've encountered a (I think) related problem when using promises to load
> relatively large datasets. For example something like
>
> delayedAssign("x", getBigDataset())
>
> runs into the same problem if you hit Ctrl-C while 'x' is being evaluated fo
Peter Dalgaard <[EMAIL PROTECTED]> writes:
> Er, do you have a minimal example showing the behaviour? It's not
> quite clear whether you have this happening everywhere or only in
> example sections, formulas or...?
Oups. The example I was looking at has \_ in a number of places in
the Rd files so
Seth Falcon <[EMAIL PROTECTED]> writes:
> Hi,
>
> The warning that was recently added to R-devel about unrecognized
> escapes has been very helpful in identifying a number of incorrectly
> specified regular expressions.
>
> We are, however, seeing warning messages for Rd files that contiain
> '\
"Roger D. Peng" <[EMAIL PROTECTED]> writes:
> I've encountered a (I think) related problem when using promises to load
> relatively large datasets. For example something like
>
> delayedAssign("x", getBigDataset())
>
> runs into the same problem if you hit Ctrl-C while 'x' is being evaluated for
John Chambers <[EMAIL PROTECTED]> writes:
> If showMethods() were extended in this way but consistent with its
> behavior now, you would potentially get a mess (and do a lot of
> computation). Any method with "ANY" in any element of its signature
> qualifies (in particular, all default methods).
Hi,
The warning that was recently added to R-devel about unrecognized
escapes has been very helpful in identifying a number of incorrectly
specified regular expressions.
We are, however, seeing warning messages for Rd files that contiain
'\_' and I think that _is_ a recognized escape.
Can the ch
(I have removed a CC to R-bugs)
It seems like you are using windows. If you take the time to read the
R-admin manual, it tells you how to set up your system for building
packages under Windows (R-extensions tells you how to make packages,
R-admin tells you how to set up your system). This wi
I think I understand what you're looking for, but it's nontrivial and
should really be another function, like
findAllMethods(class, functions)
If showMethods() were extended in this way but consistent with its
behavior now, you would potentially get a mess (and do a lot of
computation). Any
On Wed, 18 Oct 2006, Simon Urbanek wrote:
>
> On Oct 18, 2006, at 1:17 PM, Roger D. Peng wrote:
>
>> I've encountered a (I think) related problem when using promises to
>> load relatively large datasets. For example something like
>>
>> delayedAssign("x", getBigDataset())
>>
>> runs into the same
On Oct 18, 2006, at 2:00 PM, [EMAIL PROTECTED] wrote:
> Full_Name: Hendrik Fuß
> Version: 2.4.0
> OS: Mac OS 10.4.8
> Submission from: (NULL) (201.27.210.144)
>
>
> On Mac OS, in the file editor, line numbers on the left-hand side
> will be
> truncated if greater than 99.
You may want to incre
On Oct 18, 2006, at 1:17 PM, Roger D. Peng wrote:
> I've encountered a (I think) related problem when using promises to
> load relatively large datasets. For example something like
>
> delayedAssign("x", getBigDataset())
>
> runs into the same problem if you hit Ctrl-C while 'x' is being
> e
Full_Name: Hendrik Fuß
Version: 2.4.0
OS: Mac OS 10.4.8
Submission from: (NULL) (201.27.210.144)
On Mac OS, in the file editor, line numbers on the left-hand side will be
truncated if greater than 99. They show up as e.g.:
12
12
12
12
12
12
12
12
12
12
13
13
13
13
...
__
I've encountered a (I think) related problem when using promises to load
relatively large datasets. For example something like
delayedAssign("x", getBigDataset())
runs into the same problem if you hit Ctrl-C while 'x' is being evaluated for
the first time. Afterwards, there's no way to retrie
This is a multi-part message in MIME format.
--090108060506030400070300
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Dear R people
I want to contribute a new package (various noncentral hypergeometric
distribution functions) using C++, b
Simon Urbanek wrote:
> Seth,
>
> thanks for the suggestions.
>
> On Oct 18, 2006, at 11:23 AM, Seth Falcon wrote:
>
>> Simon Urbanek <[EMAIL PROTECTED]> writes:
>>> thanks, but this is not what I want (the symbols in the environment
>>> are invisible outside) and it has nothing to do with the
Only ASCII letters are portable: those accented characters do not even
exist in many of the encodings used for R, e.g. Russian and Japanese on
Windows machines.
There is no way to associate an encoding with a character string in R. We
considered it, but it would have had severe back-compatibi
Active bindings are another option (?makeActiveBinding).
It might be worth revisiting how promises are evaluated to see if at
elast a more sensible error message can be achieved, but making sure
any changes do not affect performance will be tricky.
Best,
luke
On Wed, 18 Oct 2006, Duncan Temple
Seth,
thanks for the suggestions.
On Oct 18, 2006, at 11:23 AM, Seth Falcon wrote:
> Simon Urbanek <[EMAIL PROTECTED]> writes:
>> thanks, but this is not what I want (the symbols in the environment
>> are invisible outside) and it has nothing to do with the question I
>> posed: as I was saying i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Simon.
One approach is RObjectTables. This provides a way to
customize how variables are accessed/assigned in
an environment and so allows an operation to do something
to compute the value of a variable while still allowing
it to be used as a var
Simon Urbanek <[EMAIL PROTECTED]> writes:
> thanks, but this is not what I want (the symbols in the environment
> are invisible outside) and it has nothing to do with the question I
> posed: as I was saying in the previous e-mail the point is to have
> exported variables in a namespace, but t
Hello,
I have some questions concerning encoding and package distribution. We
develop the ade4 package. For some data sets included in the package,
there are accentued character (e.g. é,è...). The data sets have been
saved using latin1 encoding, but some of us use utf-8 and can not see
some dat
Martin,
On Oct 17, 2006, at 11:43 PM, Martin Morgan wrote:
> I believe the technique is to create an environment in the
> namespace, and then to access that through functions:
>
thanks, but this is not what I want (the symbols in the environment
are invisible outside) and it has nothing to d
John Chambers <[EMAIL PROTECTED]> writes:
> No, not a bug.
>
> Inherited methods are never cached until they are needed, for rather
> obvious efficiency reasons. See ?showMethods, under argument
> inherited=
ok, I missed the doc, which is quite clear about showMethods not doing
what I wanted...
>
No, not a bug.
Inherited methods are never cached until they are needed, for rather
obvious efficiency reasons. See ?showMethods, under argument inherited=
If what you were trying to do was find out what method would be called
for class "B" without calling it, use selectMethod().
Seth Falcon w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
In addition to the SWIG support for R, I am also in
the process of finishing off another approach which
uses the compiler directly (rather than an intermediate
input file) and can read the body of the routines in order
to analyze the expressions there
Full_Name: Ulrich Beutner
Version: 2.4.0
OS: MacOS 10.4 (PPC G4)
Submission from: (NULL) (193.134.32.99)
It appears that there is bug in the Macintosh binary of survdiff (part of
survival library)
Following the output of the example for survdiff under Windows XP and
Macintosh.
While under WinXP c
On 18 October 2006 at 11:15, Benjamin Georgi wrote:
| I'm looking into creating R bindings for a medium sized C library. I
| have read up on how to access simple C functions using the .C and .Call
| methods and what I'm looking for now is a way to automate the generation
| of the necessary glue
Hi,
I'm looking into creating R bindings for a medium sized C library. I
have read up on how to access simple C functions using the .C and .Call
methods and what I'm looking for now is a way to automate the generation
of the necessary glue code.
Ideal would be a SWIG-like package that does mos
As is clear from the message you got, promises were originally implemented
to handle lazy evaluation of closure arguments, as essentially transient
objects. There are several aspects of their implementation that are
tailored to that use, one being that they can only be evaluated once (as a
loo
36 matches
Mail list logo