Displaying 1 result from an estimated 1 matches for "r_print_par_t".
2003 May 02
2
Suppressing Scientific Notation
...changes line 286 to:
if (mF <= *m + R_print.scipen) {
R_print.scipen is an integer (defaulting to 0) set with "options":
R> options(scipen=99)
I tried to copy the code for R_print.digits (as in "options(digits=7)")
wherever I found it, notably in the struct "R_print_par_t" defined in Print.h.
I changed main/options.c and main/print.c, as detailed in the diff output
below. But I must have done it wrong because my version of R crashes with:
> Error: bad value
> Segmentation fault
Can anyone more familiar with options() help? How do you add a new opti...