-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hello,
thank you for providing this nice library.
I'm trying to use:
nytimes <- WebCorpus(NYTimesSource("Microsoft", appid = nytimes_appid))
with the API key for search articles:
nytimes_appid = '6d9f........................h432' from http://developer.nytimes.com/
However, I always get:
Error in json$response : $ operator is invalid for atomic vectors
May I ask for your assistance
sessionInfo()
R version 3.2.1 (2015-06-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252
[3] LC_MONETARY=German_Germany.1252 LC_NUMERIC=C
[5] LC_TIME=German_Germany.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] RJSONIO_1.3-0 diezeit_0.1-0 SnowballC_0.5.1
[4] tm.plugin.webmining_1.3 tm_0.6-2 NLP_0.1-9
loaded via a namespace (and not attached):
[1] XML_3.98-1.3 bitops_1.0-6 slam_0.1-32 R6_2.1.1
[5] jsonlite_0.9.21 httr_1.1.0 brew_1.0-6 tools_3.2.1
[9] boilerpipeR_1.3 RCurl_1.95-4.7 parallel_3.2.1 rJava_0.9-7`