Hi I am getting errors when using StataCall:
julia> using StataCall
julia> df = DataFrame(myint = Int64.(floor.(100 .* rand(Float64, 10))), myfloat = rand(Float64, 10))
julia> instructions = [“gen newvar1 = myint + myfloat”;
“gen newvar2 = floor(_n/2)”;
“bysort newvar2: egen newvar3 = mean(newvar1)”
]
julia> dfOut = StataCall.stataCall(instructions, df)
ERROR: IOError: could not spawn cat 'D:\Corona Graminea\Python\__63763355990458.log'
: no such file or directory (ENOENT)
Stacktrace:
[1] _spawn_primitive(::String, ::Cmd, ::Array{Any,1}) at .\process.jl:99
[2] #550 at .\process.jl:112 [inlined]
[3] setup_stdios(::Base.var"#550#551"{Cmd}, ::Array{Any,1}) at .\process.jl:196
[4] _spawn at .\process.jl:111 [inlined]
[5] run(::Cmd; wait::Bool) at .\process.jl:439
[6] run at .\process.jl:438 [inlined]
[7] stataCall_internal(::Array{String,1}, ::DataFrame; retrieveData::Bool, doNotEscapeCharacters::Bool, keepLog::Bool, quiet::Bool) at C:\Users\Aathma.julia\packages\StataCall\VVxuj\src\call.jl:95
[8] stataCall at C:\Users\Aathma.julia\packages\StataCall\VVxuj\src\call.jl:5 [inlined] (repeats 2 times)
[9] top-level scope at REPL[6]:1