similar to: How do I bundle R with my Win32 Application?

Displaying 20 results from an estimated 10000 matches similar to: "How do I bundle R with my Win32 Application?"

2009 Oct 23
1
Confusion regarding allocating Matrices.
Hi I'm having slight confusion. I plan to grow/realloc a matrix depending on the data available in a C program. Here is what I'm tried to do: Data=allocMatrix(REALSXP,3,4); SEXP Data; REAL(Data)[8]=0.001123; REAL(Data)[200000]=0.001125; printf("%f %f\n\n\n\n",REAL(Data)[8],REAL(Data)[200000]); Here is my confusion: Do I always require to allocate the exact number of data
2009 Nov 11
1
Help with fPortfolio
Hi I'm getting the following errors while using the efficientPortfolio function even though I'm setting the target return to the mean of the TargetReturn I obtain from the portfolio object created by the feasiblePortfolio function. First Error: Error: targetReturn >= min(mu) is not TRUE Second Error: Error in .rquadprog(Dmat = args$Dmat, dvec = args$dvec, Amat = args$Amat, :
2010 May 19
1
Why does my RPy2 program run faster on Windows?
Hi This is my function. It serves an HTML page after the calculations. I'm connecting to a MSSQL DB using pyodbc. def CAPM(self,client): r=self.r cds="1590" bm="20559" d1 = [] v1 = [] v2 = [] print"Parsing GET Params" params=client.g[1].split("&") for items in
2009 Aug 25
2
Clarifications please.
Hi I think I have asked these questions earlier, but I been able to find answers from the documentation (which I found poorly written in several places). Will someone be kind enough to give me answers and enlighten me? (as in explain with CODE?) I want to embed R in my application and use the fPortfolio package for carrying out risk management computations. Right now I'm reading the Rmetrics
2009 Aug 25
1
R command line behaving funny
Hi I am unable to try out examples from the Rmetrics Ebook from the R command prompt. Below is an example of what happens: > Covariance<-cov(SWX.RET) Error in cov.timeSeries(SWX.RET) : no slot of name "Data" for this object of class "timeSeries" I have loaded Rmetrics and fPortfolio using the library function but still I get these errors. However, if I embed the R
2009 Oct 29
2
Help with lang4
Hi I seem to have run into a situation where I have more than 3 arguments to pass to a function from C. the following functions help me build an expression for evaluation: lang lang2 lang3 lang4 What should one do if there are more arguments than lang4 can handle? Regards Abhijit Bera [[alternative HTML version deleted]]
2005 May 01
3
win32-dir 0.1.0 compile problems
I tried to download/compile/install win32-dir, but I couldn''t get it to go. Over a private email Daniel Berger had me... "Curious. What platform are you on exactly? Try modifying the extconf.rb file. Add ''have_library("SHFolder")'' above ''have_library("shell32")''. If that doesn''t work, try uncommenting the other
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,
2004 Aug 06
0
libshout2, ices0-3 and ices2 on Win32. Announce
Hi Ross.. I can email you the sources (complete zip is about 5Mb..with all the dependency directories etc) and all you have to hit is build after that. Would appreciate help in getting it going. Let me know.. thanks abhijit --- Ross Levis <ross.levis@cchlawbase.co.nz> wrote: > Hi Abhijit > > I can't answer your questions but I would be very > interested in a fully >
2018 Aug 20
2
Windows "0xC00001A5: An invalid exception handler routine has been detected" with LLVM win32 (i386) SEH code
Indeed, it's 32bits x86 and there's no .safeseh or anything like it, even readobj -coff-load-config says nothing: File: ConsoleApplication830.exe Format: COFF-i386 Arch: i386 AddressSize: 32bit Now I know what to look for, thanks! On Mon, Aug 20, 2018, at 18:46, Reid Kleckner wrote: > This is 32-bit x86, right? Sounds like the exception handler did not > appear in the /safeseh
2004 Aug 06
2
libshout2, ices0-3 and ices2 on Win32. Announce
Hi Abhijit I can't answer your questions but I would be very interested in a fully working binary of Ices2 for Win32 once it's ready. Thanks for the effort. Best regards, Ross Levis ==================================== StationPlaylist.com http://www.stationplaylist.com Low-cost music scheduling, live assist & automation software. ==================================== Abhijit
2006 Nov 14
1
R.exp file for building packages
I am trying to port some C code from S-Plus (7.0.6) to R (2.4.0) under Windows XP SP2. I use Visual C++ 6.0 to build my library for S-Plus, so I'd like to stick with that set up, if possible. According to the README.packages file, I need the file R.exp (containing functions exported from R.dll, I'm guessing) to build an R package with VC++. >From what I've read in the archives of
2004 Aug 06
2
libshout2, ices0-3 and ices2 on Win32. Announce
Well...since this is a port to Win32 patches may not make sense. Pathnames to the required libraries are relative, but hardcoded from the point of reference. Without that, it will not build. Since there are lot more files (related to the IDE as well as some project build settings which link to libraries in Win32) which have no close equivalents in the non-Win32 world. Hence can't do patches.
2002 Nov 13
1
DLLs adding in C++ code
I would like to utilise the power of R by adding my own software as a package written in C++. As a first step I am trying to write a DLL with a simple function that can be called from R. The DLL contains a C++ routine written and complied in Microsoft Visual C++ Ver 6.0 and is based upon the example in R-Exts eg I am trying to create the following example function SEXP out(SEXP x, SEXP y) {
2018 Aug 20
2
Windows "0xC00001A5: An invalid exception handler routine has been detected" with LLVM win32 (i386) SEH code
Hi, I'm getting: Unhandled exception at 0x00C211F0 in ConsoleApplication830.exe: 0xC00001A5: An invalid exception handler routine has been detected (parameters: 0x00000001). With some fairly simple SEH enabled routine: define i32 @__elements_entry_point_main(%._gt2a_RemObjects_d_Elements_d_System_d_Array_t_1s*) #0 personality i8* bitcast (i32 ()* @_elements_exception_handler to i8*) !dbg
2004 Aug 06
2
libshout2, ices0-3 and ices2 on Win32. Announce
Hello.. I have libshout2, ices0-3 and ices2 compiling on Win32 with MSVC++ 6.0. However, I don't know where to upload the code and if someone is kind enuff to point out the location(s)/procedure that would be great. I will put a readme in the distro for compiling procedures. ices2 compiles but doesn't run correctly (yet). There are some issues related to parsing the ices-playlist.xml
2008 Apr 18
1
win32-api segfault
It looks like win32-api, both 1.0.5 and the latest in CVS, are segfaulting when I build with VC++ 8 or later. Both work fine with VC++ 6, though. Thinking it might be strncpy_s, I removed that, but it didn''t help. I installed a fresh Ruby built with VC++ 8 as well, but that didn''t help either. Loaded suite C:/rubyvc8/lib/ruby/site_ruby/1.8/rake/rake_test_loader Started
2009 Sep 16
2
I want to get a reference to this time series object
I'm trying to get a reference to this object in C SWX.RET[1:6,c("SBI,"SPI","SII")] While i am able to access and use a plain SWX.RET object, I'm getting confused on how to create an object with the array subscripts like above. Here is what I tried to do. It doesn't work because "[" is obviously not an operation or function on SWX.RET. So how do I
2011 Sep 14
0
pdf font example
Dear R Users--- [Because I struggled with this for a while, I decided to post it into r-help for the benefit of others, where google search will pick it up. thanks to everyone who made these facilities available.] The task is to use your own opentype otf fonts in an R-created pdf file using the pdf device (not with the [excellent] CairoPDF device, if only because it does not have colorspace
2008 Dec 31
4
[LLVMdev] Win32 JIT issue + bug in ScheduleDAGSNodes.h?
Hi all, While testing my compiler on win32 in JIT mode, I ran into a couple of issues: 1. I linked the compiler with the lib files resulting from the cmake created VS.NET build. While everything built just fine, the ExecutionEngine::create call always returned NULL. The fix was to also link with JIT.obj (thanks aKor for pointing me in the right direction). I would have thought that linking