Displaying 20 results from an estimated 800 matches similar to: "Rcpp - Linking to DLL from another package?"
2017 Dec 18
1
Rcpp - Linking to DLL from another package?
On Mon, Dec 18, 2017 at 2:40 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
> (Moderately wrong list: r-package-devel for packaging questions, rcpp-devel
> for Rcpp questions)
>
> On 18 December 2017 at 13:24, Stravs, Michael wrote:
> | I am trying to make a package B that extends another package A. Package A uses Rcpp, and I want to extend a class X used there.
2016 Feb 29
0
Function name exported incorrectly in DLL, strange entries in tmp.def
Hi,
I originally posted this on the Rcpp github tracker, but it was suggested I post it here.
I tried to compile the package https://github.com/khabbazian/sparseAHC/ under Windows. The package requires C++11 so I had to install the R devel build with gcc 4.9.3, and the latest Rtools.
I got compilation and installation to work using Rcpp (0.12.3, from CRAN source). Package loads fine. However,
2017 Dec 18
0
Rcpp - Linking to DLL from another package?
(Moderately wrong list: r-package-devel for packaging questions, rcpp-devel
for Rcpp questions)
On 18 December 2017 at 13:24, Stravs, Michael wrote:
| I am trying to make a package B that extends another package A. Package A uses Rcpp, and I want to extend a class X used there.
It doesn't really matter (for the issue at hand) if you use Rcpp or not -- R
only offers us C interfaces so C
2014 Sep 30
1
Package Rcpp: Question conerning source code of cpp files and related question
Dear all,
I am trying to use Rcpp to write some files in C++ for use in R.
Below is an example for a cpp-file (crossp.cpp). Then I use
>sourceCpp("crossp.cpp") in R and the corresponding function is
availabe in R.
Now I have to question related to this worklfow:
1) Is there a way to see the source file of the "final" cpp-file? (I
mean is it possible to see how the
2017 Jan 13
1
calling native routines in another package (Sec 5.4.2 of Writing R Extensions)
I just (apparently) figured out how to do the stuff described in
Section 5.4.2 of
Writing R Extensions. I put my test toy packages on github
<https://github.com/cjgeyer/linkingTo> for anyone to copy. If anyone
cares to read the README and the bits of code it links to and tell me
anywhere I am wrong, I would be grateful.
But the main point of this e-mail is a complaint about that section
2011 Apr 15
1
[Rcpp-devel] Find number of elements less than some number: Elegant/fastsolution needed
On Thu, Apr 14, 2011 at 7:02 PM,
<rcpp-devel-request at r-forge.wu-wien.ac.at> wrote:
> I was able to write a very short C++ function using the Rcpp package
> that provided about a 1000-fold increase in speed relative to the best
> I could do in R. ?I don't have the script on this computer so I will
> post it tomorrow when I am back on the computer at the office.
>
>
2020 Jan 14
2
possible bug in win R-devel in check/test environment
Hi,
During my recent r2sundials development, I've came across a strange test
failing during 'R CMD check' exclusively on win R-devel which I could
reproduce with a minimal example that I present here.
The toy packages testarma1 [1] and testarma2 [2] are minimal
modifications of a skeleton package produced by
RcppArmadillo.package.skeleton().
They are almost identical. The first
2020 Jan 14
0
possible bug in win R-devel in check/test environment
Hi Serguei,
Nice analysis!
On 14 January 2020 at 11:00, Serguei Sokol wrote:
| During my recent r2sundials development, I've came across a strange test
| failing during 'R CMD check' exclusively on win R-devel which I could
| reproduce with a minimal example that I present here.
| The toy packages testarma1 [1] and testarma2 [2] are minimal
| modifications of a skeleton package
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 that facilitates integration
of C++ code in R
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 that facilitates integration
of C++ code in R
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++ classes (Rcpp::IntegerVector,
Rcpp::Function,
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++ classes (Rcpp::IntegerVector,
Rcpp::Function,
2023 Sep 02
1
Fails to install Rfast package
Hi,
I was trying to install Rfast package in iMac (OS HIGH SIERRA) from
source. However the installation fails with below message.
Rfast is an essential package for various other packages in R
Could you please help how to resolve this error?
Thankss for your help
> install.packages("/Volumes/WDStorage/NAS Download/Rfast_2.0.8.tar.gz", repos = NULL)
* installing *source* package
2010 Sep 15
2
lapack in R 2.11.1 (Ubuntu 10.04.1)
Hi there,
I'm trying to install the package RcppArmadillo in my R 2.11.1 which I installed
and regularly update via Ubuntu's repositories.
When I try to install RcppArmadillo from CRAN I get:
> install.packages('RcppArmadillo', lib='~/myRlibs')
[...]
g++ -shared -o RcppArmadillo.so RcppArmadillo.o fastLm.o
-L/home/matias/myRlibs/Rcpp/lib -lRcpp
2020 Apr 17
3
Demo for linking native routines between R packages
Dear Davis,
Thank you a lot for sharing this, and I am happy that I was not the only
one who need to do it once to learn:)
I proposed to add my repo to the manual. I think it makes sense to add both
of ours, if possible, or we could merge them together and add that to the
manual.
Long-term URL stability is apparently an issue, but I think we may find a
solution there.
Anyway, thanks a lot for
2018 Feb 27
0
Problem with R_registerRoutines
Sorry, resending with correct subject line.
I didn't find the development version of your package but the latest version archived on CRAN uses Rcpp, RcppArmadillo.
Since the latest versions of Rcpp and Armadillo support registration, it may be something related to RcppAttributes() or similar. I think that you don't need to do registration manually.
I had a similar problem but when I
2018 Feb 27
0
R-devel Digest, Vol 180, Issue 24
I didn't find the development version of your package but the latest version archived on CRAN uses Rcpp, RcppArmadillo.
Since the latest versions of Rcpp and Armadillo support registration, it may be something related to RcppAttributes()
or similar. I think that you don't need to do registration manually.
I had a similar problem but when I realised the above, I discarded everything
2014 Jan 15
1
rbinom in RcppArmadillo?
What is the RcppArmadillo way to make binomial draws from a vector of probs,
similar to what rbinom does in R?
Thanx!
--
View this message in context: http://r.789695.n4.nabble.com/rbinom-in-RcppArmadillo-tp4683593.html
Sent from the R devel mailing list archive at Nabble.com.
2011 Dec 05
1
RcppArmadillo compilation error: R CMD SHLIB returns status 1
Dear all,
running the example by D. Eddebuettel (http://dirk.eddelbuettel.com/blog/2011/04/23/) I get an error message. Specifically, the R code I was taking from the above example is
### BEGIN EXAMPLE ###
suppressMessages(require(RcppArmadillo))
suppressMessages(require(Rcpp))
suppressMessages(require(inline))
code <- '
arma::mat coeff = Rcpp::as<arma::mat>(a);
arma::mat
2020 Oct 08
1
Installing package fails at "testing if installed package can be loaded from temporary location"
Dirk, thank you a thousand times.
Indeed, src/Makevars was wrong. I modified Makevars so that now looks like
the below and the package now compiled and linked properly.
CXX_STD = CXX11
PKG_LIBS += $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
$(shell ${R_HOME}/bin/Rscript -e "RcppParallel::RcppParallelLibs()")
PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS) -I../inst/include