Displaying 4 results from an estimated 4 matches for "norenviron".
2013 Nov 21
2
Running R embedded in an mpiexec spawned process - Fatal error: you must specify '--save', '--no-save' or '--vanilla'
...SaveAction = StartupSaveAction.NoSave,
Slave = false,
Interactive = true,
Verbose = false,
LoadInitFile = true,
LoadSiteFile = true,
RestoreAction = StartupRestoreAction.NoRestore,
NoRenviron = false
};
rEngine.Initialize(rStartParams); // calls the R API R_SetParams, then setup_Rmainloop
I gather that the following is hit in src/R-3.0.2/src/unix/system.c, in the function Rf_initialize_R:
if (!R_Interactive && Rp->SaveAction != SA_SAVE &&...
2009 Sep 03
1
Running an expression 1MN times using embedded R
...UNPROTECT(2);
return(R_NilValue);
}
for(i = 0; i < Rf_length(cmdexpr); i++)
ans = R_tryEval(VECTOR_ELT(cmdexpr, i),NULL,&Rerr);
UNPROTECT(2);
return(ans);
}
int embedR(int argc, char **argv){
structRstart rp;
Rstart Rp = &rp;
R_DefParams(Rp);
Rp->NoRenviron = 0;
Rp->R_Interactive = (Rboolean)1;
R_SetParams(Rp);
R_SignalHandlers=0;
if (!getenv("R_HOME")) {
fprintf(stderr, "R_HOME is not set. Please set all required
environment variables before running this program.\n");
return(-1);
}
int stat= Rf_ini...
2006 Nov 27
1
R.DLL mapping by P/Invoke
...public RBool DebugInitFile;
public SaType RestoreAction;
public SaType SaveAction;
public uint vsize;
public uint nsize;
public uint max_vsize;
public uint max_nsize;
public uint ppsize;
public int NoRenviron;
//!! Warning - R will keep theses pointers. See gnuwin32\system.c (line 638)
public IntPtr home;
public IntPtr rhome;
//!!
[MarshalAs(UnmanagedType.FunctionPtr)]
public dgReadConsole readConsole;
[MarshalAs(Unmanag...
2007 Oct 17
0
Using R.dll in .NET IPC
...public RBool DebugInitFile;
public SaType RestoreAction;
public SaType SaveAction;
public uint vsize;
public uint nsize;
public uint max_vsize;
public uint max_nsize;
public uint ppsize;
public int NoRenviron;
//!! Warning - R will keep theses pointers. See gnuwin32\system.c (line 638)
public IntPtr home;
public IntPtr rhome;
//!!
[MarshalAs(UnmanagedType.FunctionPtr)]
public dgReadConsole readConsole;
[MarshalAs(Unmanag...