Displaying 20 results from an estimated 10000 matches similar to: "Embedding R in C application"
2005 Dec 14
3
Linking C/C++ GUI to R.dll
Hi,
I am in the process of linking a C/C++ application to the R.dll
directly. I have obtained the R source code and compiled it
successfully. I have also successfully linked the R.dll directly into
our application and have made calls successfully into the R.dll that are
included in the sample rtest.c and in the "Writing R Extensions - The R
API".
The R functionality that we are
2005 Jun 28
2
Error in compiling R
When compiling R on Windows, I am getting the following error. Does
anyone have any suggestions?
---------- Making package datasets ------------
adding build stamp to DESCRIPTION
installing R files
installing data files
preparing package datasets for lazy data loading
Error in load(zfile, envir = envir) : input has been corrupted, with LF
replaced
by CR
Execution halted
make[4]: ***
2006 May 25
1
compiling tests/Embedding
I am compiling the Embedding examples in the tests directory and get an
undefined reference. I include the make output as well as grep'd output
of nm on libR.so and compiler and arch information. Do I have an
improperly built R shared library or is there a problem with the
Embedding tests or something else I am not seeing?
Thanks for any help!
George
ost at
2005 Mar 17
1
Compiling "embedding R" examples
Hi,
I am working at a major financial institution and we would like to embed R in one of our front office application.
The application is written in C/C++ so I started by trying to compile the examples in "tests/Embedding" of R 2.0.1.
I have modified "tests/Embedding/Makefile" according https://stat.ethz.ch/pipermail/r-help/2005-February/064341.html
and set
2009 Nov 15
2
Segmentation faults on SEXP conversion
Hello -
I am making a first attempt at writing a simple C++ routine to print
out R objects (this is a simple proof-of-concept as part of a larger
package development). The relevant C++ routine is as follows:
void Rwrite(SEXP fd, SEXP msg) {
int *ofd = INTEGER(fd);
const char * omsg = CHAR(asChar(msg));
printf("[%i] %s",*ofd,omsg);
}
And the corresponding interface in R is as
2008 Jan 12
2
Embedding R
hello all,
is there somewhere a comprehensive documentation for the (C) functions used for embedded R? (e.g. the functions which are used in the directory \tests\Embedding in the R source)
or
Are there somewhere many more examples for this? (especially handover of data between C and embedded R)
thanks,
Alex
--
2004 Oct 17
3
question about Rcmd SHLIB
Dear R-people:
I tried to create a shared library in Windows XP. However I got error
messages which attached below:
C:\lasso>Rcmd SHLIB all.f cox.f
gcc all.o libR makeMakedeps all.dll -o all
gcc.exe: libR: No such file or directory
gcc.exe: makeMakedeps: No such file or directory
make: *** [all] Error 1
I have created shard libraries successfully before. Also for the same
fortran files:
2001 May 13
1
Dynamic C Symbols and Embedding Suggestion
Hello, I've been playing around w/ the new dynamic C symbol stuff (thank
you for doing that!) in the, um, 5/11/01 R-devel package and, unless I've
missed something incredibly obvious, there doesn't appear to be a
mechanism for registering functions of an embedding executable. It seems
like this would be a Good Thing to have.
Since I'm doing most of my work in Windows at the
2009 Feb 11
4
5.2 x86_64 DVD
I've pulled this down with Firefox, wget, a bittorrent client and an ftp
client using Windows as well as Linux hosts. Is something wrong with the
distributed DVD image? It has failed an MD5 check every time I've pulled
it down.
Paul Fontenot
Wells Fargo
Public Key Infrastructure Team
Cryptography Services|IST|EIM|TES|TIG|Wells Fargo
Email: ward.p.fontenot at wellsfargo.com
2006 Jan 11
6
Output non-HTML (CSV) from Rails
Hi,
I want to offer a CSV download of data in my Rails app (eg. An "Export
to Excel" link to grab the current view of tabulated data).
However, I can''t seem to break-out of the Rails framework to output this
non-HTML data. Even if I eliminate my layout template from my view, the
most basic view (no HTML) will still wrap the output in
2006 Jun 27
6
embedding ruby code in a [flash :notice]
The ruby code in this isn''t evaluated...
flash[:notice] = "Your last recorded entry was <%= @in_out.time_in %>
<br />You are currently marked as ''In'', you probably want to check
''Out''"
Is there a way?
Craig
2009 Apr 03
3
gssapi not enabled
I'm trying to get gssapi-with-mic to work but the enabled field in the
method struct is disabled I.e.
The gssapi-with-mic enable field s not enabled in in the *method struct; it
fails at:
if (authmethod_is_enabled(method))
in the authmethod_is_enabled(method) function call
using ddd , OpenSSH 5.2.p1, Linux 2.6.22.5-31 (SuSE 10.2)
Questiion - what enables gssapi-with-mic?
Thanks
tedc
2005 Sep 06
3
OpenSSH-4.2p1 with OpenSSL-0.98 (bug)
Hello.
Installed OpenSSL-0.98
I cannot collect new OpenSSH-4.2p1 at assembly there is a mistake:
if test ! -z ""; then \
/usr/bin/perl5 ./fixprogs ssh_prng_cmds ; \
fi
(cd openbsd-compat && make)
make[1]: Entering directory `/home/pkg/openssh-4.2p1/openbsd-compat'
make[1]: ???? `all' ?? ??????? ?????????? ??????.
make[1]: Leaving directory
2006 Oct 17
2
CTRL-C behaviour with RODBC on Solaris2.8
After loading the RODBC package version 1.1-7, Ctrl-C changes its
behaviour and is quitting R and returning to the (unix-)command prompt
on the solaris2.8 platform here. Here's what happened before and after
loading RODBC
> for (i in 1:10^5) rnorm(10)
^C
> library(RODBC)
> for (i in 1:10^5) rnorm(10)
^C
bash-3.00$
platform sparc-sun-solaris2.8
arch
2004 Nov 03
4
rdoc, ri and gems
Hi all,
I''ve been going over the chapters on RDOC and gems lately. I think we
should probably work on making the code in Win32Utils "rdoc" friendly.
I''ve started doing this with ''win32-ipc'' as an experiment.
This probably means some directory reorganization, because I think gems
looks for extensions in an ''ext'' directory, whereas
2006 Jan 06
6
Help with TextSearch :all and MySQL
Hi,
I really need help with making the ''searches_on :all'' in Duane Johnson''s
TextSearch work with MySQL (not sure if it works with other db''s).
http://wiki.rubyonrails.com/rails/pages/TextSearch
I realize that there are other search packages out there. But this
particular solution best fits my small needs of searching a small
database.
I''ve gotten
2007 Aug 14
3
Should "a" match "ä" in ferret?
Hi all,
I have indexed a huge amount of data with text from several european
languages. In the index are values like Georg Friedrich H?ndel.
I would like a search phrase like "Georg Friedrich Handel" to find
records with the real spelling of H?ndel but it doesn''t seem to work.
Can anyone give me an idea of what I need to do to make this happen. A
bit lost here and
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
2005 Mar 17
3
Compiling "R Embedded" examples
Hi,
This question was first posted wrongly on R-help. Apologize for the inconvenience.
I am working at a major financial institution and we would like to embed R in one of our front office application.
The application is written in C/C++ so I started by trying to compile the examples in "tests/Embedding" of R 2.0.1.
I have modified "tests/Embedding/Makefile" according to
2006 Jan 03
3
Changing tables within rails app
Hi,
I want to know if my idea is possible within the rails framework.
I want to write a rails app that uses the same code to manage two
classes of widgets; "wired widgets" and "wireless widgets".
For the most part, all the code to manage these two classes of widgets
will be identical. The only differing part are some of the underlying
field names in each respective db table