Александр Мащенко
2017-Aug-22 15:51 UTC
[R] Error in .jnew(“java/io/FileOutputStream”, jFile)
I don't know R absolutely, but I have to do this work for my diploma. So I'm sorry for strange message below. Please, help me anybody decides this issue. If you need any information, I'll show you all what you need. **error**:<br>> #save > #csv >file.create("C:\\Users\\Sapl\\Desktop\\NATA\\code\\Results\\Created by R\\ab_ret_banks_short_form_10.05.2006.csv")[1] TRUE> write.csv(ab_ret, "C:\\Users\\Sapl\\Desktop\\NATA\\code\\Results\\Created by R\\ab_ret_banks_short_form_10.05.2006.csv") > #xlsx > file.create("C:\\Users\\Sapl\\Desktop\\NATA\\code\\Results\\Created by R\\ab_ret_banks_short_form_10.05.2006.xlsx")[1] TRUE> write.xlsx(ab_ret, "C:\\Users\\Sapl\\Desktop\\NATA\\code\\Results\\Created by R\\10.05.2006\\ab_ret_banks_short_form_10.05.2006.xlsx") > >Error in .jnew("java/io/FileOutputStream", jFile) : >java.io.FileNotFoundException: >C:\Users\Sapl\Desktop\NATA\code\Results\Created by R\10.05.2006\ab_ret_banks_short_form_10.05.2006.xlsx (unreadablesymbols)**EDIT:** write.xlsx(abn_ret_all,"C:\\Users\\Sapl\\Desktop\\NATA\\code\\Results\\Created by R\\10.05.2006\\ab_ret_banks_long_form_13.07.10.05.2006.xlsx") Error in .jnew("java/io/FileOutputStream", jFile) : java.io.FileNotFoundException: C:\Users\Sapl\Desktop\NATA\code\Results\Created by R\10.05.2006\ab_ret_banks_long_form_13.07.10.05.2006.xlsx (?????????????? ???? ?????????????? ?????????? ?????????????????? ????????) Also, I've got one more error. It's just following the previous one. Sorry, I'm totally noob here .. In addition: Warning message: In data.row.names(row.names, rowsi, i) : some row.names duplicated: 2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133 --> row.names NOT used [[alternative HTML version deleted]]
Martin Møller Skarbiniks Pedersen
2017-Aug-22 18:57 UTC
[R] Error in .jnew(“java/io/FileOutputStream”, jFile)
On 22 August 2017 at 17:51, ????????? ??????? <saneki2105 at gmail.com> wrote:> > > I don't know R absolutely, but I have to do this work for my diploma. SoI'm sorry for strange message below. Please, help me anybody decides this issue. [...]> > write.xlsx(ab_ret,"C:\\Users\\Sapl\\Desktop\\NATA\\code\\Results\\Created by R\\10.05.2006\\ab_ret_banks_short_form_10.05.2006.xlsx")> > > >Error in .jnew("java/io/FileOutputStream", jFile) : > >java.io.FileNotFoundException: > >C:\Users\Sapl\Desktop\NATA\code\Results\Created byR\10.05.2006\ab_ret_banks_short_form_10.05.2006.xlsx (unreadablesymbols) I see that you have also posted this answer at Stackoverflow: https://stackoverflow.com/questions/45782728/error-in-jnewjava-io-fileoutputstream-jfile My best guess is that the directory: C:\Users\Sapl\Desktop\NATA\code\Results\Created by R\10.05.2006\ doesn't exist. Regards Martin [[alternative HTML version deleted]]