Displaying 1 result from an estimated 1 matches for "no_of_years".
2008 Jun 05
1
R-code embedded in VBE -- Type mismatch errors
...g is that it is quite difficult to understand whether the error
depends on VB, on my R code, or on the interface of the two environments!
Thanks in advance for any suggestions you might have
Peter
------------------- VB Code ---------------------------------
Dim Link_Ratio() As Double
[...]
No_of_Years =
Application.WorksheetFunction.Count(Worksheets("InputTriangle").Range("C15:IV15"))
ReDim Triangle(No_of_Years, No_of_Years)
ReDim Link_Ratio(No_of_Years)
[...]
' Calling some R functions
Call rinterface.RunRFile(Functions_String)
' Input
For ID_Col = 1 To No_of_Yea...