-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Clipboard on X11 requires that the DISPLAY envvar be configured. #18
Comments
For the moment, try `make_req(straight)` as `make_req(straight,
add_clip=FALSE)`. You won't get a clipboard copy but it'll still work. Not
sure why DISPLAY isn't set on your linux sysetm.
…On Fri, Nov 17, 2017 at 5:20 AM, José de Jesus Filho < ***@***.***> wrote:
I am new to curlconverter. I tried one of the examples from the README,
and got this error:
httpbinrhcurl <- "curl 'https://httpbin.org/headers' -H 'pragma:
no-cache' -H 'accept-encoding: gzip, deflate, sdch' -H 'accept-language:
en-US,en;q=0.8' -H 'upgrade-insecure-requests: 1' -H 'user-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/49.0.2623.39 Safari/537.36' -H 'accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
-H 'cache-control: no-cache' -H 'referer: https://httpbin.org/'
--compressed"
straight <- straighten(httpbinrhcurl)
res <- make_req(straight)
Error: Clipboard on X11 requires that the DISPLAY envvar be configured.
sessionInfo()
R version 3.4.2 (2017-09-28)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS
Matrix products: default
BLAS: /usr/lib/libblas/libblas.so.3.6.0
LAPACK: /usr/lib/lapack/liblapack.so.3.6.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8
[4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] curl_3.0 stringr_1.2.0 V8_1.5 curlconverter_0.8.2
[5] clipr_0.4.0.9000 digest_0.6.12 rvest_0.3.2 xml2_1.1.1
[9] httr_1.3.1
loaded via a namespace (and not attached):
[1] Rcpp_0.12.13 bindr_0.1 magrittr_1.5 R6_2.2.2 rlang_0.1.4
[6] dplyr_0.7.4 tools_3.4.2 yaml_2.1.14 assertthat_0.2.0 tibble_1.3.4
[11] bindrcpp_0.2 purrr_0.2.4 scrapr_0.0.0.9000 formatR_1.5 glue_1.2.0.9000
[16] stringi_1.1.5 compiler_3.4.2 jsonlite_1.5 pkgconfig_2.0.1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#18>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAfHtrB93IKGAVqh5eEUizJ5Y_aETSKjks5s3V4GgaJpZM4Qh02j>
.
|
same issue on centos7 |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am new to curlconverter. I tried one of the examples from the README, and got this error:
httpbinrhcurl <- "curl 'https://httpbin.org/headers' -H 'pragma: no-cache' -H 'accept-encoding: gzip, deflate, sdch' -H 'accept-language: en-US,en;q=0.8' -H 'upgrade-insecure-requests: 1' -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.39 Safari/537.36' -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8' -H 'cache-control: no-cache' -H 'referer: https://httpbin.org/' --compressed"
straight <- straighten(httpbinrhcurl)
res <- make_req(straight)
Error: Clipboard on X11 requires that the DISPLAY envvar be configured.
sessionInfo()
R version 3.4.2 (2017-09-28)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS
Matrix products: default
BLAS: /usr/lib/libblas/libblas.so.3.6.0
LAPACK: /usr/lib/lapack/liblapack.so.3.6.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8
[4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] curl_3.0 stringr_1.2.0 V8_1.5 curlconverter_0.8.2
[5] clipr_0.4.0.9000 digest_0.6.12 rvest_0.3.2 xml2_1.1.1
[9] httr_1.3.1
loaded via a namespace (and not attached):
[1] Rcpp_0.12.13 bindr_0.1 magrittr_1.5 R6_2.2.2 rlang_0.1.4
[6] dplyr_0.7.4 tools_3.4.2 yaml_2.1.14 assertthat_0.2.0 tibble_1.3.4
[11] bindrcpp_0.2 purrr_0.2.4 scrapr_0.0.0.9000 formatR_1.5 glue_1.2.0.9000
[16] stringi_1.1.5 compiler_3.4.2 jsonlite_1.5 pkgconfig_2.0.1
The text was updated successfully, but these errors were encountered: