hodgesse1 / rfortran

Automatically exported from code.google.com/p/rfortran
0 stars 0 forks source link

Error: negative extents to matrix AND [rcom] R object does not exist #122

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
*** What steps will reproduce the problem?
*** What is the expected output?

I was running a R-SWAT-FME.exe, which will execute R and ArcSWAT (a 
hydrological model) simultaneously for model calibration. The first few steps 
were just model (swat) test run and those went well. The errors arose when I 
need the R and swat loop to execute simultaneously.
---------------------------------------

*** What do you see instead?
Execution stopped,
Errors as follows:
"
yp_SWAT_FME.R  is executed on thread:            0  ---- 
  yp_SWAT2R      is executed on thread:            1  ---- 
  yp_SWAT2R ... (Fortran run this repeatedly until R finishes) 
 ... 1 ... 2 ... 3 ... 4 ... 5*ERROR    : [RFORTRAN] ID:-2147221493 Reval failed: source('c:/research/projects/2014 r swat/txtinout/yp_SWAT_FME.R') ([rcom] R object does not exist)
*ERROR    : [R] Error in matrix(unlist(value, recursive = FALSE, use.names = 
FALSE), nrow = nr,  :    negative extents to matrix
 Warning  : Could not load Rscript: c:/research/projects/2014 r swat/txtinout/yp_SWAT_FME.R
"

I believe my rcom was installed properly since the comregisterregistry() 
returns NULL. 

--------------------------------
*** What version of RFortran are you using?

v3.0.0 
-------------------------------------------
*** On which Windows operating system?

Win 7
----------------------------------------------
*** What Fortran compiler (name and version number) are you using?

Intel Parallel Studio XE 2015 Update 1 Composer Edition, which includes IVF 
(With VS installed)
----------------------------------------------
*** What version of R are you using?

2.15.3
------------------

*** Run the simple test program, "RFortran\Simple Test Programs\_RputRgetRe
valRcall_IVF_unitTests\RputRgetRevalRcall_IVF_unitTests.exe" and provide a
copy of the RFortran.log file (located in the same folder)

*** If there were installer errors - please provide of the output from the
installer window(s)

*** If there were build errors - please provide a copy of the build output
from IVF/CVF

*** If you have a coding solution to this defect please include the file
(or preferably a svn patch) as an attachment

*** Please provide any additional information below.

Original issue reported on code.google.com by jacqueli...@gmail.com on 3 Dec 2014 at 12:28

Attachments: