seancarmody / ngramr

R package to query the Google Ngram Viewer
Other
48 stars 9 forks source link

ngramr not working #43

Closed danhart228 closed 1 year ago

danhart228 commented 1 year ago

Hi, your great package seems to be not working. Many thanks for your maintaining this package.

ng <- ngram(c("hacker", "programmer"), year_start = 1950) Error parsing ngram data, please contact package maintainer. Here's the original error message: subscript out of bounds Error occurred in the following code: [[stringr::str_split(grep("drawD3Chart", years, value = TRUE), ",")1

seancarmody commented 1 year ago

Hi Dan. Do you have the latest version? It broke again a couple of days ago and 1.9.1 fixed the problem but Google may have made more changes since

danhart228 commented 1 year ago

Perfect! Seems to be running now. My apologies for not checking that. I really appreciate your maintenance of this package!

Daniel Hart Prevention Science and Psychology Rutgers University-Camden


From: Sean Carmody @.> Sent: Friday, November 11, 2022 3:12 PM To: seancarmody/ngramr @.> Cc: Daniel Hart @.>; Author @.> Subject: Re: [seancarmody/ngramr] ngramr not working (Issue #43)

Hi Dan. Do you have the latest version? It broke again a couple of days ago and 1.9.1 fixed the problem but Google may have made more changes since

— Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fseancarmody%2Fngramr%2Fissues%2F43%23issuecomment-1312156701&data=05%7C01%7Chart%40camden.rutgers.edu%7C9181d5989e95423f125c08dac4211603%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C638037943641228796%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7SCL55A145z7HAt16311FUIdWzHU5VG73iXB8vDBtI4%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA266SFFJESSH4H7PMOQHQ73WH2SDRANCNFSM6AAAAAAR54P4TM&data=05%7C01%7Chart%40camden.rutgers.edu%7C9181d5989e95423f125c08dac4211603%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C638037943641385012%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=vEhTotHqa5OPuS%2FaDNIcde1W96Swo%2Fn%2Fdi7%2F6B3txkg%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

seancarmody commented 1 year ago

Glad to hear it!