(earlier I sent it as html by mistake).
Hi,
How can I get from C an object name used as a function argument? I
have sample code in C that gives me access to the name of the function
being called:
SEXP xname(SEXP x)
{
const char *fun_name = CHAR(PRINTNAME(CAR(x)));
x = CDR(x);
I'm not sure, but this option applies to Rblas and Rlapack. If you
want R statically linked you need to add the "-static" to
CFLAGS/FFLAGS etc.
regards,
daniel
2011/11/4 Michael Yan :
> Hello,
>
> I am trying to build a statically linked R linux binary that can be shipped
> around to different u
$ grep FFLAGS /usr/lib/R/etc/Makefile
add FFLAGS for gdb in this Makefile and reinstall your code.
regards,
daniel
2011/7/29 Paul Gilbert
> Is there an easy way to compile a packages's fortran so that it has the
> information for ddd or gdb to follow the lines of the code? I seem to
> remem
try xts package and functions:
reclass
period.max
period.min
best,
daniel
2011/2/8 Mike Williamson
> Hello,
>
>This is mostly to developers, but in case I missed something in my
> literature search, I am sending this to the broader audience.
>
>
> - Are there any plans in the works to ma
You're right Simon. 'open' is so common name.. and it's probably used in
some other part of R. I reneme it's from "open" to "open1" and now it works
without segfaults.
Thanks,
daniel
W dniu 10 wrze¶nia 2010 20:52 u¿ytkownik Simon Urbanek <
simon.urba...@r-project.org> napisa³:
> Daniel,
>
> I do
and build xts
object directly from C, so you have only .Call('myind',IBM) and it's
return xts object. On large data and when you need to call this
function with high frequency it's much more faster then
.xts(.Call('myind',Cl(IBM)),getAttrib(IBM,'index')).
reg
Hi,
I work with SEXP C code and with xts and quantmod packages. I try to
touch how xts internal works.
So we have R session and:
> ls()
character(0)
> getSymbols('AAPL') # quantmod package
[1] "AAPL"
> ls()
[1] "AAPL"
> str(AAPL)
An ‘xts’ object from 2007-01-03 to 2010-09-09 containing:
Da
Is there any posibility to use R without installing?
> I mean that I have my own application written in MS Visual C++ and I need
> to use R script in this app. I can install R and use it via DCOM, but it's
> not convenient for the end users of my program.
>
>
Dirk Eddelbuettel love R/C++ combina
2010/8/19 Vyacheslav Karamov
> Daniel CegieÅka пиÑеÑ:
>
>> http://www.rforge.net/r2c/
>>
>> regards,
>> daniel
>>
>>
>> 2010/8/19 Vyacheslav Karamov > ubuntul...@yandex.ru>>
>>
>>
>>Hi All!
>>
>>I'm new to R and I need to know is it possible for R to generate
>>C/C++ source code
I'm not a windows expert. You have C code file (not cc or cpp):
> R CMD SHLIB OrthoFunctions.c
and you use g++ compiler... ok, we can use c++ compiler for c.. but
it's looks like c++ code with c code inside:
> extern "C" {
Try it without "extern "C" and with gcc compiler instead g++.
regards,
10 matches
Mail list logo