Displaying 3 results from an estimated 3 matches for "r_openlibraryfile".
2010 Mar 05
2
[PATCH] R ignores PATH_MAX and fails in long directories (PR#14228)
...e);
if((fp = R_fopen(buf, "r")))
return fp;
}
Index: src/main/startup.c
===================================================================
--- src/main/startup.c (revision 51208)
+++ src/main/startup.c (working copy)
@@ -52,10 +52,10 @@
attribute_hidden
FILE *R_OpenLibraryFile(const char *file)
{
- char buf[256];
+ char buf[PATH_MAX];
FILE *fp;
- snprintf(buf, 256, "%s/library/base/R/%s", R_Home, file);
+ snprintf(buf, PATH_MAX, "%s/library/base/R/%s", R_Home, file);
fp = R_fopen(buf, "r");
return fp;
}
@@ -71,1...
2011 Jan 05
1
rShowMessage "Fatal error: unable to open the base package
Hi All,
As you may know I am trying connect R with java by RJava, now I run the
examples, I got this error
rShowMessage "Fatal error: unable to open the base package
I am using 64bits windows 7 and eclipse. Any suggestions?
Many thanks
Ying
[[alternative HTML version deleted]]
1999 Aug 03
2
compliation problem
Problem compiling R.
version: 0.64.2
machine: SGI O2
OS: IRIX6.5
CC cc
FC f77
MAKE GNU make 3.75
Here is part of the the output for make.
make[2]: Leaving directory `/usr/people/faculty/math/mgass/stage/R/R-0.64.2/src/include'
make[2]: Entering directory `/usr/people/faculty/math/mgass/stage/R/R-0.64.2/src/appl'
cc -g -OPT:IEEE_NaN_inf=ON -I../include