r - Error in xy.coords(x, y, xlabel, ylabel, log) -


i getting error following execution :

library(adegenet) library(ape) dat <- haplogen(seq.l=1e4, repro=function(){sample(1:4,1)}, gen.time=1, t.max=3) plot(dat, main="simulated data")  #error in xy.coords(x, y, xlabel, ylabel, log) :  #  'x' list, not have components 'x' , 'y' #calls: plot -> plot -> plot.default -> xy.coords 

same code works in rweb online !!

i think problem package. tried updating package , following error.

** preparing package lazy loading error : object ‘renderprint’ not exported 'namespace:shiny'  error: lazy loading failed package ‘adegenet’ * removing ‘~/r/x86_64-pc-linux-gnu-library/2.14/adegenet’ * restoring previous ‘~/r/x86_64-pc-linux-gnu-library/2.14/adegenet’ warning in install.packages : installation of package ‘adegenet’ had non-zero exit status 

also have similar problems other plots same packages loaded. code:

dat <- haplogen(seq.l=1e4, repro=function(){sample(1:4,1)}, gen.time=1, t.max=3)  res <- seqtrack(dat, mu=0.0001, haplo.length=1e4) plot(res, main="seqtrack reconstruction")  

this plot get. docs.google.com/file/d/0bxrqodn_w-mgeg1hrhdls0ppzhm/edit actual plot should docs.google.com/file/d/0bxrqodn_w-mgcdnpzw1tmfbxeee/edit

this tested on rweb online too. have tested on rstudio well. doesn't make difference.

version details => ubuntu 12.04, adegenet version 1.3.1, r version 2.4.1

new version of adegenet package 1.4.1 , not getting installed cran repository in first place (updating error separate issue in have mentioned above).


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -