You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of my notebooks have cells with the following metadata:
"metadata": {
"active": "ipynb"
}
I think this was added automatically after migrating from an older version of jupytext, but I'm not sure of the details. The problem is, when I add the %%R magic to one of these cells and convert the notebook to a .py file, the new magic is ignored.
This can be fixed manually by copying the cell text to a new cell and deleting the original one, so it's not a huge problem.
Hello @capelastegui , thanks for reporting. Indeed the automatic addition of "active" metadata does not seem to work well for notebooks with multiple languages when those are exported as scripts. I think the notebook you provided for #111 also shows the issue. When time permits I will provide a fix for this.
Some of my notebooks have cells with the following metadata:
I think this was added automatically after migrating from an older version of jupytext, but I'm not sure of the details. The problem is, when I add the
%%R
magic to one of these cells and convert the notebook to a .py file, the new magic is ignored.This can be fixed manually by copying the cell text to a new cell and deleting the original one, so it's not a huge problem.
An example notebook is attached - added the .txt extension because github won't accept .ipynb files.
Notebook - R cells with metadata.ipynb.txt
The text was updated successfully, but these errors were encountered: