load a TranscriptDb object in another R session?
1
1
Entering edit mode
@sang-chul-choi-5066
Last seen 9.6 years ago
Hi, I made a TranscriptDb object, which worked fine when I use it in the same R session. I want to reuse it by saving the object and loading it in another R session. I got an error like following: > txdb <- makeTranscriptDb (transcripts, splicings, chrominfo=chrominfo) > save(txdb, file="a.rda") ... quit R and rerun R > load("a.rda") > feature.cds <- cds(txdb, columns="exon_name") Error in sqliteExecStatement(con, statement, bind.data) : RS-DBI driver: (expired SQLiteConnection) What do I have to reuse a TranscriptDb object in another R session? Thank you, SangChul
TranscriptDb TranscriptDb • 1.3k views
ADD COMMENT
0
Entering edit mode
Malcolm Cook ★ 1.6k
@malcolm-cook-6293
Last seen 2 days ago
United States
look at the manual for ?saveFeatures ?loadFeatures ~Malcolm > -----Original Message----- > From: bioconductor-bounces at r-project.org [mailto:bioconductor- > bounces at r-project.org] On Behalf Of Sang Chul Choi > Sent: Friday, April 06, 2012 1:34 PM > To: bioconductor > Subject: [BioC] load a TranscriptDb object in another R session? > > Hi, > > I made a TranscriptDb object, which worked fine when I use it in the same R > session. I want to reuse it by saving the object and loading it in another R > session. I got an error like following: > > > txdb <- makeTranscriptDb (transcripts, splicings, chrominfo=chrominfo) > > save(txdb, file="a.rda") > > ... quit R and rerun R > > > load("a.rda") > > feature.cds <- cds(txdb, columns="exon_name") > Error in sqliteExecStatement(con, statement, bind.data) : > RS-DBI driver: (expired SQLiteConnection) > > What do I have to reuse a TranscriptDb object in another R session? > > Thank you, > > SangChul > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor
ADD COMMENT
0
Entering edit mode
The functions you are looking for are: ?saveDb ?loadDb You can also use the older saveFeatures and loadFeatures as Malcolm suggested, but internally, those will now just call the more generically useful functions above. Marc On 04/06/2012 11:51 AM, Cook, Malcolm wrote: > look at the manual for > ?saveFeatures > ?loadFeatures > > > ~Malcolm > > >> -----Original Message----- >> From: bioconductor-bounces at r-project.org [mailto:bioconductor- >> bounces at r-project.org] On Behalf Of Sang Chul Choi >> Sent: Friday, April 06, 2012 1:34 PM >> To: bioconductor >> Subject: [BioC] load a TranscriptDb object in another R session? >> >> Hi, >> >> I made a TranscriptDb object, which worked fine when I use it in the same R >> session. I want to reuse it by saving the object and loading it in another R >> session. I got an error like following: >> >>> txdb<- makeTranscriptDb (transcripts, splicings, chrominfo=chrominfo) >>> save(txdb, file="a.rda") >> ... quit R and rerun R >> >>> load("a.rda") >>> feature.cds<- cds(txdb, columns="exon_name") >> Error in sqliteExecStatement(con, statement, bind.data) : >> RS-DBI driver: (expired SQLiteConnection) >> >> What do I have to reuse a TranscriptDb object in another R session? >> >> Thank you, >> >> SangChul >> _______________________________________________ >> Bioconductor mailing list >> Bioconductor at r-project.org >> https://stat.ethz.ch/mailman/listinfo/bioconductor >> Search the archives: >> http://news.gmane.org/gmane.science.biology.informatics.conductor > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
ADD REPLY

Login before adding your answer.

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