2
R-Excel vba addin을 쓰려고하는데 GetArrayToVBA
을 사용하는 데 문제가 있습니다.R-Excel VBA : GetArrayToVBA에 의해 반환 된 값을 추출하는 방법?
예 : 메시지 박스에서
RInterface.StartRServer
RInterface.RRun "mytst<-4"
Dim tstVar As Variant, tst As Double
tstVar = RInterface.GetArrayToVBA("mytst")
tst = CDbl(testVar)
MsgBox "count = " & CStr(tst)
RInterface.StopRServer
count = 0
결과를 도시. 나는 count = 4
을 기대하고 있었다.
이제는 아름답게 작동합니다. – Steve