Displaying 10 results from an estimated 10 matches for "r_quiet".
Did you mean:
quiet
2009 Aug 14
1
Package-level access to Rp->R_Quiet ?
I would like to simulate the effect of the command-line option --quiet from
user-level scripts and startup code. From src/main/CommandLineArgs.c I learn
that Rp->R_Quiet is set, and I see how that is used in main/main.c.
I would use this from code in Rprofile.site. In other words, I want to be
silent when --quiet is used (as e.g. by littler or Rscript) but not by R
itself in normal interactive mode or from ESS.
But it seems that I cannot get to this variable outs...
2008 Mar 19
1
R_ParseVector problem: it's cutting off after the decimal point
...yShowconcise Message;
// user interaction: a user is asked a question an should answer
with YesNoCancel (maybe dialog)
Rp->YesNoCancel = myYesNoCancel;
// on R state changed: busy(=1)/idle(=0)
Rp->Busy = myBusy;
Rp->home = getRUser();
// R-Settings...
Rp->R_Quiet = (Rboolean)FALSE;
Rp->R_Interactive = (Rboolean)TRUE;
Rp->RestoreAction = SA_RESTORE;
Rp->SaveAction = SA_NOSAVE;
// our parameters
R_SetParams(Rp);
R_set_command_line_arguments(0, NULL);
GA_initapp(0, NULL);
readconsolecfg();
///...
2009 Jan 08
1
Callbacks seems to get GCed.
...rgv[] = {"REmbeddedPascal", "--gui=none", "--silent",
"--no-save"};
int argc = 4;
DllInfo *info;
setenv("R_HOME","/usr/lib/R",0);
structRstart rp;
Rstart Rp = &rp;
R_setStartTime();
R_DefParams(Rp);
Rp->R_Quiet = TRUE;
Rp->RestoreAction = SA_RESTORE;
Rp->SaveAction = SA_NOSAVE;
R_SetParams(Rp);
R_Interactive = TRUE;
Rf_initialize_R(argc, argv);
setup_Rmainloop();
R_ReplDLLinit();
info = R_getEmbeddingDllInfo();
R_registerRoutines(info, cMethods, callMethods, NULL, NULL);...
2001 Feb 17
1
More comments on R-1.2.1 builds (PR#852)
...n.h solves
that problem.
It then dies later in compilation of several routines, of which this
is typical:
c89 -I. -I../../src/include -I../../src/include -I/usr/local/include
-DHAVE_CONFIG_H -g -c devices.c -o devices.o
"../../src/include/Startup.h", line 48.14: 1506-009 (S) Bit-field R_Quiet
must be of type signed int, unsigned int or int.
...
The complaint is from the use of a bitfield modifier on an enum;
gcc will compile this code, but IBM's cc and c89 will not.
This appears to be a violation of 1989 Standard C: in ANSI
X3.159-1989, on p. 61, section 3.5.2.1, I find at line 30...
2006 Nov 27
1
R.DLL mapping by P/Invoke
...enum RYesNoCancel
{
Yes = 1,
No = -1,
Cancel = 0
};
enum RUIMode
{
RGui = 0, RTerm, LinkDLL
};
[StructLayout(LayoutKind.Sequential)]
struct RStartStruct
{
public RBool R_Quiet;
public RBool R_Slave;
public RBool R_Interactive;
public RBool R_Verbose;
public RBool LoadSiteFile;
public RBool LoadInitFile;
public RBool DebugInitFile;
public SaType RestoreAction;
public SaType Sav...
2012 Aug 20
0
Problem with initializiing R main loop under Windows (R.dll-version: 2.15.1)
...// If we have no GUI frontend running, don't init the R-server
if (!connectToGui()) return;
// set the start time
R_setStartTime();
// Definel callback handler struct
structRstart RParams;
R_DefParams (&RParams);
RParams.R_Quiet = FALSE; //
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.h...
2007 Oct 17
0
Using R.dll in .NET IPC
...enum RYesNoCancel
{
Yes = 1,
No = -1,
Cancel = 0
};
enum RUIMode
{
RGui = 0, RTerm, LinkDLL
};
[StructLayout(LayoutKind.Sequential)]
struct RStartStruct
{
public RBool R_Quiet;
public RBool R_Slave;
public RBool R_Interactive;
public RBool R_Verbose;
public RBool LoadSiteFile;
public RBool LoadInitFile;
public RBool DebugInitFile;
public SaType RestoreAction;
public SaType Sav...
1998 May 07
3
R-beta: scripting with R?
...call R with
command prompt arguments, like a file with a session?
Looking at the code I saw in file main.c something that lead me to
believe that
there must be a way to do it
[...]
/* File Input/Output */
int R_Interactive = 1; /* Interactive? */
int R_Quiet = 0; /* Be Quiet */
[...]
Can someone help me on that? Thanks in advance.
Oh! .... and thanks a lot to everybody that made R!
--
Pedro Vale Lima
email: eq3pvl at eq.uc.pt, pedrovl at yahoo.com
Chemical Eng. Dep.
Coimbra University
_________________________________________...
1998 May 07
3
R-beta: scripting with R?
...call R with
command prompt arguments, like a file with a session?
Looking at the code I saw in file main.c something that lead me to
believe that
there must be a way to do it
[...]
/* File Input/Output */
int R_Interactive = 1; /* Interactive? */
int R_Quiet = 0; /* Be Quiet */
[...]
Can someone help me on that? Thanks in advance.
Oh! .... and thanks a lot to everybody that made R!
--
Pedro Vale Lima
email: eq3pvl at eq.uc.pt, pedrovl at yahoo.com
Chemical Eng. Dep.
Coimbra University
_________________________________________...
2003 Jul 16
2
Fatal error in SJava.
Dear r-helpers,
I have been trying to invoke R from Java in a Windows 2000 computer
(unfortunately). All my environment variables seem to be properly set,
everything seems to be in order, but I obtaining a
Fatal error: unable to open the base package
error window.
Also, the output of the invoker is
Loading RInterpreter library
R_HOME: R_HOME=C:/Programas/R
RVersion: R_VERSION=1.6.1
whereas