Closed AsyaKarpova closed 5 years ago
Can you send me an example document that produces this error?
By now I have found that the error with message oprofile not found
arrises when I compile the file from my bookdown project.
But if I do it from another folder, I can successfully compile the Rmd file with eval=TRUE
, using Stata-64. With Stata-32 file is compiled with eval=FALSE
(with eval=TRUE
I have to close Stata manually and the stata chunk does not perform).
I can look into the bookdown problem.
can you tell me the results of
packageVersion("Statamarkdown") packageVersion("knitr")
find_stata() ought to be able to find the executable with the path shown in your example. Both executables are on the same computer?
Have you run this Stata code in both versions of Stata manually?
packageVersion("Statamarkdown")
0.3.4
packageVersion("knitr")
1.20
Yes, both executables are on the same computer. I have changed the path to use Stata-64.
If I run the code in both versions of Stata manually, it performs without problems.
I have not been able to reproduce this problem.
I am using Statamarkdown 3.5, knitr 1.22, bookdown 0.9 .
From: Asya Karpova [mailto:notifications@github.com]
Sent: Friday, March 22, 2019 2:33 PM
To: Hemken/Statamarkdown
Cc: Doug Hemken; Comment
Subject: Re: [Hemken/Statamarkdown] oprofile
not found (#1)
packageVersion("Statamarkdown") 0.3.4 packageVersion("knitr") 1.20
Yes, both executables are on the same computer. I have changed the path to use Stata-64.
If I run the code in both versions of Stata manually, it performs without problems.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Hemken/Statamarkdown/issues/1#issuecomment-475752846, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALAWE1I6dKlpLa1fTnUdZibDOVq315fmks5vZTAHgaJpZM4cDJg4.
What YAML are you using?
From: Asya Karpova [mailto:notifications@github.com]
Sent: Friday, March 22, 2019 2:33 PM
To: Hemken/Statamarkdown
Cc: Doug Hemken; Comment
Subject: Re: [Hemken/Statamarkdown] oprofile
not found (#1)
packageVersion("Statamarkdown") 0.3.4 packageVersion("knitr") 1.20
Yes, both executables are on the same computer. I have changed the path to use Stata-64.
If I run the code in both versions of Stata manually, it performs without problems.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Hemken/Statamarkdown/issues/1#issuecomment-475752846, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALAWE1I6dKlpLa1fTnUdZibDOVq315fmks5vZTAHgaJpZM4cDJg4.
Conflict likely due to having two Stata versions. No response to last questions ....
I try to compile Rmd file with stata chunks with option
eval=FALSE
. This results in error with messageoprofile
not found. I use StataMP 13