Spaces:
Sleeping
Sleeping
Update pages/Rtest.py
Browse files- pages/Rtest.py +1 -0
pages/Rtest.py
CHANGED
|
@@ -52,6 +52,7 @@ def reset_all():
|
|
| 52 |
if st.button("Test"):
|
| 53 |
process2 = subprocess.Popen(["Rscript", "pages/testr.R"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
| 54 |
result2 = process2.communicate()
|
|
|
|
| 55 |
with st.container(border=True):
|
| 56 |
st.image('plot.png')
|
| 57 |
|
|
|
|
| 52 |
if st.button("Test"):
|
| 53 |
process2 = subprocess.Popen(["Rscript", "pages/testr.R"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
| 54 |
result2 = process2.communicate()
|
| 55 |
+
st.write(result2)
|
| 56 |
with st.container(border=True):
|
| 57 |
st.image('plot.png')
|
| 58 |
|