I have a file in R , and I do write.csv () but when I go to my desktop and I open the csv file I get data from three columns deleted

The data where is said character is the one that gets deleted and just comes Na , I also tried to loaded in excell extention but it gives me the next error

Error: package or namespace load failed for ‘xlsx’:
.onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: JAVA_HOME cannot be determined from the Registry

You don't need to install any extra packages to be able to write a dataframe to a simple .CSV file on disk.
Its likely that you have some errors in your R code, and that is why you are getting some columns
containing only NA missing values.

Can you post some a sample of the data and the code that you are trying to run? See the "posting guide" of this Forum on how to produce and post a simple Reproducible Example ("reprex").

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.