Skip to content

readline crashes R #14

Open
Open
@haighr

Description

@haighr

I really like your read/readline function; however, when I'm looping through 2000 'readline' commands for files approximately 6,320,000 characters each, R crashes. If I do the same thing using 'read', the operation is successful (and fast!). I can probably use string splits (on '\r\n') to recovery the line breaks, but I thought you should be aware of this issue. Cheers, Rowan
R code
for (i in 1:length(repfiles))
replist[[i]] = Kmisc::readlines(repfiles[i])

OS=MS Windows 10, Processor=Intel(R) Core(TM) i9-9980HK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions