search for: getruser

Displaying 5 results from an estimated 5 matches for "getruser".

Did you mean: get_user
2008 Mar 19
1
R_ParseVector problem: it's cutting off after the decimal point
...s utils datasets methods base ================================================ // init R Rf_initEmbeddedR(0, NULL); Rstart Rp = &rp; R_DefParams(Rp); // root of the R installation Rp->rhome = get_R_HOME(); // root of the users directory Rp->home = getRUser(); // UImode: RGui, RTerm, LinkDLL Rp->CharacterMode = LinkDLL; // function which reads input for R from a console Rp->ReadConsole = myReadConsole; // function which writes output from R to a console Rp->WriteConsole = NULL; Rp->WriteConsoleEx = myWriteCon...
2010 Sep 29
0
getDLLVersion
...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. I searched the entire R directory for the string getDLLVersion and only found it in Rembedded.h and the help docume...
2006 Nov 27
1
R.DLL mapping by P/Invoke
...= CharSet.Ansi)] [return: MarshalAs(UnmanagedType.LPStr)] static extern string get_R_HOME(); [DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)] [return: MarshalAs(UnmanagedType.LPStr)] static extern string getRUser(); //- R Start Up [DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)] static extern void R_setStartTime(); [DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)]...
2012 Aug 20
0
Problem with initializiing R main loop under Windows (R.dll-version: 2.15.1)
...// RParams.R_Interactive = TRUE; RParams.R_Verbose = FALSE; RParams.R_Slave = FALSE; RParams.RestoreAction = SA_RESTORE; RParams.SaveAction = SA_NOSAVE; RParams.rhome = get_R_HOME (); RParams.home = getRUser (); RParams.CharacterMode = LinkDLL; // RGui; RParams.ShowMessage = RShowMessage; RParams.ReadConsole = RReadConsoleWin; RParams.WriteConsoleEx = RWriteConsoleEx; RParams.WriteConsole = 0; RParams.CallBack = RDoProcessEvents;...
2007 Oct 17
0
Using R.dll in .NET IPC
...= CharSet.Ansi)] [return: MarshalAs(UnmanagedType.LPStr)] static extern string get_R_HOME(); [DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)] [return: MarshalAs(UnmanagedType.LPStr)] static extern string getRUser(); //- R Start Up [DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)] static extern void R_setStartTime(); [DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)]...