You are not logged in.
Pages: 1
I have been using R in Arch Linux for quite a while. But now the following snippets of code are giving the following errors-
D <- read.csv("some_file.csv", sep = ";")View(D)Error in .External2(C_dataviewer, x, title) : unable to start data viewer In addition: Warning message: In View(D) : unable to open display
plot(D$Temperature ~ D$Hour) Error in .External2(C_X11, d$display, d$width, d$height, d$pointsize, : unable to start device X11cairo In addition: Warning message: In (function (display = "", width, height, pointsize, gamma, bg, :
unable to open connection to X11 display ''
echo $DISPLAYwayland-0
Why is this happening? Things were working fine before. I am using R version 3.4.3 on x86_64 system.
Thanks!
pacman -Qmaic94xx-firmware 30-9
google-chrome 63.0.3239.108-1
gstreamer0.10 0.10.36-4
gstreamer0.10-bad 0.10.23-20
gstreamer0.10-base 0.10.36-3
gstreamer0.10-good 0.10.31-11
gstreamer0.10-mm 0.10.11-2
gstreamer0.10-ugly 0.10.19-16
wd719x-firmware 1-3
Last edited by ralph_hellgrind (2018-02-05 22:55:33)
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
Paste the output of `pacman -Qm`
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
Paste the output of `pacman -Qm`
Done
Offline
I've never used the 'View' command before, but I can confirm that it does work on an older system I had in the corner, but on my up-to-date system it fails.
Have you tried downgrading to confirm whether it is the r package itself?
EDIT: the above was cross posted with many edits in the thread...
Note that code tags should be around your commands and their ouput, not just random subsets of either one (which makes reading harder than not having them at all!)
Also note that your X11 errors now make sense: you are not running X.
Last edited by Trilby (2018-02-05 20:44:52)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I've never used the 'View' command before, but I can confirm that it does work on an older system I had in the corner, but on my up-to-date system it fails.
Have you tried downgrading to confirm whether it is the r package itself?
EDIT: the above was cross posted with many edits in the thread...
Note that code tags should be around your commands and their ouput, not just random subsets of either one (which makes reading harder than not having them at all!)
Also note that your X11 errors now make sense: you are not running X.
I think (but cannot confirm) that "View" command was working in R 3.4.3. Why it's not working now is the question!
Offline
Yes and we can't answer that question until we gather information. If you want to help that process, take the time to confirm that 3.4.3 still works.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Yes and we can't answer that question until we gather information. If you want to help that process, take the time to confirm that 3.4.3 still works.
Yes, I am able to say execute "summary()", "str()", etc. are working.
Also, "plot()" and "view()" started working again!! I have no idea how this happened?!!! I didn't install or remove any packages using "pacman"!
Any explanation for this random behavior??
Offline
Any explanation for this random behavior??
R's or yours?
It doesn't matter. In either case the answer is 'No'. You will not get any answers if you will not participate in the troubleshooting and provide the information requested.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
ralph_hellgrind wrote:Any explanation for this random behavior??
R's or yours?
You will not get any answers if you will not participate in the troubleshooting and provide the information requested.
In R, "plot()" and "View()" started working. I repeat myself, R version 3.4.3 (2017-11-30) -- "Kite-Eating Tree" was and is "working". The only thing which was not working before were "plot" and "View()" which now have started working.
How have I not participated in troubleshooting?
Offline
Eh, so everything is working now? Then nevermind, just mark the thread as [SOLVED]. If/when the problem returns, downgrade and test the previous version to see if it works (as I requested in post #4 and again in post #6).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Eh, so everything is working now? Then nevermind, just mark the thread as [SOLVED]. If/when the problem returns, downgrade and test the previous version to see if it works (as I requested in post #4 and again in post #6).
Alright, thanks for your help!
Offline
Pages: 1