[web2py] Am I be able to use file with Rdata extension as my database?

2018-06-08 Thread yifan li
Hi everyone, I'm new to Web2py. I have a project that I need to use a dataset that has been trained saved as 'train.Rdata' and some R code to make prediction. I have found that I can use rpy2 to embedded R code into python. But, is there any way would you recommended for me to use Rdata in

[web2py] wired transform

2018-06-18 Thread yifan li
1. vector= robjects.FloatVector([4,3,2,2,1,2,4,5]) 2. print("vector is: ",type(vector),vector) 3. cal = robjects.r(''' 4. vector 5. ''' 6. ) 7. print('this is type of cal', type(cal())) Hi all, I have encountered a very strange problem. I was trying to pass a python float list into R

Re: [web2py] web2py with python3

2018-06-12 Thread yifan li
b2py version since > sometimes and there been many compatibilities issues fixed since then. > > If you use linux box most of them are ship with python 3 beside python 2 > or even python 3 as default sometimes... If it is not the case, you can > start web2py with "python3 web2py.py ...

[web2py] web2py with python3

2018-06-12 Thread yifan li
Hi everyone, I install latest version for web2py. But the python version in web2py is 2.7.9. However, I executed web2py in anaconda. My anaconda has python version 3.6 installed. How could I upgrade python version to 3.6 in web2py. Best regards, Yifan -- Resources: - http://web2py.com -