예제 #1
0
 def test_init_python_pre(self):
     kp = R.kernel_factory('python')
     result = R.run_code(
         'import pandas; assert pandas.options.display.latex.repr is False',
         kp)
     assert len(result) == 1
예제 #2
0
def python_kp():
    return R.kernel_factory('python')
예제 #3
0
def global_python_kernel():
    """
    A python kernel anyone can use.
    """
    return R.kernel_factory('python')