I am working on python libraries and their functions in R environment using reticulate
package.
I am accessing these libraries using the following criteria
library('reticulate')
pvlib <- import('pvlib')
models say from pvlib library can be obtained this way:
GFS <- pvlib$forecast$GFS
wherever I want this model, I can call it using the variable name in which I have stored it.
Now the problem lies in calling different function from libraries (for example pvlib
).
I believe I can do it using the below mentioned way.
sandia_modules <- pvlib$pvsystem$retrieve_sam('sandiamod')
this approach isn't working for me. I am not sure how I can do it correctly. If anyone guide me to the correct approach will appreciate.
Regards