search for: makelazyloaddb

Displaying 12 results from an estimated 12 matches for "makelazyloaddb".

2020 Jun 29
1
`basename` and `dirname` change the encoding to "UTF-8"
...basename`. > > Background: I'm currently struggeling with a directory name containing a latin1-character. (I know that this is a bad idea, but I did not create the directory and I cannot rename it.) I now want to pass a latin1-directory name to a function, which internally uses `tools::makeLazyLoadDB`. At that point, internally, `dirname` is called, which changes the encoding, and things break. If I use `debug` to halt the processing and "fix" the encoding, things work as expected. > > So, if possible, I would prefer that `dirname` and `basename` preserve the encoding. Actua...
2020 Jun 30
1
`basename` and `dirname` change the encoding to "UTF-8"
...ame`/`basename`. > Background: I'm currently struggeling with a directory name containing a latin1-character. (I know that this is a bad idea, but I did not create the directory and I cannot rename it.) I now want to pass a latin1-directory name to a function, which internally uses `tools::makeLazyLoadDB`. At that point, internally, `dirname` is called, which changes the encoding, and things break. If I use `debug` to halt the processing and "fix" the encoding, things work as expected. > > So, if possible, I would prefer that `dirname` and `basename` preserve the encoding. Please...
2015 Dec 17
5
Assistance much appreciated
...P_status_codes??? ? variables references compressed?root at x065:[/data/prj/cran/64/R-3.2.3]fg R_DEFAULT_PACKAGES=NULL LC_ALL=C ./bin/R --vanilla > > e <environment: 110dbf620> > destDir [1] "./library/tools/R" > compress [1] TRUE > debug(tools:::makeLazyLoadDB(e, file.path(destDir, "sysdata"), compress = compress)) Error: Line starting 'Package: tools ...' is malformed! > tools:::makeLazyLoadDB(e, file.path(destDir, "sysdata"), compress = compress) Error: Line starting 'Package: tools ...' is malformed! > So...
2007 Jan 19
2
Cross-compile errors under R-2.4.0 and R-2.4.1
...ver, I have tried the suggestions there with no further success and I am awaiting further instructions before pursuing that solution. 3) For R-2.4.1 I receive the following error message from 'make R', under 'Making package tools': preparing package tools for lazy loading Error in makeLazyLoadDB(ns, dbbase) : could not find function "seq_along" Execution halted Hope this is illuminating and that the 'bugs', whether it is in R or in PCRE, can be resolved for the next release, this would be highly appreciated. Meanwhile, any suggestions as to how I can cross-compile succe...
2015 Dec 17
0
Assistance much appreciated
...rences > compressed?root at x065:[/data/prj/cran/64/R-3.2.3]fg > R_DEFAULT_PACKAGES=NULL LC_ALL=C ./bin/R --vanilla > > > > > e > <environment: 110dbf620> > > destDir > [1] "./library/tools/R" > > compress > [1] TRUE > > debug(tools:::makeLazyLoadDB(e, file.path(destDir, "sysdata"), > compress = compress)) > Error: Line starting 'Package: tools ...' is malformed! > > tools:::makeLazyLoadDB(e, file.path(destDir, "sysdata"), compress = > compress) > Error: Line starting 'Package: tools ...'...
2015 Dec 18
0
Assistance much appreciated
...rences > compressed?root at x065:[/data/prj/cran/64/R-3.2.3]fg > R_DEFAULT_PACKAGES=NULL LC_ALL=C ./bin/R --vanilla > > > > > e > <environment: 110dbf620> > > destDir > [1] "./library/tools/R" > > compress > [1] TRUE > > debug(tools:::makeLazyLoadDB(e, file.path(destDir, "sysdata"), compress = compress)) > Error: Line starting 'Package: tools ...' is malformed! > > tools:::makeLazyLoadDB(e, file.path(destDir, "sysdata"), compress = compress) > Error: Line starting 'Package: tools ...' is malforme...
2015 Dec 17
3
Assistance much appreciated
...[/data/prj/cran/64/R-3.2.3]fg >> R_DEFAULT_PACKAGES=NULL LC_ALL=C ./bin/R --vanilla >> >>> >>> e >> <environment: 110dbf620> >>> destDir >> [1] "./library/tools/R" >>> compress >> [1] TRUE >>> debug(tools:::makeLazyLoadDB(e, file.path(destDir, "sysdata"), >> compress = compress)) >> Error: Line starting 'Package: tools ...' is malformed! >>> tools:::makeLazyLoadDB(e, file.path(destDir, "sysdata"), compress = >> compress) >> Error: Line starting 'Packag...
2015 Dec 17
0
Assistance much appreciated
...; R_DEFAULT_PACKAGES=NULL LC_ALL=C ./bin/R --vanilla >>> >>>> >>>> e >>> <environment: 110dbf620> >>>> destDir >>> [1] "./library/tools/R" >>>> compress >>> [1] TRUE >>>> debug(tools:::makeLazyLoadDB(e, file.path(destDir, "sysdata"), >>> compress = compress)) >>> Error: Line starting 'Package: tools ...' is malformed! >>>> tools:::makeLazyLoadDB(e, file.path(destDir, "sysdata"), compress = >>> compress) >>> Error: Line...
2020 Jun 24
3
Possible Bug: file.exists() Function. Due to UTF-8 Encoding differences on Windows between R 4.0.1 and R 3.6.3?
Hi Tomas, Sorry for the false alarm! I did some further testing, and you were right. There was no regression. I suspected it was a regression because the user who reported the issue said his code worked in R 3.6 but not 4.0. I should have tested it more carefully by myself. After I tested it again with the German locale and Chinese locale, respectively, I found that the code worked for both
2009 Oct 30
1
parse_Rd and/or lazyload problem
...reate a fake package with a DESCRIPTION file and a "man" directory that contains two Rd files. Transcript of first example: eglist <- list( scrunge=tools:::prepare_Rd( 'd:/temp/scrunge.Rd', defines=.Platform$OS.type, stages='install', warningCalls=FALSE)) tools:::makeLazyLoadDB( eglist, 'd:/temp/ll', compress=FALSE) tools:::fetchRdDB( 'd:/temp/ll') # Error: cannot allocate vector of size 1.4 Gb The second example triggers an error with 'tools:::.install_package_Rd_objects' itself. It doesn't happen the first time, but frequently does after the...
2012 May 23
0
Build error on RedHat EL 5.5: byte-compiling package 'compiler'
...yte-compiling package 'compiler' Warning in file(datafile, "wb") : cannot open file '/usr/lib64/R/library/compiler/R/compiler.rdb': Permission denied Error in file(datafile, "wb") : cannot open the connection Calls: <Anonymous> -> code2LazyLoadDB -> makeLazyLoadDB -> close -> file Execution halted make[4]: *** [../../../library/compiler/R/compiler.rdb] Error 1 make[4]: Leaving directory `/tmp/BUILD/R-2.15.0/src/library/compiler' make[3]: *** [all] Error 2 make[3]: Leaving directory `/tmp/BUILD/R-2.15.0/src/library/compiler' make[2]: *** [R] Err...
2015 Dec 18
1
Assistance much appreciated
...000000 +0000 +++ R-3.2.3/src/library/tools/R/makeLazyLoad.R 2015-12-17 06:53:34.000000000 +0000 @@ -38,9 +38,13 @@ sysdata2LazyLoadDB <- function(srcFile, destDir, compress = TRUE) { + browser() e <- 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/...