Help with Prada Package: Installation and Run
2
0
Entering edit mode
M. Jankowski ▴ 160
@m-jankowski-2199
Last seen 10.2 years ago
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20070606/ 54be3dbd/attachment.pl
• 740 views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 3 months ago
United States
Taking a peak at the directory where the files are stored shows > list.files(system.file('extdata', package='prada')) ... [5] "fas-Bcl2-plate323-04-04.A01" ... so there are no spaces in the file name, just hyphens. Martin Oleg Sklyar <osklyar at="" ebi.ac.uk=""> writes: >>> filepath <- system.file("extdata", "fas Bcl2 plate323 -04-04.A01", package >> = >> + "prada") >>> filepath >> [1] "" >>> sampdat <- readFCS(filepath) >> Error: filename != "" is not TRUE > > You did the print for 'filepath' and it shows [1] "", which means that > in readFCS you are trying to read a missing file. Thus it is reasonable > that you get an error message which checks the condition whether the > file name you supplied is not empty. In this case it is, thus the result > is not TRUE. There is probably a statement in the code: > stopifnot(filename != "") which outputds exactly what you see. > > So it probably has nothing to do with installation and rather with the > file name supplied in this example. In fact, check the spaces in the > file name, maybe they need to be escaped with a \ ? > Best > Oleg > > -- > Dr Oleg Sklyar | EBI-EMBL, Cambridge CB10 1SD, UK | +44-1223-494466 > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor -- Martin Morgan Bioconductor / Computational Biology http://bioconductor.org
ADD COMMENT
0
Entering edit mode
Oleg Sklyar ▴ 260
@oleg-sklyar-1882
Last seen 10.2 years ago
>> filepath <- system.file("extdata", "fas Bcl2 plate323 -04-04.A01", package > = > + "prada") >> filepath > [1] "" >> sampdat <- readFCS(filepath) > Error: filename != "" is not TRUE You did the print for 'filepath' and it shows [1] "", which means that in readFCS you are trying to read a missing file. Thus it is reasonable that you get an error message which checks the condition whether the file name you supplied is not empty. In this case it is, thus the result is not TRUE. There is probably a statement in the code: stopifnot(filename != "") which outputds exactly what you see. So it probably has nothing to do with installation and rather with the file name supplied in this example. In fact, check the spaces in the file name, maybe they need to be escaped with a \ ? Best Oleg -- Dr Oleg Sklyar | EBI-EMBL, Cambridge CB10 1SD, UK | +44-1223-494466
ADD COMMENT

Login before adding your answer.

Traffic: 464 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