Hi Paul,
Thank you for your illustrative explanation and help with rewriting the code.
It works now and, more importantly, I understand what is happening and why.
Best regards,
Satu
>-Original Message-
>From: Paul Murrell [mailto:p...@stat.auckland.ac.nz]
>Sent: 27. marrask
("A")
stackedplot(main="A")
I tried with different names and found out that if I plot in reversed
alphabetical order everything works fine. Once I try to plot in a viewport with
a name earlier in alphabetical order, all other plots thereafter are plotted in
the same view
Many Thanks for your help
Best,
Sergio
--
View this message in context:
http://n4.nabble.com/Inline-Package-void-vs-return-type-functions-tp1838423p2015898.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing
Dear all,
After having a look at the "inline" package and also going through the
"Rcpp" package which is tighty related to it, it came to me this question:
1) my C/ C++ code has a return type (let say a double[][] or a user define
class)
2) I am working with an extensive library built by someon
Dear Uwe Ligges, Douglas and Romain,
You were right. After changing to test.dl it worked. After doing that I re
run the example provided in the "inline" package and worked well. It seems
to me that the problem was that:
1) in the enviroment variables the path didn´t have the \bin folders of R
too
Dear Romain, you are right. Apologies, here is the complete result from your
script:
> code <- '#include \nSEXP f(){\n return R_NilValue ; }'
> writeLines( code, "test.c" )
> system( "R CMD SHLIB test.c" )
gcc -I"C:/R/R-210~1.1/include"-O3 -Wall -std=gnu99 -c test.c -o
test.o
gcc -sh
Dear Romain,
I am working with a PC with Windows-XP
I do have Rtools installed and running the code you propose, this is what I
get as a result:
> code <- '#include \nSEXP f(){\n return R_NilValue ; }'
> writeLines( code, "test.c" )
> dyn.load( "test.so" )
Error in inDL(x, as.logical(local), as
All is done in R 2.10.1 wiht the package "inline" version 0.3.4,,,
this are the packages that I have loaded into the workspace
> search()
[1] ".GlobalEnv""package:inline""package:stats"
"package:graphics" "package:grDevices" "package:datasets" "package:rcom"
[8] "package:r
I want to run some R script using the inline package (which allows to create
and run inline C++ code in my humble understanding).
So, after loading the required packages and copy and paste the example that
runs C code (in the Reference Manual as a PDF), I have a compilation error.
Any body has eve
9 matches
Mail list logo