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
Which test to use in Stata? Relationship Wage Gender EducationHello, a very naive and at the same time simple question: For a project in statistics where we wan…
calculate the number of sharemy data looks like this and I want to calculate how many times did each bank lead in the year for e…
dynamic probit fixed effects model using "probitfe" r(3900)Hi all, I am working with large dynamic binary panel data with i=53856 and t=11 (total obs. 592416)…
Applying HCUP software on NIS data through STATAHello everyone, I'm using NIS data for research, which is a dataset that uses ICD-10 codes to genera…
Proportion test for multiple groupsHi, I want to compare how does use of drug "A" differs across age categories. Total drug A users w…
Subscribe to:
Post Comments (Atom)
0 Response to java.lang.NoSuchMethodError + Stata 15.1
Post a Comment