Error when executing write.csv function in R

0 votes
Error in write.table(packages, file = "packages.csv", raw.names = FALSE,  :
  unused argument (raw.names = FALSE)

when execute the following command in R

write.csv([data-frame-name], file = "packages.csv", raw.names = FALSE)
Nov 21, 2018 in Data Analytics by Ali
• 10,290 points
102 views

2 answers to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hey @Ali, I think you've miss-spelled row. Change the command to the following

write.csv([data-frame-name], file = "packages.csv", row.names = FALSE)

Hope this helps:)

answered Nov 21, 2018 by Kalgi
• 35,750 points
0 votes
row.names = F
answered Mar 5 by anonymous

Related Questions In Data Analytics

0 votes
1 answer

Error sayimg "Executing test function test.should_error ... Timing stopped at: 0 0 0 " in R

In your testthat tests you declare an anonymous function like so: function() ...READ MORE

answered Nov 12, 2018 in Data Analytics by Maverick
• 10,000 points
30 views
0 votes
1 answer

How to write a custom function which will replace all the missing values in a vector with the mean of values in R?

Consider this vector: a<-c(1,2,3,NA,4,5,NA,NA) Write the function to impute ...READ MORE

answered Jul 4, 2018 in Data Analytics by CodingByHeart77
• 3,680 points
53 views
0 votes
1 answer

Error saying "Error in df$item : object of type 'closure' is not subsettable" when trying to use arules package

Try replacing ID <- c("A123","A123","A123","A123","B456","B456","B456") item <- c("bread", "butter", ...READ MORE

answered Nov 15, 2018 in Data Analytics by Maverick
• 10,000 points
51 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

"subscript out of bounds" error in while executing simple R program

This is caused by trying to access ...READ MORE

answered Oct 31, 2018 in Data Analytics by Kalgi
• 35,750 points
46 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.