Question: Export File Error In R ?
0
gravatar for jha.barkha8
14 months 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.0k views
ADD COMMENTlink modified 14 months ago by Devon Ryan90k • written 14 months ago by jha.barkha810
3
gravatar for Devon Ryan
14 months ago by
Devon Ryan90k
Freiburg, Germany
Devon Ryan90k 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 14 months ago by Devon Ryan90k
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: 947 users visited in the last hour