I believe my problem is similar to this question but I couldn't solve it. After installing the package readstata13, I run the following code in R and it works fine:
data <- read.dta13("D:/Monash/ETC5860 - Research paper/data/Data_Release/conditionfactors_stress_d06302013.dta")
Then I try to do it from Mathematica but it doesn't work:
Needs["RLink`"]; InstallR; REvaluate["install.packages('readstata13')"] Shallow[testdata = REvaluate[ "read.dta13('***samepath***/conditionfactors_stress_d06302013.dta')"]]
I get the following:
Error:could not find function "read.dta13"
Can someone help me fix this? The owner of the aforementioned question said something about not mixing InstallR with his command but I don't know what that means.
Thanks in advance,