Displaying 2 results from an estimated 2 matches for "r_guitype".
2010 Mar 05
2
[PATCH] R ignores PATH_MAX and fails in long directories (PR#14228)
...);
if ((fp = R_fopen(buf, "r"))) return fp;
}
return fp;
Index: src/main/main.c
===================================================================
--- src/main/main.c (revision 51208)
+++ src/main/main.c (working copy)
@@ -862,9 +862,9 @@
}
if (strcmp(R_GUIType, "Tk") == 0) {
- char buf[256];
+ char buf[PATH_MAX];
- snprintf(buf, 256, "%s/library/tcltk/exec/Tk-frontend.R", R_Home);
+ snprintf(buf, PATH_MAX, "%s/library/tcltk/exec/Tk-frontend.R", R_Home);
R_LoadProfile(R_fopen(buf, "r"...
2019 Oct 17
2
Cannot install dplyr
...dio and tried to
install it, but it couldn't find R. After researching the error I found a
suggestion to run `./configure` with the `--enable-R-shlib`. Did that, now
I run `make` and get
```
[Some other stuff up above here]
/usr/bin/ld: ../unix/X11.o: relocation R_X86_64_PC32 against symbol
`R_GUIType' can not be used when making a shared object; recompile with
-fPIC
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:177: libR.so] Error 1
make[3]: Leaving directory '/home/addem/Downloads/R-3.6.1/src/main...