Export File Error In R ?
1
0
Entering edit mode
6.1 years ago
jha.barkha8 ▴ 10
>library(rJava)
Error: package or namespace load failed for ‘rJava’:
 .onLoad failed in loadNamespace() for 'rJava', details:
  call: dirname(this$RuntimeLib)
  error: a character vector argument expected

 >write.xlsx(eg,"c:/eg.xlsx")
Error in .jnew("java/io/FileOutputStream", jFile): 
  java.io.FileNotFoundException: c:\eg.xlsx (Access is denied)
R RNA-Seq software error java rjava • 3.0k views
ADD COMMENT
3
Entering edit mode
6.1 years ago

Your first error is due to some sort of installation issue with rJava. Uninstall and reinstall it.

The second error is due to a permission error, since you don't have permission to write to C:\. You'll need to write to your home directory or somewhere like that.

ADD COMMENT

Login before adding your answer.

Traffic: 1985 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6