Hi Arin, Magics are an IPython feature, not a Jupyter feature. They work only with the Python kernel and other kernels that have decided to implement similar mechanisme. The R kernel does not have magics. -- Matthias
On 2 January 2018 at 23:58, Arin Basu <[email protected]> wrote: > Hi All, > > I cannot seem to get bash working in Jupyter lab when I use an R console. > For example, if I do: > > ``` > %%bash > ls > > It returns, > > Error in parse(text = x, srcfile = src): <text>:1:1: unexpected SPECIAL > 1: %% > ``` > > Or if I do, > > ``` > !ls > ``` > It returns > " > Error in !ls: invalid argument type" > > I am using Jupyter Lab in Macbook Pro Osx 10.13.2 in Firefox Quantum beta > update channel. > Jupyter lab version: 0.30 > > I have used the above commands in an R inferior process in the "code" block > and tried to run them. > > Would greatly appreciate any advice. > > Best, > Arin Basu > > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jupyter/4ff56060-7982-498c-86cb-eb2347908c5a%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/4ff56060-7982-498c-86cb-eb2347908c5a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CANJQusX3A4iLUn8CEJ-we6nVf4TppuGebMZ84%2BMC-a60topUZw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
