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

Popular posts from this blog

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -