Yes, I did it. Thanks.
Aileen Lin
View my profile: au.linkedin.com/in/aileen2
On 2 Apr 2013 21:03, "JJ Allaire" wrote:
> Hi Aileen,
>
> You should also add bigmemory to the the Depends line of the DESCRIPTION
> file. See:
> http://cran.r-project.org/doc/manuals/R-exts.html#Linking-to-native-rou
Romain and Robin are correct. It's a bug, and we'll fix it.
Is it worth extra gymnastics of offering the older behaviour under an #ifdef,
or warning the first time it is triggered, or ... Or should we just mark it
in ChangeLog and NEWS and be done with it?
Dirk
--
Dirk Eddelbuettel | e...@deb
On 2 April 2013 at 20:28, Romain Francois wrote:
| Should be back to normal now.
Indeed, looks good -- thanks a bunch!
Dirk
--
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com
___
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-p
On Mon, 1 Apr 2013 10:13:54 -0500,Dirk Eddelbuettel wrote:
> On 1 April 2013 at 17:04, Ramon Diaz-Uriarte wrote:
> |
> |
> |
> | On Mon, 1 Apr 2013 08:15:48 -0500,Dirk Eddelbuettel wrote:
> |
> | > On 1 April 2013 at 14:48, Ramon Diaz-Uriarte wrote:
> | > |
> | > | Dear All,
> | > |
> |
Le 02/04/13 20:04, Chenliang Xu a écrit :
Maybe not. I think a function in library should do only one thing, and
for DataFrame::create it is building a data.frame. If the users wish to
convert string to factor, one should do it explicitly, may with a help
function such as `stringsToFactor` or `as
Maybe not. I think a function in library should do only one thing, and for
DataFrame::create it is building a data.frame. If the users wish to convert
string to factor, one should do it explicitly, may with a help function
such as `stringsToFactor` or `as.factor`. stringsAsFactor is an important
fe
Le 02/04/13 17:57, Dirk Eddelbuettel a écrit :
I agree with everybody too :)
I still like my example, and I obviously respect operator- "in general".
What I can't square is whether the code for operator- (which I may in fact
have defined the way I like it) _actually gets called_.
Of course i
On 2 April 2013 at 18:24, Robin Girard wrote:
| It was used in my c++ code :) that's why I had problems héhé.
Please abstract that out into a small, self-contained, reproducible example
and share it.
Thanks, Dirk
--
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com
__
It was used in my c++ code :) that's why I had problems héhé.
R.
- Mail original -
De: "Dirk Eddelbuettel"
À: "Robin Girard" , "Patrick Burns"
, "Romain Francois" ,
rcpp-devel@lists.r-forge.r-project.org
Envoyé: Mardi 2 Avril 2013 17:57:07
Objet: Re: [Rcpp-devel] Datetime substraction
On 2 April 2013 at 17:52, Romain Francois wrote:
| operator-( left, right ) is supposed to implement left - right, not
| right - left. end of story.
Can you provide an example where the operator is used on Date types?
Methinks instead of "silently" redefining an operator in the API which
someon
On 2 April 2013 at 17:37, Romain Francois wrote:
| Le 02/04/13 17:33, Dirk Eddelbuettel a écrit :
| >
| > On 2 April 2013 at 17:16, Romain Francois wrote:
| > | Do we really need this feature ?
| >
| > I like to maintain existing APIs and interfaces.
| >
| > I haven't had time to look at how you n
I agree with everybody too :)
I still like my example, and I obviously respect operator- "in general".
What I can't square is whether the code for operator- (which I may in fact
have defined the way I like it) _actually gets called_.
In what I sent on March 31 as the NewYear/Easter example
Le 02/04/13 17:43, Robin Girard a écrit :
I don't have any problem with Dirk's convention, and as Dirk said that should
not create such a discussion (and it was not my intention to create one, just
to point a problem I had if this can help others).
It obvisouly should not create a discussion
I don't have any problem with Dirk's convention, and as Dirk said that should
not create such a discussion (and it was not my intention to create one, just
to point a problem I had if this can help others).
However I think that your example is designed to miss my point. My point was
that the s
What. In c++, when we define an operator-(a, b), we are supposed to use
it like this in code:
diff = a - b ;
What you agree with suggest that diff should be the result of b - a.
This is non sense.
If we write a function, like "diff" in R, then why not give it whatever
behavior suits the h
In case Dirk is feeling lonely, I'll side with him.
I think the ultimate issue is abstraction versus
application. In a purely abstract setting, then I
agree that `-`(1, 3) should be negative. But we
don't have a purely abstract setting. I agree with
Dirk's New Year's/Easter example -- if the d
On 2 April 2013 at 17:16, Romain Francois wrote:
| Do we really need this feature ?
I like to maintain existing APIs and interfaces.
I haven't had time to look at how you now impletement the DataFrame ctor via
List -- but is there no way to catch that stringsAsFactor yes/no choice and
accomida
Le 02/04/13 17:01, Dirk Eddelbuettel a écrit :
On 2 April 2013 at 16:36, Romain Francois wrote:
| Le 29/03/13 16:37, Dirk Eddelbuettel a écrit :
| >
| > On 29 March 2013 at 16:20, rom...@r-enthusiasts.com wrote:
| > | Cool. I'll have a look when I'm back from easter weekend.
| >
| > Sounds good.
On 2 April 2013 at 16:36, Romain Francois wrote:
| Le 29/03/13 16:37, Dirk Eddelbuettel a écrit :
| >
| > On 29 March 2013 at 16:20, rom...@r-enthusiasts.com wrote:
| > | Cool. I'll have a look when I'm back from easter weekend.
| >
| > Sounds good.
| >
| > And that point, it would be really nice
With the current svn revision (4300), this should be fixed.
Le 27/03/13 14:19, 该走了 a écrit :
Dear Rcpp developer,
I am tried return a big DataFrame from Rcpp to R, but met some problem!
### begin dataframetest.cpp
#include
using namespace Rcpp;
using namespace std;
// [[Rcpp::export]]
Dat
Le 29/03/13 16:37, Dirk Eddelbuettel a écrit :
On 29 March 2013 at 16:20, rom...@r-enthusiasts.com wrote:
| Cool. I'll have a look when I'm back from easter weekend.
Sounds good.
And that point, it would be really nice if you could also restore the ability
to build Rcpp, which appears to have
Le 30/03/13 00:44, Dirk Eddelbuettel a écrit :
On 29 March 2013 at 23:37, Robin Girard wrote:
| Hi List
|
| why is it that we have in the Datetime definition
| (here
http://dirk.eddelbuettel.com/code/rcpp/html/Date_8cpp_source.html#l00271 )
|
| double operator-(const Datetime& d1, const Datetim
You posted twice.
This looks like something related to const ness. I'll have a look at
what I can do. Seems like we need to add some const in the
Module_generated_CppMethod.h file
e.g.
SEXP operator()( Class* object, SEXP*) const {
return Rcpp::module_wrap( (object->*met)( ) ) ;
}
..
Just want to add that you'll have more chance to get answer if you can give
us a reproductible, simple example of this problem.
On Tue, Apr 2, 2013 at 11:32 AM, Robin Girard <
robin.gir...@mines-paristech.fr> wrote:
>
> Hello list,
> I'm having troubles using module on a class that redefines a
Hello list,
I'm having troubles using module on a class that redefines a vector of Mytype
where Mytype is type that has several children types. Mytype has only methods
while cihldren inherit methods and have fields that are double or integer or
string.
- when I remove inheritance everything
Hello list,
I'm having troubles using module on a class that redefines a vector of Mytype
where Mytype is type that has several children types. Mytype has only methods
while cihldren inherit methods and have fields that are double or integer or
string.
- when I remove inheritance everything w
Hi Aileen,
You should also add bigmemory to the the Depends line of the DESCRIPTION
file. See:
http://cran.r-project.org/doc/manuals/R-exts.html#Linking-to-native-routines-in-other-packages
J.J.
On Tue, Apr 2, 2013 at 2:49 AM, Aileen Lin wrote:
> Problem solved. Need to add bigmemory after ' l
27 matches
Mail list logo