how to create a csv in a R server? -
i running r code in server. data frame:
npifinal <- data.frame(     npi = npi$npi,     id = npi$id,     first_name = npi$first,     last_name = npi$last,     email_id = npi$email,     primary_speciality = npi$psnew,     other_speciality = npi$othersplname ) and tried write csv using:
write.csv(npifinal,"npi data.csv") but getting error:
error in file(file, ifelse(append, "a", "w")) :    cannot open connection.. can me code?
 
 
Comments
Post a Comment