How can I suppress Bokeh Error: unsatisfiable constraint?
Related
I'm trying to install the fastman function so I can make a manhattan plot. This is my code:
install.packages("remotes", repos = "http://cran.us.r-project.org", lib="/z/Comp/lu_group/Members/jwlorge/ATN/R")
remotes::install_github("danioreo/fastman",lib = "/z/Comp/lu_group/Members/jwlorge/ATN/R")
and this is my full error:
Error: package or namespace load failed for ‘fastman’ in namespaceExport(ns, exports):
undefined exports: fastman
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/z/Comp/lu_group/Members/jwlorge/ATN/R/fastman’
Warning message:
In i.p(...) :
installation of package ‘/tmp/RtmpP7Gtus/file129f63150195f8/fastman_0.1.0.tar.gz’ had non-zero exit status
I've been looking online for help and I haven't found many posts that are related to my problem, and none have solved the issue. I would greatly appreciate any help!
Alternatively, you can download the R scripts (https://github.com/danielldhwang/fastman/blob/master/R/fastman.R) and run source(fastman.R) from your R/RSudio session.
Source: https://github.com/danielldhwang/fastman/issues/2
When I run:
library("ggplot2")
I get the error below:
Error: package or namespace load failed for ‘ggplot2’:
object ‘enexprs’ is not exported by 'namespace:rlang'
In addition:
Warning message:
package ‘ggplot2’ was built under R version 3.4.4
Any idea how I can solve this issue?
Please install the latest version of rlang to solve this error.
I get the following error message when trying to load pbkrtest:
Error : object ‘sigma’ is not exported by 'namespace:stats'
In addition: Warning messages: 1: package ‘pbkrtest’ was built under R version 3.3.1 2: replacing previous import by ‘stats::sigma’ when loading ‘pbkrtest’
Error: package or namespace load failed for ‘pbkrtest’
Any suggestions?
What about trying this:
update.packages(ask = FALSE, repos = 'http://cran.rstudio.org')
It works for me.
Trying to install Shiny local pacakge after downloading:
install.packages("/tmp/shiny_0.13.1.tar.gz", repos=NULL, type="source")
I get this error:
-ksh: syntax error: `(' unexpected
is the syntax right ? Please advise
I'm trying to run a r script from the command line, but I get warning messages when packages are loaded:
C:\Temp>Rscript myscript.r param
Warning message:
package 'RODBC' was built under R version 3.0.1
Warning message:
package 'ggplot2' was built under R version 3.0.1
Warning message:
package 'reshape2' was built under R version 3.0.1
Warning message:
package 'lubridate' was built under R version 3.0.1
Warning message:
package 'scales' was built under R version 3.0.1
I' tried to use suppressPackageStartupMessages:
suppressPackageStartupMessages(library(RODBC))
or supressMessages
suppressMessages(library(RODBC))
but these did not suppress these messages. How to get rid of these warnings?
These are not messages but warnings. You can do:
suppressWarnings(library(RODBC))
or
suppressWarnings(suppressMessages(library(RODBC)))
to suppress both types.
I put this at the top of all my scripts and preface my library loads with it:
shhh <- suppressPackageStartupMessages # It's a library, so shhh!
Then you can load the library thusly:
shhh(library(tidyverse))
and rely on perfect silence.