Re: [Rd] readLines() segfaults on large file & question on how to work around

2017-09-02 Thread Suzen, Mehmet
Jennifer, Why do you try Sparkr? https://spark.apache.org/docs/1.6.1/api/R/read.json.html On 2 September 2017 at 23:15, Jennifer Lyon wrote: > Thank you for your suggestion. Unfortunately, while R doesn't segfault > calling readr::read_file() on the test file I

Re: [Rd] readLines() segfaults on large file & question on how to work around

2017-09-02 Thread Iñaki Úcar
2017-09-02 20:58 GMT+02:00 Jennifer Lyon : > Hi: > > I have a 2.1GB JSON file. Typically I use readLines() and > jsonlite:fromJSON() to extract data from a JSON file. > > When I try and read in this file using readLines() R segfaults. > > I believe the two salient issues

Re: [Rd] I have corrected a dead link in the treering documentation

2017-09-02 Thread Martin Maechler
> Thomas Levine <_...@thomaslevine.com> > on Fri, 1 Sep 2017 13:23:47 + writes: > Martin Maechler writes: >> There may be one small problem: IIUC, the wayback machine >> is a +- private endeavor and really great and phantastic >> but it does need (US? tax

Re: [Rd] readLines() segfaults on large file & question on how to work around

2017-09-02 Thread Jennifer Lyon
Thank you for your suggestion. Unfortunately, while R doesn't segfault calling readr::read_file() on the test file I described, I get the error message: Error in read_file_(ds, locale) : negative length vectors are not allowed Jen On Sat, Sep 2, 2017 at 1:38 PM, Ista Zahn

Re: [R-pkg-devel] Please ensure that the license you choose also covers any dependencies (including system dependencies) of your package

2017-09-02 Thread Dirk Eddelbuettel
On 1 September 2017 at 12:23, Joe Thorley wrote: | Writing R extensions states that | | > Please ensure that the license you choose also covers any dependencies (including system dependencies) of your package | | Is this

[R-pkg-devel] Please ensure that the license you choose also covers any dependencies (including system dependencies) of your package

2017-09-02 Thread Joe Thorley
Writing R extensions states that > Please ensure that the license you choose also covers any dependencies > (including system dependencies) of your package Is this considered to apply to R packages in Imports, Depends or Suggests?

Re: [Rd] readLines() segfaults on large file & question on how to work around

2017-09-02 Thread Ista Zahn
As s work-around I suggest readr::read_file. --Ista On Sep 2, 2017 2:58 PM, "Jennifer Lyon" wrote: > Hi: > > I have a 2.1GB JSON file. Typically I use readLines() and > jsonlite:fromJSON() to extract data from a JSON file. > > When I try and read in this file using

[Rd] readLines() segfaults on large file & question on how to work around

2017-09-02 Thread Jennifer Lyon
Hi: I have a 2.1GB JSON file. Typically I use readLines() and jsonlite:fromJSON() to extract data from a JSON file. When I try and read in this file using readLines() R segfaults. I believe the two salient issues with this file are 1). Its size 2). It is a single line (no line breaks) I can

Re: [Rd] Please avoid direct use of NAMED and SET_NAMED macros

2017-09-02 Thread luke-tierney
On Sat, 2 Sep 2017, Radford Neal wrote: To allow for future changes in the way the need for duplication is detected in R internal C code, package C code should avoid direct use of NAMED,and SET_NAMED, or assumptions on the maximal value of NAMED. Use the macros MAYBE_REFERENCED, MAYBE_SHARED,

Re: [Rd] Please avoid direct use of NAMED and SET_NAMED macros

2017-09-02 Thread Radford Neal
> To allow for future changes in the way the need for duplication is > detected in R internal C code, package C code should avoid direct > use of NAMED,and SET_NAMED, or assumptions on the maximal value > of NAMED. Use the macros MAYBE_REFERENCED, MAYBE_SHARED, and > MARK_NOT_MUTABLE instead.

Re: [Rd] Missing y label

2017-09-02 Thread Dirk Eddelbuettel
On 1 September 2017 at 15:50, Therneau, Terry M., Ph.D. wrote: | The system admins here ... I suggest you get these local admins to help you. These CRAN repos for Ubuntu are used by thousands of people every day, and they "just work", for both the recent releases and the most recent LTS. Dirk

Re: [Rd] Wayback and related questions (was: RE: I have corrected a dead link ...)

2017-09-02 Thread Thomas Levine
> If the R project cannot use or reference any site that uses non-open > code, including minified javascript - which appears to be the > principle issue for GitHub - I suspect that you will be obliged to > discontinue links to almost every journal, university, charity, > government and research

Re: [Rd] patch: automatically adjust width option when terminal is resized

2017-09-02 Thread Ralf Goertz
Am Fri, 1 Sep 2017 14:11:19 -0500 (CDT) schrieb luke-tier...@uiowa.edu: > On Fri, 1 Sep 2017, Ralf Goertz wrote: > > > > On the other > > hand, the documentation says > > > > ‘width’: controls the maximum number of columns on a line > > used in … > > ‘Print.h’ and can be