similar to: Rcpp package relaunched

Displaying 20 results from an estimated 400 matches similar to: "Rcpp package relaunched"

2010 Mar 30
1
Adding RcppFrame to RcppResultSet causes segmentation fault
Hi, I'm a bit puzzled. I uses exactly the same code in RcppExamples package to try adding RcppFrame object to RcppResultSet. When running it gives me segmentation fault problem. I'm using gcc 4.1.2 on redhat 64bit. I'm not sure if this is the cause of the problem. Any advice would be greatly appreciated. Thank you. Rob. int numCol=4; std::vector<std::string>
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
2010 Mar 18
1
Creating Rcpp RcppDatetime from string with millisecond
Hi, I was trying to generate RcppDatetime from a string. The main problem for me is that my string contains millisecond. I saw that RcppDatetime takes in double of seconds since epoch. I try to generate a double using boost but has no success. I'm wondering if you have any sample snippet? The string looks like: "2010-03-18 15:50:51.232" Secondly, what time zone RcppDatetime is
2009 Dec 13
1
How to resolve include Rcpp.h problems?
Hi, I am Linux Ubuntu 9.04 user. I'm using R-2.6. Actually, I am developing R package for reading/writing 3D images. I needed to use the R package Rcpp in order to make profit of available C/C++ codes. My problem is that my C code is not able to include the Rcpp.h In fact, when I run this command R CMD build rply, I got the following error message in the file
2023 Apr 10
1
Archive policy and Rcpp?
It appears that my archived packages Rcpp and RcppTemplate have been removed at CRAN, yet they appeared in the CRAN archives until recently. What is the CRAN policy on archives and removal? Thanks, Dominick [[alternative HTML version deleted]]
2015 Feb 01
0
invoking R function in C++ in parallel
On 31 January 2015 at 19:29, G?bor Cs?rdi wrote: | On Sat, Jan 31, 2015 at 7:05 PM, Dirk Eddelbuettel <edd at debian.org> wrote: | [...] | | - either work in something like OpenMP and run in multiple threads that | ? ?remain /completely/ shielded from R, ie no R calls, and not even R data | ? ?types as you cannot trigger gc() calls from different threads | | | I think you can
2009 Sep 29
3
How do I access class slots from C?
Hi I'm trying to implement something similar to the following R snippet using C. I seem to have hit the wall on accessing class slots using C. library(fPortfolio) lppData <- 100 * LPP2005.RET[, 1:6] ewSpec <- portfolioSpec() nAssets <- ncol(lppData) setWeights(ewSpec) <- rep(1/nAssets, times = nAssets) ewPortfolio <- feasiblePortfolio( data = lppData, spec = ewSpec,
2009 Dec 22
2
Rcpp: Clarifying the meaning of GPL?
I wrote the Rcpp library and the RcppTemplate package to make it easier for developers to contribute packages to the R community. In addition to providing detailed documentation on package creation it provides a clean object mapping between R anc C++ that helps developers to implement packages that benefit from the performance of C++ and the flexibility of R. The package named 'Rcpp' was
2010 Jun 18
0
Relaunch of the Kansas City Asterisk User Group
Just a note to anyone in the Kansas City area that I've relaunched the KCAUG website/group at http://kcaug.org. Please drop by and join the group. :) -- Kyle Sexton
2005 Nov 01
2
preparing relaunch of WineTols 0.9
Hello, we are on the way to relaunch winetools for 0.9. One problem remains unsolved: Whenever we start Word 2k, it states "Preparing installation..." and "Please wait till office completes the installation..". It does so and we have a working Word. But is it annoying that is done on every single start of Word. All other Office2k apps perform very well. Regards Joachim von
2017 Oct 02
1
relaunching libguestfs with the same overlay
On Mon, Oct 02, 2017 at 11:50:42AM +0300, Maxim Kozover wrote: > Hi Richard! > Could you tell me, please, if there is a way to relaunch libguestfs with > the same overlay from the last run? The documentation tells the overlay is > removed when the handle to libguestfs is closed. Right, the overlay is created by libguestfs itself and thrown away when the handle is closed:
2012 Oct 10
0
NOTE: Relaunching handles (don't do it!)
It's possible through the API to do a sequence of calls like this: g = guestfs_create (); guestfs_add_drive (g, "foo"); guestfs_launch (g); guestfs_shutdown (g); guestfs_launch (g); # relaunch the handle The question is, what should be the state of the handle at the second launch? Would the verbose flag still be set if it had been set earlier? (I think fairly
2018 Jun 06
0
Refresh streams without relaunching icecast.
How do you refresh a stream without relaunching, we would like to add new mp3 into a root folder using m3u. We get that the m3u needs to be updated but cant figure out how to use " http://172.31.145.234:8000/admin/updatemetadata.xsl?mount=/stream" For example the file would be: thisband - greatsong.mp3 as below *MPG Radio *|* BandFan | *bandfanforum at gmail.com Founded in 2012,
2013 Jun 07
0
[Rcpp-devel] Setting the R random seed from Rcpp
This would be easier if base::set.seed() accepted a value of .Random.seed instead of just a scalar integer or, new to R-3.0.0, NULL. If set.seed() returned the previous value of .Random.seed (NULL if there was no previous value) things might be even easier. People should not have to know where .Random.seed is stored. S+'s set.seed() accepts a value of .Random.seed but does not return the
2011 Jan 11
0
[Rcpp-devel] Loading a package using Rcpp Modules results in memory corruption
On Tue, Jan 11, 2011 at 2:41 PM, Romain Francois <romain@r-enthusiasts.com>wrote: > Le 11/01/11 19:57, Romain Francois a écrit : > > Le 11/01/11 19:46, Douglas Bates a écrit : >> >>> On Tue, Jan 11, 2011 at 12:27 PM, Dominick >>> Samperi<djsamperi@gmail.com> wrote: >>> >>>> >>>> >>>> On Tue, Jan 11, 2011 at
2015 Feb 01
2
invoking R function in C++ in parallel
On Sat, Jan 31, 2015 at 7:05 PM, Dirk Eddelbuettel <edd at debian.org> wrote: [...] > - either work in something like OpenMP and run in multiple threads that > remain /completely/ shielded from R, ie no R calls, and not even R data > types as you cannot trigger gc() calls from different threads > I think you can use R objects, as long as you don't call R functions on
2010 Feb 25
1
Including Rcpp in Eclipse C++ project
Hello. I am trying to include R in an eclipse C++ project so that I can use Rcpp and Rinside. Right now I have R installed on my Ubuntu machine and both plugins are installed too. I have the directories of the corresponding .so files set in the Project > Properties > Settings Gcc c++ linker under Library Search Path. Here is the error that I'm getting when I try to build my code: >
2010 Sep 09
0
advise on operations speed with Rcpp,Boost::ipc Shared Memory
Hi, I have an implementation where I transfer data records via shared memory to an R program. If anyone has prior experience, I'd like to find out which would be faster 1) storing data records in shared memory as they are(in a matrix) and then use the Rcpp::wrap to convert them to R datatypes 2) merge the records into a string and store records as strings. Then use R functions like
2012 Dec 05
1
RInside, rcpp compilation problem
I have spent some hours browsing the RInside and rcpp documentation, lots of it; but ... as a programmer of C++ since 1990, on both Windows and Unix ... ( Solaris and Ubuntu, and Mandrake/Mandrivo Linux); I see a minor problem ...... Where is the rcpp.h header file?? The below code fails to compile as the RInside.h header file references the rcpp.h header file, which is not included with
2010 Jul 28
1
How get colnames and rownames in Rcpp method?
Hi all, How get colnames and rownames in Rcpp method? attecthed file : RGui.exe capture my work environment : R version : 2.11.1 OS : WinXP Pro sp3 Thanks and best regards. Young-Ju, Park from Korea [1][rKWLzcpt.zNp8gmPEwGJCA00] [@from=dllmain&rcpt=r%2Dhelp%40r%2Dproject%2Eorg&msgid=%3C20100728211143%2EH