Re: [Bioc-devel] Running Perl Scripts from R package

2013-10-23 Thread Hervé Pagès
Hi, On 10/23/2013 11:55 AM, Gabriel Becker wrote: Charles, If you put your scripts (or any file) in inst/folder within your package structure you can always get the path to them by doing system.file("folder/", package="") This is not portable. Better use: system.file("folder", "", package=

Re: [Bioc-devel] Running Perl Scripts from R package

2013-10-23 Thread Warden, Charles
package - Original Message - > From: "Gabriel Becker" > To: "Charles Warden" > Cc: bioc-devel@r-project.org > Sent: Wednesday, October 23, 2013 11:55:05 AM > Subject: Re: [Bioc-devel] Running Perl Scripts from R package > > Charles, > > If yo

Re: [Bioc-devel] Running Perl Scripts from R package

2013-10-23 Thread Dan Tenenbaum
- Original Message - > From: "Gabriel Becker" > To: "Charles Warden" > Cc: bioc-devel@r-project.org > Sent: Wednesday, October 23, 2013 11:55:05 AM > Subject: Re: [Bioc-devel] Running Perl Scripts from R package > > Charles, > > If yo

Re: [Bioc-devel] Running Perl Scripts from R package

2013-10-23 Thread Gabriel Becker
Charles, If you put your scripts (or any file) in inst/folder within your package structure you can always get the path to them by doing system.file("folder/", package="") regardless of install location for the package. In other words, system.file can see all folders in your inst directory, not ju

[Bioc-devel] Running Perl Scripts from R package

2013-10-23 Thread Warden, Charles
Hi, I would like to develop a Bioconductor package that calls Perl scripts for certain functions. I currently have a standalone program written in Perl that calls Rscript at certain steps, so I would like to switch this around. It looks like I can call Perl scripts using the 'system' command,