1. I know there is not such a thing; that why I said "mimic" and "the
same place" ("***/R/bin" instead of "***/R/R-x.x.x/bin").
2. Yes, I never mess with the PATH variable under *nix, because R is
installed to /usr/local/bin/ (or /usr/bin/) *by default*, which is
already in the PATH variable. Othe
First, you are still able to install multiple versions of R to any
places that you want -- I was suggesting a default place to install R
under Windows. If you remember the process of installing R under
Windows, there is a step in which you can choose where to install R.
Second, to modify the PATH
Hi,
On 5 May 2011 02:56, Duncan Murdoch wrote:
> On 04/05/2011 10:40 AM, Ravi Varadhan wrote:
>>
>> I too would like this (being an Indian!).
>>
>> Here is an example that came up just yesterday with regards to solving a
>> quadrature problem using the "cubature" package. The adaptIntegrate
>> f
It makes no sense to replace the .self field: that field is initialized
to be a reference to the object. If you change it, it's no longer that
reference.
There are many things wrong with your example, so it's better to take a
very simple version:
> mkTest <- setRefClass("test",fields = lis
Thanks, Hadley. This (i.e., different ways to prepare curry) is quite
instructive to me.
Best,
Ravi.
---
Ravi Varadhan, Ph.D.
Assistant Professor,
Division of Geriatric Medicine and Gerontology School of Medicine Johns Hopkins
University
Ph.
Thanks -- new version on its way to CRAN.
luke
On Wed, 4 May 2011, Greg Snow wrote:
That works as well, I will suggest it to Luke for the package to use.
Thanks,
--
Luke Tierney
Statistics and Actuarial Science
Ralph E. Wareham Professor of Mathematical Sciences
University of Iowa
Dear Simon,
I did not complain about the R doing something wrong. I only wanted to
know why, after all these years, R CMD check does suddenly no longer
build the pdf-files of the vignettes. I also think that this is a legal
question.
Let me compare the times spent:
1, the "official" develop
Sorry guys,
but I chose a really stupid name before (no "reference classes").
Hope it's okay to re-post.
Cheers,
Janko
>>> ORIGINAL MESSAGE <<<
Dear list,
Is it possible to update or reassign '.self' with an image of '.self'
(e.g. a locally stored .Rda file) from within a method?
I know t
Yihui Xie-2 wrote:
>
> Hi,
>
> I guess this issue must have been brought forward long time ago, but I
> still hope you can consider under Windows (during installation):
>
> 1. put R's bin path in the PATH variable of the system so that we can
> use the commands "R" and "Rscript" more easily;
>
On 11-05-03 12:43 AM, Martin Maechler wrote:
Hervé Pagès
on Mon, 02 May 2011 11:55:08 -0700 writes:
> Hi, On 11-04-28 07:00 PM, Dario Strbenac wrote:
>> Hello,
>>
>> In my description file, I have an example data package in
>> Suggests: that I've deleted from m
Thanks a lot. I will try the recommended changes.
Ravi
--
View this message in context:
http://r.789695.n4.nabble.com/Error-in-Fortran-Call-tp3495319p3495777.html
Sent from the R devel mailing list archive at Nabble.com.
__
R-devel@r-project.org maili
There are plenty of good reasons for non-developers to run different
versions of R. For instance, I care a lot about reproducibility. With
every new release of R, lots of things change. With every new release
of the packages I use, lots of things change. All of my analyses are
performed usin
That works as well, I will suggest it to Luke for the package to use.
Thanks,
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
> -Original Message-
> From: peter dalgaard [mailto:pda...@gmail.com]
> Sent: Wednesday, May 0
On May 4, 2011, at 12:00 PM, Yihui Xie wrote:
> My suggestion was to mimic *nix systems: put the executable binaries in the
> same place *by default* (e.g. /usr/bin/ or /usr/local/bin).
Except that there is not such thing on Windows! The closest to that is the
"system" folder which is off limit
On May 4, 2011, at 19:26 , Greg Snow wrote:
> It looks like the spaces in the path is the problem, when I run the line
> below with shQuote then everything starts working and all is right with the
> world again.
Just for fun, see if it also works with
tcl("load", file, "Rplot")
(.Tcl(paste(.
It looks like the spaces in the path is the problem, when I run the line below
with shQuote then everything starts working and all is right with the world
again.
Thanks,
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
> -O
On Wed, May 4, 2011 at 1:11 PM, Sharpie wrote:
> Currently, the only Curry implementation I know of is in the roxygen package
> which is kind of a weird dependency to install just for this one function.
>
Not entirely comparable but the proto package supports currying of
proto arguments. For exam
Byron Ellis-2 wrote:
>
> Hi all (especially R-core) I suppose,
>
> With the introduction of the new functional programming functions into
> base I thought I'd ask for a Curry() function. I use a simple one that
> looks this:
>
> Curry = function(FUN,...) { .orig = list(...);function(...)
> do.c
On Wed, May 4, 2011 at 11:35 AM, John Chambers wrote:
> On 5/4/11 9:24 AM, Hadley Wickham wrote:
Are you familiar with "Concepts, Techniques, and Models of Computer
Programming" by van Roy and Haridi? That's what really helped me to
understand the strengths and weaknesses of t
On 04.05.2011 17:46, Greg Snow wrote:
The tkrplot package is not working in version 2.13.0 for windows. I contacted
the maintainer who unfortunately does not have easy access to a windows
computer and says that it is working on the other platforms.
Greg,
if he had access (like I do) he'd
What example are you trying? The code in ?trkplot works for me.
However, it looks to me like that piece of advice in the rw-FAQ about
no spaces in your path has come back to bite you (I of course do not
have such spaces). I think this should be
.Tcl(paste("load", shQuote(file), "Rplot"))
or
On 5/4/11 9:24 AM, Hadley Wickham wrote:
Are you familiar with "Concepts, Techniques, and Models of Computer
Programming" by van Roy and Haridi? That's what really helped me to
understand the strengths and weaknesses of the various styles of
programming.
Thanks, I wasn't. Yes, interesting sim
Interesting idea.
One approach would be to test against the _environment_ of the prototype
object in the class definition. Since the initialize method for a
reference class must call new.env(), one knows that a real object from
the class has a different environment. Using that fact one could
>> Are you familiar with "Concepts, Techniques, and Models of Computer
>> Programming" by van Roy and Haridi? That's what really helped me to
>> understand the strengths and weaknesses of the various styles of
>> programming.
>
> Thanks, I wasn't. Yes, interesting similar distinction between func
> Or maybe
>
> Curry <- function(FUN, ...) {
> args <- match.call(expand.dots = FALSE)$...
> args$... <- as.name("...")
>
> curry_call <- as.call(c(list(as.name("FUN")), args))
> eval(bquote(function(...) .(curry_call)))
> }
Or one more approach:
Curry <- function(FU
On 5/3/11 2:39 PM, Hadley Wickham wrote:
Part of the motivation for the reference classes was to bring a general OOP
view to R. One can start from some essential concepts of objects and their
properties, inheritance and class definition, as have evolved over a very
long time.
Next, there is a f
My suggestion was to mimic *nix systems: put the executable binaries
in the same place *by default* (e.g. /usr/bin/ or /usr/local/bin). Why
isn't the default bin path for R under *nix something like
/usr/bin/R-2.13.0/? If the users want to install multiple versions,
they still have the choice to in
>> # Use of Curry
>> adaptIntegrate(Curry(f, a=0.2), lower=0, upper=2)
>
> Two objections:
>
> 1. I don't see how that is preferable to
>
> adaptIntegrate(function(x) f(x, a=0.2), lower=0, upper=2)
It's less typing?
A more helpful use is when you have a list of functions:
funs <- list(
>> # Use of Curry
>> adaptIntegrate(Curry(f, a=0.2), lower=0, upper=2)
>
> The _concept_ of currying is useful, and maybe more can be done to
> provide guidance and education on how to do it, but adding a function
> that sometimes works and somesimes does surprising things is not the
> way to go.
The tkrplot package is not working in version 2.13.0 for windows. I contacted
the maintainer who unfortunately does not have easy access to a windows
computer and says that it is working on the other platforms.
I traced the problem down to the line in the .First.lib function:
.Tcl(paste("load"
In terms of a personal use, that is absolutely fine. From the
perspective of a developer, you cannot stop a user from upgrading to
newer versions. Perhaps it is a matter of personal taste; I'm worried
more about adapting to latest versions than maintaining old versions.
If the new versions works fi
On Wed, May 4, 2011 at 10:53 AM, Ted Byers wrote:
>> -Original Message-
>> From: r-devel-boun...@r-project.org [mailto:r-devel-bounces@r-
>> project.org] On Behalf Of Gabor Grothendieck
>> Sent: May-04-11 10:35 AM
>> To: Duncan Murdoch
>> Cc: R-devel
>> Subject: Re: [Rd] Wishlist: write R'
On Wed, May 4, 2011 at 11:15 AM, Yihui Xie wrote:
> If I am already able to open R, there is no need to post the request
> here. I want to be able to run R without knowing where it is from
> another software package. Your batch files fit in this purpose, and
> the only problem is it is a little bi
If I am already able to open R, there is no need to post the request
here. I want to be able to run R without knowing where it is from
another software package. Your batch files fit in this purpose, and
the only problem is it is a little bit slower since it takes time to
look for R in the system vi
On Wed, 4 May 2011, Ravi Varadhan wrote:
I too would like this (being an Indian!).
I would not.
Here is an example that came up just yesterday with regards to solving a quadrature
problem using the "cubature" package. The adaptIntegrate function does not
allow additional arguments via ...
On Wed, May 4, 2011 at 10:40 AM, Ravi Varadhan wrote:
> I too would like this (being an Indian!).
>
> Here is an example that came up just yesterday with regards to solving a
> quadrature problem using the "cubature" package. The adaptIntegrate function
> does not allow additional arguments via
On 04/05/2011 10:40 AM, Ravi Varadhan wrote:
I too would like this (being an Indian!).
Here is an example that came up just yesterday with regards to solving a quadrature
problem using the "cubature" package. The adaptIntegrate function does not
allow additional arguments via ...
Uwe suggest
> -Original Message-
> From: r-devel-boun...@r-project.org [mailto:r-devel-bounces@r-
> project.org] On Behalf Of Gabor Grothendieck
> Sent: May-04-11 10:35 AM
> To: Duncan Murdoch
> Cc: R-devel
> Subject: Re: [Rd] Wishlist: write R's bin path to the PATH variable and
remove
> the version s
Fortune!
On Wed, May 4, 2011 at 11:24 PM, Barry Rowlingson <
b.rowling...@lancaster.ac.uk> wrote:
> On Wed, May 4, 2011 at 2:21 PM, Hadley Wickham wrote:
>
> > Any hints as to what to search for?
>
> For recursive objects, search for recursive objects.
>
> Barry
>
>
I too would like this (being an Indian!).
Here is an example that came up just yesterday with regards to solving a
quadrature problem using the "cubature" package. The adaptIntegrate function
does not allow additional arguments via ...
Uwe suggested a work around, but `Curry' would solve it ni
On Wed, May 4, 2011 at 8:11 AM, Duncan Murdoch wrote:
> On 11-05-03 11:25 PM, Yihui Xie wrote:
>>
>> 1. "Few Windows users use these commands" does not imply they are not
>> useful, and I have no idea how many Windows users really use them. How
>> do you run "R CMD build" when you build R packages
I thought I might bring this up again - it now seems like Curry would
be a natural fit with Reduce, Filter, Find, Map, Negate and Position.
Any chance we might see this in a future version of R?
Hadley
On Thu, Nov 1, 2007 at 2:00 PM, Byron Ellis wrote:
> Hi all (especially R-core) I suppose,
>
>
In current R it is described in R-ints instead:
http://r.research.att.com/man/R-ints.html#Tools
But don't ask me about the rationale. That said, you can search all manuals in
Google by simply using
foo site:http://r.research.att.com/man/
where "foo" is your query
Cheers,
S
On May 4, 2011,
On Wed, May 4, 2011 at 8:24 AM, Barry Rowlingson
wrote:
> On Wed, May 4, 2011 at 2:21 PM, Hadley Wickham wrote:
>
>> Any hints as to what to search for?
>
> For recursive objects, search for recursive objects.
Well, I was hoping Luke was meaning discussions about computing on the
language more
On Wed, May 4, 2011 at 8:07 AM, Duncan Murdoch wrote:
> On 04/05/2011 8:38 AM, Hadley Wickham wrote:
>>
>> Hi all,
>>
>> Is there any way to capture the complete unevaluated expression
>> corresponding to a function? I want the equivalent of
>>
>> x<- quote(function(x) x = 3)
>>
>> But captured a
On Wed, May 4, 2011 at 2:21 PM, Hadley Wickham wrote:
> Any hints as to what to search for?
For recursive objects, search for recursive objects.
Barry
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
> I never use is.recursive/is.atomic because the definition they use for
> an object to be recursive doesn't usually coincide with what I am
> interested in. (If you want to know what that definition is you can
> look at the source code, coerce.c:1790.) In computing on the language I
> would want o
Dear John and others,
I've been wondering about whether there's any way to indicate a "nil"
reference class object, which will represent "no value", and be tested
for, but not fail the internal type checking. NULL is the obvious
choice (or seems so to me), but can only be used if an explicit class
On 04/05/2011 8:38 AM, Hadley Wickham wrote:
Hi all,
Is there any way to capture the complete unevaluated expression
corresponding to a function? I want the equivalent of
x<- quote(function(x) x = 3)
But captured after the function is created. Body and formals each
captures a part, but is th
I never use is.recursive/is.atomic because the definition they use for
an object to be recursive doesn't usually coincide with what I am
interested in. (If you want to know what that definition is you can
look at the source code, coerce.c:1790.) In computing on the language I
would want one notion
add
IMPLICIT NONE
DOUBLE PRECISION X(N),XMEAN
INTEGER N,J
to your subroutine.
Ciao
Simone
P.S. It is best to include IMPLICIT NONE in all of your subroutines and to
avoid underscores in subroutines' names.
On Wed, May 4, 2011 at 2:26 PM, vioravis wrote:
> I have the following FORTRAN code
On 04/05/2011 8:26 AM, vioravis wrote:
I have the following FORTRAN code converted to a DLL:
! my_xmean.f90
!
! FUNCTIONS/SUBROUTINES exported from my_function.dll:
! my_function - subroutine
!
subroutine my_xmean(X,N,XMEAN)
! Expose subroutine my_function to users of this DLL
!
!DEC$ ATTRIBUTE
Thanks to you both for reminding me about those important recursive objects!
Hadley
On Wed, May 4, 2011 at 7:49 AM, peter dalgaard wrote:
>
> On May 4, 2011, at 14:35 , Kenn Konstabel wrote:
>
>> On Wed, May 4, 2011 at 3:26 PM, Hadley Wickham wrote:
>>> Hi all,
>>>
>>> Does anyone have a compreh
On May 4, 2011, at 14:35 , Kenn Konstabel wrote:
> On Wed, May 4, 2011 at 3:26 PM, Hadley Wickham wrote:
>> Hi all,
>>
>> Does anyone have a comprehensive list of recursive-type objects in R?
>> is.recursive defines them as by exclusion: "most types of objects are
>> regarded as recursive, exce
Hi all,
Is there any way to capture the complete unevaluated expression
corresponding to a function? I want the equivalent of
x <- quote(function(x) x = 3)
But captured after the function is created. Body and formals each
captures a part, but is there a built in way to get the whole thing?
f
On Wed, May 4, 2011 at 3:26 PM, Hadley Wickham wrote:
> Hi all,
>
> Does anyone have a comprehensive list of recursive-type objects in R?
> is.recursive defines them as by exclusion: "most types of objects are
> regarded as recursive, except for vector types, ‘NULL’ and symbols
> (as given by ‘as
I have the following FORTRAN code converted to a DLL:
! my_xmean.f90
!
! FUNCTIONS/SUBROUTINES exported from my_function.dll:
! my_function - subroutine
!
subroutine my_xmean(X,N,XMEAN)
! Expose subroutine my_function to users of this DLL
!
!DEC$ ATTRIBUTES DLLEXPORT,C,REFERENCE,ALIAS:'my_xmean_
Hello,
I developed R code to create the isomarginal family of two-way
contingency tables.
The isomarginal family are all possible tables given fixed margins. It
is needed for computing exact test statistics for two-way contingency
tables in frequentist statistics. I need it for computing a
no
Hi all,
Does anyone have a comprehensive list of recursive-type objects in R?
is.recursive defines them as by exclusion: "most types of objects are
regarded as recursive, except for vector types, ‘NULL’ and symbols
(as given by ‘as.name’)." I think this that means recursive objects
are:
* list
On 11-05-03 11:25 PM, Yihui Xie wrote:
1. "Few Windows users use these commands" does not imply they are not
useful, and I have no idea how many Windows users really use them. How
do you run "R CMD build" when you build R packages under Windows? You
don't write "C:/Program Files/R/R-2.13.0/bin/i3
Original message
>Date: Wed, 4 May 2011 09:44:14 +0200
>From: Martin Maechler
>Subject: Re: [Rd] R CMD check and Suggests Packages
>To:
>Cc: Martin Maechler , Hervé Pagès
>,
> export _R_CHECK_FORCE_SUGGESTS_=false
Curiously, that option isn't found in the current R-exts manual
> Dario Strbenac
> on Wed, 4 May 2011 10:00:07 +1000 writes:
> Hello,
>> If Dario really uses R 2.13.0 (or newer),
>> and he gets the above error message for a package that is not
>> required but only suggested,
>> I think we'd need a clear, ideally simple,
>>
> Wincent
> on Wed, 4 May 2011 13:46:13 +0800 writes:
> I also prefer to keep the old versions. Sometimes, I have
> spent time to set up the system with older version and
> don't want to update to the latest (e.g. the new RGtk2
> needs updated GTk2 as well) because t
63 matches
Mail list logo