Giter VIP home page Giter VIP logo

Comments (8)

jeroenjanssens avatar jeroenjanssens commented on May 18, 2024

Thanks. Two questions:

  • Are you running this inside the Data Science Toolbox?
  • What's the output when you also specify the -v option (for verbose)?

from data-science-at-the-command-line.

mpettis avatar mpettis commented on May 18, 2024

The VM? no, not yet. But I do want to make these tools work on my laptop for my own purposes.

Second, here is the -v output:

$ <data/tips.csv Rio -vge 'g+geom_bar(aes(factor(size)))'
ARGUMENT '',~+~file='/var/folders/4s/gd5gw2bd2n16njbfqsg0j5yc0000gn/T/Rio-lsJSNNvK.png')}else~+~if(exists('is.ggplot')&&is.ggplot(last)){ggsave('/var/folders/4s/gd5gw2bd2n16njbfqsg0j5yc0000gn/T/Rio-lsJSNNvK.png',last,dpi=72,units='cm',width=20,height=15);}else{sink('/var/folders/4s/gd5gw2bd2n16njbfqsg0j5yc0000gn/T/Rio-lsJSNNvK.png');print(last);}' __ignored__

Loading required package: ggplot2
Loading required package: methods
cat: /var/folders/4s/gd5gw2bd2n16njbfqsg0j5yc0000gn/T/Rio-cJIuYzF7.err: No such file or directory

And that is the location of my $TMPDIR:

$ echo $TMPDIR
/var/folders/4s/gd5gw2bd2n16njbfqsg0j5yc0000gn/T/

So I'm not sure what the file or directory that is missing is.

from data-science-at-the-command-line.

jeroenjanssens avatar jeroenjanssens commented on May 18, 2024

Understandable, but I haven't tested these tools on anything other than GNU/Linux. Are you on Mac OS X by any chance?

from data-science-at-the-command-line.

mpettis avatar mpettis commented on May 18, 2024

Yes I am, I should have stated that. I'll try and root out a solution as
well.

from data-science-at-the-command-line.

mpettis avatar mpettis commented on May 18, 2024

So, I created this pull request that solved my problem on Mac, I think it should be compatible with Linux as well, but will leave for you now to see if it works in your stack. Also solved second problem in that pull, which I think you probably had in Linux as well, where you created some extra files with the mktemp call inadvertently, and they probably were not getting cleaned up.

Original pull request #17 had error, I closed that, opened new one below.

FIxed pull request: #18

from data-science-at-the-command-line.

jeroenjanssens avatar jeroenjanssens commented on May 18, 2024

Fixed now.

from data-science-at-the-command-line.

mpettis avatar mpettis commented on May 18, 2024

Thank you!

from data-science-at-the-command-line.

vielmetti avatar vielmetti commented on May 18, 2024

Thank you!

from data-science-at-the-command-line.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.