search for: rcpp

Displaying 20 results from an estimated 694 matches for "rcpp".

Did you mean: cpp
2012 Nov 25
0
Problema de compilacion con Rcpp
Hola, necesito compilar un programa de tipo source (Rstan) con c++ La propia web del programa indica como hacerlo con Rcpp. Sin embargo no consigo que funcione Rcpp ni con un ejemplo básico. He seguido las instrucciones que vienen en http://tonybreyal.wordpress.com/2011/12/07/installing-rcpp-on-windows-7-for-r-and-c-integration/ Tengo instalado Rtools y los paths correspondientes, pero no hay manera... Casi todo p...
2016 Dec 19
4
Problems installing tibble (ggplot2) in R running Ubuntu 14.04
...pe 'unknown' length 54517 bytes (53 KB) ================================================== downloaded 53 KB * installing *source* package ?tibble? ... ** package ?tibble? successfully unpacked and MD5 sums checked ** libs g++ -I/usr/share/R/include -DNDEBUG -I"/usr/lib/R/site-library/Rcpp/include" -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c RcppExports.cpp -o RcppExports.o g++ -I/usr/share/R/include -DNDEBUG -I"/usr/lib/R/site-library/Rcpp/include" -fpic -g -O2 -fstack-protector --para...
2010 May 17
0
Rcpp 0.8.0 on CRAN
===== Summary ===== Version 0.8.0 of the Rcpp package was released to CRAN today. This release marks another milestone in the ongoing redesign of the package, and underlying C++ library. ===== Overview ===== Rcpp is an R package and C++ library that facilitates integration of C++ code in R packages. The package features a set of C++ class...
2010 May 17
0
Rcpp 0.8.0 on CRAN
===== Summary ===== Version 0.8.0 of the Rcpp package was released to CRAN today. This release marks another milestone in the ongoing redesign of the package, and underlying C++ library. ===== Overview ===== Rcpp is an R package and C++ library that facilitates integration of C++ code in R packages. The package features a set of C++ class...
2012 May 03
1
Setting up a windows system for rcpp
I am running into a wall getting my system to work with rcpp and inline. Following Dirk's advice on stackoverflow, I hope someone is able to help me. My steps were to install MinGW 32 bit first, then installing Rtools, I disabled MinGW's entry in the PATH. I am trying to get the following code to work: library(Rcpp) library(inline) body <-...
2013 Jun 21
1
compiling Rcpp with 3.0.1 on Solaris 10
Hello My colleagues asked me to install "R" with module "shiny". R version 3.0.1 compiled fine on Solaris 10 and is running well. I tried to install "shiny". With the dependencies "Rcpp" should be installed before. But the compile step did fail. See below. The initial error message is "Error in dyn.load(file, DLLpath = DLLpath, ...) :" Before there are some warning. The final problem is, that the shared library Rcpp.so was not generated. I am not familiar with R...
2013 Jun 20
1
compiling Rcpp with 3.0.1 on Solaris 10
Hello My colleagues asked me to install "R" with module "shiny". R version 3.0.1 compiled fine on Solaris 10 and is running well. I tried to install "shiny". With the dependencies "Rcpp" should be installed before. But the compile step did fail. See below. The initial error message is "Error in dyn.load(file, DLLpath = DLLpath, ...) :" Before there are some warning. The final problem is, that the shared library Rcpp.so was not generated. I am not familiar with R bu...
2016 Dec 19
0
Problems installing tibble (ggplot2) in R running Ubuntu 14.04
....net/~marutter/+archive/ubuntu/c2d4u) and then you can just "sudo apt-get install r-cran-tibble" and be good to go. Since tibble was built on the PPA, the most likely culprit for your issue is that the packages used to build tibble are not up to date. Do you have the latest version of Rcpp? Michael > **************** > Error messages: > **************** > install.packages("tibble") > Installing package into ?/home/terjej/R/x86_64-pc-linux-gnu-library/3.3? > (as ?lib? is unspecified) > trying URL 'https://cran.rstudio.com/src/contrib/tibble_1.2.tar...
2010 Mar 25
1
Error using Rcpp
Hi, Im not sure if this is the right place to post this. I am using Xubuntu Karmic Koala and am trying to use the Rcpp package. I am testing it using a simple code that takes in a vector and adds 1 to each element: #include <Rcpp.h> // This file takes in a vector and adds one to each entry RcppExport SEXP addone(SEXP vec){ // create a local copy of vec Rcpp::NumericVector orig(vec); // create...
2012 Nov 14
0
Rcpp 0.10.0
A new release 0.10.0 of Rcpp is now on CRAN, bringing a number of new features to R --- please see the announcement text below. The most direct change may be what we call 'Rcpp attributes' and which is described in a new vignette bringing the total to nine vignettes in the package. Dirk, on behalf of Dirk, Romain,...
2012 Nov 14
0
Rcpp 0.10.0
A new release 0.10.0 of Rcpp is now on CRAN, bringing a number of new features to R --- please see the announcement text below. The most direct change may be what we call 'Rcpp attributes' and which is described in a new vignette bringing the total to nine vignettes in the package. Dirk, on behalf of Dirk, Romain,...
2013 Nov 16
2
Linking to native routines in other packages
Hello, I'm currently working on making Rcpp use the feature described here more: http://cran.r-project.org/doc/manuals/R-exts.html#Linking-to-native-routines-in-other-packages To give more context, Rcpp has for a long time built what we called "the Rcpp user library", i.e. a library we could link against user the linker. We were...
2010 Dec 03
1
Error using Rcpp under windows xp
Hi, I am a newbie to Rcpp packages, and got problems in having basic set-ups for Rcpp under windows xp. Here is the list I have done. 1) installed Rtools and have no problem in compiling .c file. 2) installed Rcpp packages 3) set enviroment variables 'path' to make C:\Program Files\R\R-2.12.0\library\Rcpp\include\...
2017 Dec 03
5
Rcpp, dyn.load and C++ problems
Hi, I have written a small C++ function and compile it. However in R I can't see the function I have defined in C++. I have read some web-pages about Rcpp and C++ but it is a bit confusion for me. Anyway, This is the C++-code: #include <Rcpp.h> using namespace Rcpp; // [[Rcpp::export]] List compute_values_cpp(int totalPoints = 1e5, double angle_increment = 0.01, int radius = 400, double grow = 3.64) { double xn = 0.5; double angle = 0....
2013 May 14
2
invalid operands of types ‘SEXPREC*’ and ‘R_len_t’ to binary ‘operator/’ with Rcpp.
Dear R-Developers, I just started learning how to use Rcpp. Earlier while using it, I encountered an error as shown below: file74d8254b96d4.cpp: In function ‘Rcpp::NumericVector foo(Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::Function, Rcpp::Function)’: file74d8254b96d4.cpp:10: error: invalid operands of types ‘SEXPREC*’ and ‘R_le...
2014 Oct 22
1
Problems to compile examples of RInside
...k install of debian testing, not stable (jessie/sid, SMP Debian 3.16.3-2 (2014-09-20) x86_64 GNU/Linux) installed only with ssh-server and basic utilities (no X). Then I installed R by: apt-get install r-base-dev Then from R, I installed the needed (for me) packages by: install.packages(c("Rcpp","RInside","forecast", "quadprog", "tseries", "fracdiff", "zoo", "RcppArmadillo","randomForest","RInside","lubridate","quantmod","nnet","caret"),type="source&q...
2010 Dec 22
0
Rcpp 0.9.0 and RcppClassic 0.9.0
===== Summary ===== Version 0.9.0 of the Rcpp package is now on CRAN and its mirrors. This release marks another step in the development of the package, and a few key points are highlighted below. More details are in the NEWS and ChangeLog files included in the package. ===== Overview ===== Rcpp is an R package and associated C++ library...
2010 Dec 22
0
Rcpp 0.9.0 and RcppClassic 0.9.0
===== Summary ===== Version 0.9.0 of the Rcpp package is now on CRAN and its mirrors. This release marks another step in the development of the package, and a few key points are highlighted below. More details are in the NEWS and ChangeLog files included in the package. ===== Overview ===== Rcpp is an R package and associated C++ library...
2013 Jun 07
0
[Rcpp-devel] Setting the R random seed from Rcpp
...is stored. S+'s set.seed() accepts a value of .Random.seed but does not return the previous value. (If it is given an illegal value for .Random.seed it complains and sets it to a random value.) Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -----Original Message----- > From: rcpp-devel-bounces at lists.r-forge.r-project.org [mailto:rcpp-devel- > bounces at lists.r-forge.r-project.org] On Behalf Of Romain Francois > Sent: Friday, June 07, 2013 7:42 AM > To: Matteo Fasiolo > Cc: rcpp-devel at lists.r-forge.r-project.org > Subject: Re: [Rcpp-devel] Setting the R...
2010 Nov 22
1
Using RInside in Visual Studio 8.0 VC++.NET Program
...udio 9.0\VC\include\xlocale 1117 Qdev_R1 Error 102 error C2065: '_Count' : undeclared identifier C:\Program Files\Microsoft Visual Studio 9.0\VC\include\xlocale 1117 Qdev_R1 Error 316 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\R Lib\Packages\Rcpp\include\Rcpp\Language.h 150 Qdev_R1 Error 317 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\R Lib\Packages\Rcpp\include\Rcpp\Language.h 155 Qdev_R1 Error 318 error C2059: syntax error : '>' D:\R Lib\Packages\Rcpp\include\Rcpp\Language.h 164...