Problem with pdInfoBuilder
1
0
Entering edit mode
@michael-mozar-4289
Last seen 10.3 years ago
when i try to make a package i have an error like this : Erreur dans validObject(.Object) : objet de classe "ScalarCharacter" incorrect : ScalarCharacter must have length one here my script: library(pdInfoBuilder) ndf <- list.files(pattern = ".ndf", full.names = TRUE) xys <- list.files(pattern = ".xys", full.names = TRUE) seed <- new("NgsExpressionPDInfoPkgSeed", ndfFile = ndf, xysFile = xys, author = "MOZAR Michael", email = "michael.mozar@univ-perp.fr", biocViews = "AnnotationData", genomebuild = "Retroryza", organism = "Rice", species = "Oryza Sativa", url = "none") here my sessionInfo : library(pdInfoBuilder) ndf <- list.files(pattern = ".ndf", full.names = TRUE) xys <- list.files(pattern = ".xys", full.names = TRUE) seed <- new("NgsExpressionPDInfoPkgSeed", ndfFile = ndf, xysFile = xys, author = "MOZAR Michael", email = "michael.mozar@univ-perp.fr", biocViews = "AnnotationData", genomebuild = "Retroryza", organism = "Rice", species = "Oryza Sativa", url = "none") and my traceback() : ndf <- list.files(pattern = ".ndf", full.names = TRUE) xys <- list.files(pattern = ".xys", full.names = TRUE) seed <- new("NgsExpressionPDInfoPkgSeed", ndfFile = ndf, xysFile = xys, author = "MOZAR Michael", email = "michael.mozar@univ-perp.fr", biocViews = "AnnotationData", genomebuild = "Retroryza", organism = "Rice", species = "Oryza Sativa", url = "none") thanks for your help -- MOZAR Michaël Master Bioinformatique Université de Nantes 0688715937 [[alternative HTML version deleted]]
• 985 views
ADD COMMENT
0
Entering edit mode
@benilton-carvalho-1375
Last seen 4.7 years ago
Brazil/Campinas/UNICAMP
what are the contents of 'ndf' and 'xys'? On 29 April 2011 09:15, Michael MOZAR <mozemaster@gmail.com> wrote: > when i try to make a package i have an error like this : > > Erreur dans validObject(.Object) : > objet de classe "ScalarCharacter" incorrect : ScalarCharacter must have > length one > > > here my script: > > library(pdInfoBuilder) > > ndf <- list.files(pattern = ".ndf", full.names = TRUE) > xys <- list.files(pattern = ".xys", full.names = TRUE) > seed <- new("NgsExpressionPDInfoPkgSeed", > ndfFile = ndf, xysFile = xys, > author = "MOZAR Michael", > email = "michael.mozar@univ-perp.fr", > biocViews = "AnnotationData", > genomebuild = "Retroryza", > organism = "Rice", species = "Oryza Sativa", > url = "none") > > here my sessionInfo : > > library(pdInfoBuilder) > > ndf <- list.files(pattern = ".ndf", full.names = TRUE) > xys <- list.files(pattern = ".xys", full.names = TRUE) > seed <- new("NgsExpressionPDInfoPkgSeed", > ndfFile = ndf, xysFile = xys, > author = "MOZAR Michael", > email = "michael.mozar@univ-perp.fr", > biocViews = "AnnotationData", > genomebuild = "Retroryza", > organism = "Rice", species = "Oryza Sativa", > url = "none") > > and my traceback() : > > ndf <- list.files(pattern = ".ndf", full.names = TRUE) > xys <- list.files(pattern = ".xys", full.names = TRUE) > seed <- new("NgsExpressionPDInfoPkgSeed", > ndfFile = ndf, xysFile = xys, > author = "MOZAR Michael", > email = "michael.mozar@univ-perp.fr", > biocViews = "AnnotationData", > genomebuild = "Retroryza", > organism = "Rice", species = "Oryza Sativa", > url = "none") > > thanks for your help > -- > MOZAR Michaël > Master Bioinformatique > Université de Nantes > 0688715937 > > [[alternative HTML version deleted]] > > > _______________________________________________ > Bioconductor mailing list > Bioconductor@r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > -- Successful people ask better questions, and as a result, they get better answers. (Tony Robbins) [[alternative HTML version deleted]]
ADD COMMENT

Login before adding your answer.

Traffic: 554 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6