Browse code

Commit made by the Bioconductor Git-SVN bridge. Consists of 2 commit(s).

Commit information:

Commit id: 7a57f8f12af44e2295d0f6fd77c054fe93c1bf04
Commit message:
RE:demo/import.R wrote demo.RData result into wrong directory

I removed getwd() before dataDir in line 16 from Paul's latest version:
> serializedFile <- file.path(dataDir, "demo.RData")
The code is running on my computer now.
Committed by tmuetze <tmuetze at users.noreply.github.com>
Commit date: 2014-02-04T13:37:16-08:00

Commit id: 6767477ee3341420e56537279e915ec57c54b462
Commit message:
Merge pull request #3 from tmuetze/patch-3

RE:demo/import.R wrote demo.RData result into wrong directory
Committed by pshannon-bioc <pshannon at fhcrc.org>
Commit date: 2014-02-05T10:17:31-08:00

From: Bioconductor Git-SVN Bridge <bioc-sync@bioconductor.org>

git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/MotifDb@86102 bc3139a8-67e5-0310-9ffc-ced21a209358

p.shannon authored on 05/02/2014 18:17:38
Showing 1 changed files

... ...
@@ -13,7 +13,7 @@ run = function (dataDir)
13 13
   matrices <- normalizeMatrices (matrices)
14 14
   matrices <- renameMatrices (matrices, tbl.md)
15 15
 
16
-  serializedFile <- file.path(getwd(), dataDir, "demo.RData")
16
+  serializedFile <- file.path(dataDir, "demo.RData")
17 17
   printf("writing %s to %s", "demo.RData", dataDir)
18 18
 
19 19
   save (matrices, tbl.md, file=serializedFile)