search for: rembeddedpostgres

Displaying 9 results from an estimated 9 matches for "rembeddedpostgres".

2008 Mar 03
2
Fatal error: you must specify '--save', '--no-save' or '--vanilla'
Hi, I get the above error when starting my program with rake (ruby make) instead of manual startup (which works as expected). It happens on R initialization with "REmbeddedPostgres --gui=none --silent" as arguments (this is part of my way of embedding R in a C application using libR.so). Any help would be appreciated! Greetings, Andreas -- http://www.maunz.de Yoda of Borg are we: Futile is resistance. Assimilate you, we will.
2003 Mar 03
1
How to change the default library directory?
I installed SJava package at $R_HOME/lib/R/library/ When I conduct library(SJava), I always need to explicitly specify the library path, how could I change the default library path? I have included the SJava path in the LD_LIBRARY_PATH variable as: %echo $LD_LIBRARY_PATH R_HOME/lib/R/library:R_HOME/lib/R/library/SJava/libs:/usr/java/j2sdk1.4.0_01/jr$ The result in R is as:
2002 Nov 30
3
About building R1.6.1 on Cygwin
Hello. For building REmbeddedPostgres in Omegat project(http://www.omegahat.org/RSPostgres/) requiring PostgresSQL's libs, I've tried to build R1.6.1 on Cygwin following the instruction of http://www.stats.ox.ac.uk/pub/Rtools/ since full-spec PostgresSQL running on Windows can run only on Cygwin environment, However I've...
2012 Apr 18
1
C - R integration: Memory Issues
...gcc version 4.61 in a Ubuntu 11.10 linux machine. This is my function: static int prediction(double *berHistory, int berValues, double *ber) { SEXP e; SEXP bers; SEXP mean; int i; int errorOccurred; static int init = 0; char *argv[] = {"REmbeddedPostgres", "--gui=none", "--silent"}; int argc = sizeof(argv)/sizeof(argv[0]); // Initialize Embedded R if (init == 0) { Rf_initEmbeddedR(argc, argv); } init = 1; // Allocate bers and copy values PROTECT(bers = allocVector...
2015 Feb 05
0
How to unload R.dll successfully by FreeLibrary
...HMODULEm_hRDll = LoadLibrary(STR_R_DLL_PATH); if ( m_hRDll ) { PFN_Rf_initEmbeddedR pfnInit = (PFN_Rf_initEmbeddedR)GetProcAddress(m_hRDll, "Rf_initEmbeddedR"); PFN_Rf_endEmbeddedR pfnEnd = (PFN_Rf_endEmbeddedR)GetProcAddress(m_hRDll, "Rf_endEmbeddedR"); char*szArgs[] = {"REmbeddedPostgres", "--gui=none", "--silent"}; BOOL bRet = pfnInit(_countof(szArgs), szArgs); //call second time, this function will not return //do something. pfnEnd(0); FreeLibrary(m_hRDll); //==> After this, R.dll still in memory, as I can see in Visual Studio 2012, Module window } } /...
2003 Feb 04
0
new procedural language for PostgreSQL, PL/R
Hello, First, I hope it is OK for me to post this here -- if not, please tell me where would be better (r-help maybe?). I'm nearing completion of a new procedural language for PostgreSQL, PL/R. It provides an interface from Postgres to R. I was inspired by Duncan Temple Lang's REmbeddedPostgres (but pretty much started with PostgreSQL's pltcl as a basis). I'm developing against PostgreSQL 7.4devel and R 1.6.2, but before I'm done I intend (actually need) to make sure it works with PostgreSQL 7.3.x (the current release). Before I post the source somewhere, I have a question...
2007 Oct 30
3
Implementing R through Oracle
I have been looking for a statistical package that I can implement in our application and I came across R. We run an n-Tier environment with an Oracle 10g backend. Our design is to keep all business logic in the backend. What I would like to do is call R from pl/sql. I noticed that ROracle is designed to connect with and process from a client perspective. I actually would be running in the
2005 Feb 04
5
simple example of C interface to R
i'd like to use the C interface to R in a program i'm writing. as a starting point, i'm trying to create a very simple C program that uses R. i've read the R documentation on this, but i'm having trouble figuring out where SEXP is defined and how to use it. i noticed someone else on this list also tried to use the C interface, but they ran into similar problems:
2001 Nov 23
4
SQL implementations (was: Are you experienced in SAS and R ...)
An embedded message was scrubbed... From: Douglas Bates <bates at stat.wisc.edu> Subject: Re: [R] Are you experienced in SAS and R as well? Which of these would you recommend me? Date: 23 Nov 2001 15:16:59 -0600 Size: 4446 Url: https://stat.ethz.ch/pipermail/r-help/attachments/20011123/8d0399f0/attachment.mht