From simon.urbanek at r-project.org  Fri Dec 18 02:29:37 2015
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Thu, 17 Dec 2015 20:29:37 -0500
Subject: [Rd] Assistance much appreciated
In-Reply-To: <5672EA93.104@gmail.com>
References: <5672EA93.104@gmail.com>
Message-ID: <DCB5B35F-85DD-4078-8F02-940C368DCE95@r-project.org>

Michael,

I got access to PDP AIX so I can try to replicate your problem. Can you, please, share exactly your setup - AIX version and well as how exactly you installed the compilers (=where from)? I can then try to replicate it. AFAICS there is no official binary for gfortran nor gcc 4.7 so it must be some 3rd party - which could also be a problem.

Thanks,
Simon


On Dec 17, 2015, at 12:02 PM, Michael Felt <aixtools at gmail.com> wrote:

> 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
> [1] TRUE
> 
> > mapfile
> [1] "./library/tools/R/sysdata.rdx"
> > [1] + Stopped (SIGTSTP)         R_DEFAULT_PACKAGES=NULL LC_ALL=C ./bin/R --vanilla
> root at x065:[/data/prj/cran/64/R-3.2.3]ls -l ./library/tools/R/sysdata.rdx
> -rw-r--r--   1 root     33              193 Dec 17 16:49 ./library/tools/R/sysdata.rdx
> root at x065:[/data/prj/cran/64/R-3.2.3]cat ./library/tools/R/sysdata.rdx
> ?b```b`fbf" SH0#h^?<??@?Al?&_(
>                              ??(R?????        ?Y?sS
> C7?PG3@??j/D                                        ?aA OG??x??????????$??X>4?3?89#5IF?$1)'5>?
> ?00F??,?(dA1T?(5-?(5/![PZ\2?$?<root at x065:[/data/prj/cran/64/R-3.2.3]
> root at x065:[/data/prj/cran/64/R-3.2.3]
> root at x065:[/data/prj/cran/64/R-3.2.3]gzip -dc ./library/tools/R/sysdata.rdx
> X
> j>      names   IANA_HTTP_status_code_db IANA_URI_scheme_db      table_of_HTTP_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, at the end - my gut-feeling is that the error messages is not about the arguments, but us related to the "tools:::foo".
> 
> Where should I look next? It goes a bit beyond me to know where in R "tools:::foo" is being parsed.
> Guessing here - but might be related to the switch from 32-bit to 64-bit AND that PowerPC is BigEndian rather than LittleEndian? Could also be absolutely wrong, way off base, etc. --> shoot me down!
> 
> Thanks,
> Michael
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] Assistance much appreciated
Simon Urbanek