Hi,
It is my first time on this website, recently I had the error regarding java in Stata 15.1 , on the Stata 15 everything was fine and my code worked.
but now it is not and gives me this error
the error : java.lang.NoSuchMethodError: Method com.stata.sfi.DataFrame.dropVar(Ljava/lang/String;I)I name or signature does not match
the code is :
cap cd `csv_folder'
local filelistA: dir . files "*.csv"
foreach file of local filelistA {
import delimited `file', varnames(1) encoding(UTF-8) clear
drop var2 var 3 var4
local dta_file = "`file'"+".dta"
save "`dta_folder'\`dta_file'", replace
}
clear
set obs 1
g Var1=.
save "`data_folder'\alldata.dta", replace
I am not sure if the problem is produced by Java or by this version of Stata, (15.1), I have checked the java , its there and the version is 1.8.0_144
I hope if there is a way to fix it
Regards,
Related Posts with java.lang.NoSuchMethodError + Stata 15.1
Deleting rows with NAsDear Statalists, I would like to delete rows where are only 7 real values and the rest is NA, does a…
-teffects- detecting "non-integers", from a variable that has only positive valuesHello, I am using teffects to analyze the effect of individual patient variables on hospital length …
Multilevel Modelling - Variance PartitioningDear Stata-listers, I hope you are all doing well. Before I ask my question, let me provide a brie…
ttest two group mean-comparasion test: How big should be the difference between the variances to considering unequal test?I am testing the association of some antibodies with different symptoms. This is the same group of p…
Command to list households with multiple heads/without heads in a survey dataBelow is a extract data from a survey conducted for various households within a community, please wh…
Subscribe to:
Post Comments (Atom)
0 Response to java.lang.NoSuchMethodError + Stata 15.1
Post a Comment