've run similar examples on my Windows 7 box at work and on my OS X
laptop (Mountain Lion) at home to confirm this is not os-dependent.
Thanks,
Dale Smith
dtsm...@mindspring.com
mat <- cbind(rnorm(50), rnorm(50), rnorm(50))
y <- rnorm(50)
cppFunction('
List fastLm(NumericVector
speed are good ones. Let me look over this tonight and send a
paragraph.
Sent from my iPhone
On Apr 11, 2013, at 9:52 PM, Dirk Eddelbuettel wrote:
>
> Hi Dale,
>
> On 11 April 2013 at 21:12, Dale Smith wrote:
> | I had a problem this afternoon with an arma::mat constructor an
S wrote:
> On Fri, Apr 12, 2013 at 11:12 AM, Dale Smith wrote:
>>
>> fastLm(y, mat) # error is "error: Mat::init(): mismatch between size of
>> auxiliary memory and requested size"
>
> There is a further option within the Mat constructor, which
As Dirk suggested below, I'm working on a paragraph to point out the
constructor used implies no modification of the arma::mat memory.
Dale
On Apr 11, 2013, at 9:52 PM, Dirk Eddelbuettel wrote:
>
> Hi Dale,
>
> On 11 April 2013 at 21:12, Dale Smith wrote:
> | I had a pr
Since you changed the function name, you can no longer call rcpp_hello_world()
from R. Try calling the new function name.
Better yet, start over, leave rcpp_hello_world code alone and add another .cpp,
.h, and .R file with another function.
Dale
On May 29, 2013, at 8:41 PM, Asis Hallab wrote:
I would say you should create a simpler example that still crashes. Comment out
everything except the first for loop; see if it crashes then. If not, uncomment
the next one, etc. Repeat this until you find where it crashes.
Do you have a one-off problem with a loop index? I think you do, but wil
skills will come in
handy, as well as the machine learning courses I’ve taken via Coursera.
I’m not leaving finance permanently, but am broadening my background with R,
machine learning, and high performance computing.
Dale Smith
___
Rcpp-devel mailing
I haven't been very active lately with Rcpp, but I like Nathan's advice below.
Don't redefine assert(), I think that's not friendly to inexperienced people
and will just generate more questions.
Dale Smith, Ph.D. | Data Scientist | nexidia | office: +1 404 495 7220 ext 400
m the Octave distribution?
http://stackoverflow.com/questions/9915658/how-do-you-open-mat-files-in-octave
This also offers a viable way to test this type of code for those who don't
have MATLAB.
Dale Smith, Ph.D. | Data Scientist | nexidia | office: +1 404 495 7220 ext 4008
| fax: +1 40
Hi,
Instead of posting this code to the list, a better idea is to write up your
solution for RcppGallery. That way you can share code with a wider audience.
http://gallery.rcpp.org <http://gallery.rcpp.org/>
Dale Smith
dtsm...@mindspring.com
> On Apr 3, 2015, at 8:02 AM, ogami musas
would volunteer to do this myself, but my spouse is already hostile to having
equipment around that is “not used”. Sorry.
Dale Smith
dtsm...@mindspring.com
> On Apr 3, 2015, at 7:40 AM, JJ Allaire wrote:
>
>> I am happy to share my experience with Solaris. I have been meaning to
if you have the expertise and can make the use case. Moving
data on and off the card is a third layer between you and the computations…
Dale Smith, Ph.D.
Data Scientist
[http://host.msgapp.com/Extranet/96621/Signature%20Images/sig%20logo.png]<http://nexidia.com/>
d. 404.495.7220 x 4
missed all new stuff from C++11.”
Dale Smith, Ph.D.
Data Scientist
[http://host.msgapp.com/Extranet/96621/Signature%20Images/sig%20logo.png]<http://nexidia.com/>
d. 404.495.7220 x 4008 f. 404.795.7221
Nexidia Corporate | 3565 Piedmont Road, Building Two, Suite 400 | Atlanta, GA
30305
Agree about macros.
Sent from my iPad
> On Aug 28, 2016, at 9:58 AM, Dirk Eddelbuettel wrote:
>
>
> Fatima,
>
> Oh, and just to clarify: Macros are still possible. In fact, if you study
> the Rcpp source code you will find _extensive_ use of them. But as a matter
> of programming style I w
Wrap the Rcpp headers in an #if/#endif. That way, when you our outside of R,
the Rcpp code is skipped.
I used this idea in 2013-2014 to build in R using Rcpp, and the same code in
Visual Studio.
Dale Smith
-Original Message-
>From: Yue Li
>Sent: May 4, 2017 10:16 AM
>To: r
of this group
could use Udemy. Actually, Udemy would reach more people.
I’m available for volunteer efforts to a limited extent.
Thanks,
Dale Smith
dtsm...@mindspring.com
917-691-1791
Note: All times are Eastern.
See my calendar to book a time to speak with me https://calendly.com/dtsmith2001
16 matches
Mail list logo