Git Product home page Git Product logo

Comments (6)

lebebr01 avatar lebebr01 commented on July 28, 2024

Definitely, I wanted to do that when I created the package, but couldn't get it to work properly. I will look into how to do that for an update soon.

from highlighthtml.

sckott avatar sckott commented on July 28, 2024

👍

from highlighthtml.

lebebr01 avatar lebebr01 commented on July 28, 2024

The examples now work on my machine from the help file for highlightHTMLcells command.

Currently I have it save the updated file in the examples folder of the highlightHTML package, debating if it would be better to save directly to the working directory. Thought?

from highlighthtml.

sckott avatar sckott commented on July 28, 2024

I think it may be best practice to write outside a package dir or to tmp files. tmp files seems appropriate if files are just to be viewed during the session then discarded, so it my be better to change to writing to tmp files, like

tempfile(fileext=".html")

[1] "/var/folders/kv/rpbb_gw965l0lhrq8w92n8j40000gn/T//RtmpCJ1uvu/fileb27c1b08b8d4.html"

And if user wants to specify particular file seems like they can with the output arg

from highlighthtml.

lebebr01 avatar lebebr01 commented on July 28, 2024

Example now writes to a temporary file. Thanks for your help.

from highlighthtml.

sckott avatar sckott commented on July 28, 2024

yep, np

from highlighthtml.

Related Issues (4)

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.