question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scaffold support for R files

See original GitHub issue

Hello! Running ploomber scaffold with a pipeline.yaml containing .R or .Rmd files returns this error, “This command does not support adding tasks with extension “.R”, valid ones are .py and .sql.”

Is scaffold able to create a pipeline with R files?

Thank you, Jae

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
edublancascommented, Jan 12, 2022

Hi @jaesmin!

Unfortunately, ploomber scaffold does not work with .R/.Rmd files yet, but thanks for reporting this, we’ll add it to the roadmap for the next release 😊

In the meantime, you can use our R example to get started quickly: https://github.com/ploomber/projects/tree/master/templates/spec-api-r

If you have ploomber installed, you can get the example executing:

ploomber examples -n templates/spec-api-r -o r-example

Then move to the r-example folder and execute:

ploomber build

Note that for R to work with Ploomber, you need to install and configure IRKernel, check out the instructions here: https://docs.ploomber.io/en/latest/user-guide/r-support.html#configuring-r-environment

Let me know if you’re able to run the R example, if you have further questions, you can join our Slack community: https://ploomber.io/community

Thanks for your feedback!

0reactions
edublancascommented, Jan 24, 2022

Forgot to post the blog post URL. Reach out if you have feedback questions 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Initial installation of Scaffold in R · Issue #2 - GitHub
Hello, I am struggling to get started with using scaffold in R. I have been able to load all the packages but when...
Read more >
Getting Started with Scaffold: A Primer for Viewer Users
Installers for Scaffold viewers can be found here, select the proper program, operating system and system architecture (32-bit vs 64-bit) and ...
Read more >
Customise scaffold files the right way - ComputerMinds
Pro tip: run composer install; git diff -R .htaccess > patches/my-htaccess-tweaks.patch to produce the patch if .htaccess is still under version ...
Read more >
User-Guide - Scaffolding projects - Ploomber documentation
This command works with Python scripts, functions, Jupyter notebooks, R Markdown files, R scripts, and SQL scripts. ploomber scaffold works as long as...
Read more >
A Guide to Scaffold Use in the Construction Industry
answer format to highlight pertinent information ... Footings—Support scaffold footings shall be level and capable of supporting ... 1926.452(r). Coatings.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found