Question: Export File Error In R ?
0
gravatar for jha.barkha8
2.0 years ago by
jha.barkha810
jha.barkha810 wrote:
>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)
rjava rna-seq java R software error • 1.6k views
ADD COMMENTlink modified 2.0 years ago by Devon Ryan94k • written 2.0 years ago by jha.barkha810
3
gravatar for Devon Ryan
2.0 years ago by
Devon Ryan94k
Freiburg, Germany
Devon Ryan94k wrote:

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 COMMENTlink written 2.0 years ago by Devon Ryan94k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1977 users visited in the last hour