jeroenjanssens / data-science-at-the-command-line

Data Science at the Command Line
https://datascienceatthecommandline.com
Other
3.8k stars 764 forks source link

Unable to use Rio at terminal for ggplotting #30

Closed Tavpritesh closed 9 years ago

Tavpritesh commented 9 years ago

Hi, I am following your book Data Science at the Command Line and its awesome. While most things have worked so far as I am installing individual components on my CentOS, there are issues off and on. Is this a good place to ask? For example the plotting code fashion.csv Rio -ge... throws the error display: no decode delegate for this image format `/tmp/magick-02f7rn9B' @ error/constitute.c/ReadImage/544. I have tried re-installing different versions of ImageMagick but without success. Your suggestion will be greatly appreciated. Thanks.

jeroenjanssens commented 9 years ago

Hi. Yes, this is a good place for these kind of questions. The problem is that display is not getting any image data, which means that there's an error generated by R. My guess is that you're missing an R package. You can see this error by using -v option for verbose output.

jeroenjanssens commented 9 years ago

Also, let me know what other kinds of problems you have run into. It would be nice to have a record of this for anyone who wants to install everything on their host OS. You can also have a look at the Ansible playbook for reference on how to install everything.

Tavpritesh commented 9 years ago

Thanks Jeroen, I will keep you posted on the problems that I face. I have the necessary R packages installed. From the multiple threads on similar errors, it seems like an error because of ImageMagick. Do let me know if you have suggestions, and I will post the solution if I find one.

jeroenjanssens commented 9 years ago

Thanks @Tavpritesh. I'm closing this issue for now. Feel free to open another one if you encounter any other problems when installing the tools natively.