Skip to content
This repository was archived by the owner on Oct 26, 2022. It is now read-only.

Error when using plot function #381

@FionaMoon

Description

@FionaMoon

Hi all,
I met a strange problem which never exists before.
Every time I run cellphonedb plot heatmap_plot, I'll get errors like this

Warning message:
In options(stringsAsFactors = TRUE) :
  'options(stringsAsFactors = TRUE)' is deprecated and will be disabled
Error: package or namespace load failed for ‘methods’:
 .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
Error: package or namespace load failed for ‘datasets’:
 .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
Error: package or namespace load failed for ‘utils’:
 .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
Error: package or namespace load failed for ‘grDevices’:
 .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
Error: package or namespace load failed for ‘graphics’:
 .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
Error: package or namespace load failed for ‘stats’:
 .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
Error: package or namespace load failed for ‘methods’:
 .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
During startup - Warning messages:
1: package "methods" in options("defaultPackages") was not found 
2: package ‘datasets’ in options("defaultPackages") was not found 
3: package ‘utils’ in options("defaultPackages") was not found 
4: package ‘grDevices’ in options("defaultPackages") was not found 
5: package ‘graphics’ in options("defaultPackages") was not found 
6: package ‘stats’ in options("defaultPackages") was not found 
7: package ‘methods’ in options("defaultPackages") was not found 
Error: .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
Fatal error: unable to initialize the JIT

Any suggestions for me?
Thank you inadvance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions