search for: gramlatex

Displaying 20 results from an estimated 25 matches for "gramlatex".

2013 May 16
2
Incorrect target file name for gramLatex.c
Hi! The attached patch changes the rule that describes the actions for gramLatex.c in src/library/tools/src/Makefile.in so it actually generates that file instead of "gramLatex." (no extension). The file name without extension is not referenced anywhere else and in R-2.12 the same rule still used the full name, so it appears that the "c" was lost in editing...
2023 Jul 21
1
tools::parseLatex() crashes on "\\verb{}"
...until unsigned int > nstext overflows and results in a 0-byte allocation, which is then > overrun, corrupting the heap. Any other unterminated \verb!... would > have caused the same crash. > > Here's a patch that prevents this particular crash: > > --- src/library/tools/src/gramLatex.y (revision 84714) > +++ src/library/tools/src/gramLatex.y (working copy) > @@ -846,8 +846,8 @@ > > TEXT_PUSH('\\'); TEXT_PUSH('v'); TEXT_PUSH('e'); TEXT_PUSH('r'); > TEXT_PUSH('b'); > TEXT_PUSH(c); > - while ((c = xxgetc...
2015 Dec 18
1
Assistance much appreciated
...- new.env(hash=TRUE) + # browser() load(srcFile, e) + # browser() makeLazyLoadDB(e, file.path(destDir, "sysdata"), compress = compress) + # browser() } list_data_in_pkg <- function(package, lib.loc = NULL, dataDir = NULL) diff -ru R-3.2.3.dist/src/library/tools/src/gramLatex.c R-3.2.3/src/library/tools/src/gramLatex.c --- R-3.2.3.dist/src/library/tools/src/gramLatex.c 2015-12-09 23:20:01.000000000 +0000 +++ R-3.2.3/src/library/tools/src/gramLatex.c 2015-12-17 14:50:14.000000000 +0000 @@ -1358,7 +1358,7 @@ /* The lookahead symbol. */ - int yychar; + exte...
2016 Mar 14
2
Help with libiconv problem
...thie make log might trigger something in the readers of this list: gcc -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L../../../../lib -L/usr/local/lib -o tools.so text.o init.o Rmd5.o md5.o signals.o install.o getfmts.o http.o gramLatex.o gramRd.o -L../../../../lib -lR -Wl,-framework -Wl,CoreFoundation mkdir ../../../../library/tools/libs installing 'sysdata.rda' Warning messages: 1: In strptime(paste(.leap.seconds, "23:59:60"), "%Y-%m-%d %H:%M:%S") : unknown timezone 'America/Los_Angeles' 2...
2014 Jan 18
1
Error when making R in Windows
...I just use ¡±make all recommended¡± as mentioned in the documents and it does work for R 2.15.2. However, for R 3.0.2, I get the following error message, gcc -shared -s -static-libgcc -o tools.dll tmp.def text.o init.o Rmd5.o md5.o signals.o install.o getfmts.o http.o gramLatex.o gramRd. o ../../../gnuwin32/dllversion.o -L../.././../bin/i386 -lR Error in parse(n = -1, file = file, srcfile = NULL, keep.source = FALSE) : invalid multibyte character in parser at line 32021 Error: unable to load R code in package 'tools' Execution halted make[2]: *** [all] Erro...
2014 Oct 24
1
Error: Line starting 'Package: tools ...' is malformed!
...s going well until I hit this: xlc_r -q64 -Wl,-brtl -Wl,-G -Wl,-bexpall -Wl,-bnoentry -lc -L/opt/freeware/lib64 -L/opt/freeware/lib -Wl,-blibpath:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000 -o tools.so text.o init.o Rmd5.o md5.o signals.o install.o getfmts.o http.o gramLatex.o gramRd.o -lm make[6]: Entering directory `/home/meb/source/R-3.1.1/src/library/tools/src' mkdir -p -- ../../../../library/tools/libs make[6]: Leaving directory `/home/meb/source/R-3.1.1/src/library/tools/src' make[5]: Leaving directory `/home/meb/source/R-3.1.1/src/library/tools/src'...
2012 Mar 13
0
111 FIXMEs in main/src
...he eval.c- data frame defined by the system hash table. The structure there -- format.c: /* FIXME: we should really test for floorl, also C99. format.c- But FreeBSD 7.x does have it, but not nearbyintl */ -- gram.c: f = R_atof(s); /* FIXME: make certain the value is legitimate. */ gram.c- -- gramLatex.c: /* FIXME: check that begin and end match */ gramLatex.c- setAttrib(ans, R_SrcrefSymbol, makeSrcref(lloc, SrcFile)); -- gramLatex.y: /* FIXME: check that begin and end match */ gramLatex.y- setAttrib(ans, R_SrcrefSymbol, makeSrcref(lloc, SrcFile)); -- gram.y: f = R_atof(s); /* FI...
2015 Aug 31
2
R doesn't compile on FreeBSD 10.2
On FreeBSD 10.2, I get the following error when compiling R from the Subversion trunk (with "configure && make"): cc -shared -L/usr/local/lib -o tools.so text.o init.o Rmd5.o md5.o signals.o install.o getfmts.o http.o gramLatex.o gramRd.o mkdir ../../../../library/tools/libs installing 'sysdata.rda' Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/usr/home/davor/R-dev/R-trunk/library/tools/libs/tools.so': /usr/home/davor/R-dev/R-trunk/library/tools/l...
2011 Mar 02
3
CentOS 5 install won't make with shared libs enabled
...hmetic.o array.o attrib.o base.o bind.o builtin.o character.o coerce.o colors.o complex.o connections.o context.o cov.o cum.o dcf.o datetime.o debug.o deparse.o deriv.o devices.o dotcode.o dounzip.o dstruct.o duplicate.o engine.o envir.o errors.o eval.o format.o fourier.o gevents.o gram.o gram-ex.o gramLatex.o gramRd.o graphics.o grep.o identical.o inlined.o inspect.o internet.o iosupport.o lapack.o list.o localecharset.o logic.o main.o mapply.o match.o memory.o model.o names.o objects.o optim.o optimize.o options.o par.o paste.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o...
2015 Oct 09
2
R 3.2.2 64 bit compilation error on AIX
...E_CONFIG_H -I../../../../src/main -I/usr/local/include -mminimal-toc -O2 -g -mcpu=power6 -c gramRd.c -o gramRd.o gcc -maix64 -pthread -std=gnu99 -shared -Wl,-brtl -Wl,-G -Wl,-bexpall -Wl,-bnoentry -lc -L/usr/local/lib -o tools.so text.o init.o Rmd5.o md5.o signals.o install.o getfmts.o http.o gramLatex.o gramRd.o -lm -lintl make[6]: Entering directory '/sas/data04/vinh/R-3.2.2/src/library/tools/src' mkdir -p -- ../../../../library/tools/libs make[6]: Leaving directory '/sas/data04/vinh/R-3.2.2/src/library/tools/src' make[5]: Leaving directory '/sas/data04/vinh/R-3.2.2/src/...
2015 Dec 18
1
Assistance much appreciated
FWIW I was able to replicate the problem using AIX7.1 on Power8, R 3.2.3, vac/xlc 11.1, xlf 13.1 in 64-bit mode. Indeed, Peter's analysis is correct re_regexecb(&regline, line..) returns REG_NOMATCH even though the string is literally "Package: tools" - no special characters anywhere. On Dec 17, 2015, at 3:37 PM, peter dalgaard <pdalgd at gmail.com> wrote: > >>
2012 Jan 20
1
Building R on RHEL 5
...hmetic.o array.o attrib.o base.o bind.o builtin.o character.o coerce.o colors.o complex.o connections.o context.o cov.o cum.o dcf.o datetime.o debug.o deparse.o deriv.o devices.o dotcode.o dounzip.o dstruct.o duplicate.o engine.o envir.o errors.o eval.o format.o fourier.o gevents.o gram.o gram-ex.o gramLatex.o gramRd.o graphics.o grep.o identical.o inlined.o inspect.o internet.o iosupport.o lapack.o list.o localecharset.o logic.o main.o mapply.o match.o memory.o model.o names.o objects.o optim.o optimize.o options.o par.o paste.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o...
2010 Oct 03
2
R-beta_2010-10-02_r53128 fails to compile on FreeBSD
...ic.o array.o attrib.o base.o bind.o builtin.o character.o coerce.o colors.o complex.o connections.o context.o cov.o cum.o dcf.o datetime.o debug.o deparse.o deriv.o devices.o dotcode.o dounzip.o dstruct.o duplicate.o engine.o envir.o errors.o eval.o format.o fourier.o gevents.o gram.o gram-ex.o gramLatex.o gramRd.o graphics.o grep.o identical.o inlined.o inspect.o internet.o iosupport.o lapack.o list.o localecharset.o logic.o main.o mapply.o match.o memory.o model.o names.o objects.o optim.o optimize.o options.o par.o paste.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvecto...
2015 Dec 17
5
Assistance much appreciated
I have been struggling with this error message - and think I finally understand it's context. Start Line by line debugging shows me the function works: ... > saveRDS(val, mapfile) > val $variables $variables$IANA_HTTP_status_code_db [1] 0 1256 $variables$IANA_URI_scheme_db [1] 1256 3458 $variables$table_of_HTTP_status_codes [1] 4714 830 $references named list() $compressed
2015 Aug 31
2
R doesn't compile on FreeBSD 10.2
...t this, and more, would be included in config.log, but please let me know if there is other place to get the configuration details that are relevant.) Still the same error: --- tools.so --- cc -shared -L/usr/local/lib -o tools.so text.o init.o Rmd5.o md5.o signals.o install.o getfmts.o http.o gramLatex.o gramRd.o --- all --- --- shlib --- mkdir ../../../../library/tools/libs --- sysdata --- installing 'sysdata.rda' Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/usr/home/davor/R-3.2.2/library/tools/libs/tools.so': /usr/home/dav...
2016 Mar 14
0
Help with libiconv problem
...gger something in the readers of this list: > > gcc -dynamiclib -Wl,-headerpad_max_install_names -undefined > dynamic_lookup -single_module -multiply_defined suppress > -L../../../../lib -L/usr/local/lib -o tools.so text.o init.o Rmd5.o > md5.o signals.o install.o getfmts.o http.o gramLatex.o gramRd.o > -L../../../../lib -lR -Wl,-framework -Wl,CoreFoundation > mkdir ../../../../library/tools/libs > installing 'sysdata.rda' > Warning messages: > 1: In strptime(paste(.leap.seconds, "23:59:60"), "%Y-%m-%d %H:%M:%S") : > unknown timezone ...
2017 Feb 20
0
[patch] Eliminate warnings from gcc -Wold-style-declaration
...Ubuntu 14.04.5 LTS (gcc 4.8.4) and OS X 10.7.5 (gcc 6.3.0 installed from Homebrew). Revision 72220 failing 'make check' ("Error: testing 'utils' failed") with or without the patch must be unrelated to the changes made in the patch. The files "src/library/tools/src/gramLatex.y", "src/library/tools/src/gramRd.y" and "src/main/gram.y" were processed with 'bison -l -y' (GNU Bison version 2.7.1, erroneusly reporting the version as 2.7.12-4996) to create the corresponding .c files. As the warnings are only given when the user asks for &q...
2015 Oct 09
0
R 3.2.2 64 bit compilation error on AIX
.../src/main -I/usr/local/include -mminimal-toc -O2 -g > -mcpu=power6 -c gramRd.c -o gramRd.o > > gcc -maix64 -pthread -std=gnu99 -shared -Wl,-brtl -Wl,-G -Wl,-bexpall > -Wl,-bnoentry -lc -L/usr/local/lib -o tools.so text.o init.o Rmd5.o > md5.o signals.o install.o getfmts.o http.o gramLatex.o gramRd.o -lm > -lintl > > make[6]: Entering directory '/sas/data04/vinh/R-3.2.2/src/library/tools/src' > > mkdir -p -- ../../../../library/tools/libs > > make[6]: Leaving directory '/sas/data04/vinh/R-3.2.2/src/library/tools/src' > > make[5]: Leaving dir...
2015 Aug 31
0
R doesn't compile on FreeBSD 10.2
...e && make"): You have not told us which revision. A basic check is to see if you can build the latest released version, as the trunk is 'Under development'. > > cc -shared -L/usr/local/lib -o tools.so text.o init.o Rmd5.o md5.o signals.o install.o getfmts.o http.o gramLatex.o gramRd.o > mkdir ../../../../library/tools/libs > installing 'sysdata.rda' > Error in dyn.load(file, DLLpath = DLLpath, ...) : > unable to load shared object '/usr/home/davor/R-dev/R-trunk/library/tools/libs/tools.so': > /usr/home/davor/...
2015 Sep 01
2
R doesn't compile on FreeBSD 10.2
...t.) > > You need to tell us exactly which commands you used: nowhere records > everything. > >> >> Still the same error: >> >> --- tools.so --- >> cc -shared -L/usr/local/lib -o tools.so text.o init.o Rmd5.o md5.o signals.o install.o getfmts.o http.o gramLatex.o gramRd.o >> --- all --- >> --- shlib --- >> mkdir ../../../../library/tools/libs >> --- sysdata --- >> installing 'sysdata.rda' >> Error in dyn.load(file, DLLpath = DLLpath, ...) : >> unable to load shared object '/usr/h...