Yes, encoding is something we have not dealt with yet.
This is not high on my priority list but there are ways to alter that
list, e.g. find a way to sponsor the development of that particular
feature through funding or even crowdfunding if enough people are
interested in having the feature an
Just to follow up in case anyone other than me is using Unicode in R: Rcpp
does not support Unicode, or really any encoding other than 7 bit ascii.
Internally R marks every string with an encoding, typically UTF8, Latin1 or
ASCII. When using as Rcpp just copies the bytes over ignoring the
en
After reviewing Jonathan's suggestion and Dirk's blog post on MCMC, I do agree
with him. As Dirk points out, the Rcpp code is almost identical to the R code,
making it an easier segue from R to C++ given the target audience.
Dale Smith, Ph.D.
Senior Financial Quantitative Analyst
Risk & Complian
For me, there are two reasons to learn Rcpp:
1. Rcpp provides a straightforward way to speed up existed R script.
I answered 2 question of speeding up R code on StackOverflow with Rcpp:
http://stackoverflow.com/questions/14495697/speeding-up-a-repeated-function-call/14495967#14495967
For this q
I think I've seen this somewhere out there on the webs...
http://dirk.eddelbuettel.com/blog/2011/07/14/
-
J.P. Olmsted
029 Corwin (Office)
130 Corwin Hall (Mail)
Politics Department
Princeton University
Princeton, NJ 0854
Just my quick thoughts:
Bayesian MCMC is what brought me to Rcpp. So, I have always found those
examples the most compelling. This is precisely because good R coding can't
improve performance on these problems and the gain in computational
performance really justified the development cost as oppos
http://gallery.rcpp.org/articles/fast-factor-generation/
Dale Smith, Ph.D.
Senior Financial Quantitative Analyst
Risk & Compliance
Fiserv
Office: 678-375-5315
www.fiserv.com
-Original Message-
From: rcpp-devel-boun...@r-forge.wu-wien.ac.at
[mailto:rcpp-devel-boun...@r-forge.wu-wien.ac.a
I'm giving a talk to the Chicago RUG that is limited to 30 mins, and I would
like to include some nice examples (besides standards like Fibonacci and
SimulatingPi). The other talk is on ggplot(2), so the house may be full with
new users / non-C++ hackers.
What examples should I talk about? B
Hi John
In case you're still having problems with this, I got this to work following
your steps with the only difference being that I built from within Rstudio,
using R3.0.1 and MinGW 4.6.3 (from latest Rtools) on WinXP. I had a few
undefined references during linking, but that was due to my local