search for: r_002edll

Displaying 3 results from an estimated 3 matches for "r_002edll".

2011 Jun 16
4
Controlling stdin and stdout in an embedded R instance
...to the ptr_R_ReadConsole and ptr_R_WriteConsole function pointers defined in Rinterface.h but do not know if this is a valid approach. I am working in Ubuntu 10.04 and thus the Windows example at the following address is not applicable. http://cran.r-project.org/doc/manuals/R-exts.html#Calling-R_002edll-directly Does anyone on this list have experience or an example of communicating with an embedded R console using native R commands and consuming the output one command at a time in a "Unix-alike" environment? Thank you, Mike Sonsini
2015 May 11
0
Windows environmental variables
...ssion running on Windows, due to the way that R Sys.getenv works, which I would consider a bug. Even if you do not agree, then you may still want to document it for future users who might be bitten. As outlined in R-exts (?8.2.2): http://cran.r-project.org/doc/manuals/r-release/R-exts.html#Calling-R_002edll-directly R_HOME/bin needs to be in the PATH environmental variable (by the way, I actually found that I needed R_HOME/binR_ARCH instead: you may want to update this). There are 2 ways to get & set environmental variables in Windows (I just discuss the UTF16 "widechar" methods): 1) t...
2010 Sep 29
0
getDLLVersion
Hi, I'm just learning to write R extensions in C and to embed R in C. I was trying to get through the example in the help page on calling the .dll directly ( http://cran.r-project.org/doc/manuals/R-exts.html#Calling-R_002edll-directly ). When I compile I consistently get the error that getDLLVersion() as well as get_R_HOME() and getRUser() are undefined references. These are defined in Rembedded.h ln60 as: extern char *getDLLVersion(void), *getRUser(void), *get_R_HOME(void); I included Rembedded.h from the example....