[R] Perl

2003-07-27 Thread Pierre-Olivier Chasset
Dear Helpers, I would like to know if I can call other use R-method within Perl scripts. I have not found any module in CPAN (Perl Archive). Thanks, Pierre-Olivier __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] Perl

2003-07-28 Thread Jason Turner
Pierre-Olivier Chasset wrote: Dear Helpers, I would like to know if I can call other use R-method within Perl scripts. I have not found any module in CPAN (Perl Archive). Thanks, The server's not responding right now, but check out RSPerl on Omegahat: http://www.omegahat.org Cheers Jason -- Indig

Re: [R] Perl

2003-07-28 Thread Prof Brian Ripley
On Mon, 28 Jul 2003, Jason Turner wrote: > Pierre-Olivier Chasset wrote: > > Dear Helpers, > > > > I would like to know if I can call other use R-method within Perl scripts. > > I have not found any module in CPAN (Perl Archive). > > Thanks, > > > > The server's not responding right now, but ch

[R] Perl--R interface

2004-06-23 Thread XIAO LIU
R users: My R is 1.8.1 in Linux. How can I call R in Perl process? And call Perl from R? Thanks Xiao __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/po

[R] Perl installation under SuSe

2005-06-13 Thread Werner Bier
Hi R-Help, I have just downloaded RSPerl_0.7-0.tar.gz under SuSe. If I type [EMAIL PROTECTED]: ~work> R CMD INSTALL -c RSPerl_0.7-0.tar.gz i get the following error message makedir: cannot create directory '/user/lib/R/library/00LOCK' : Permission denied ERROR: failed to lock directory

RE: [R] Perl--R interface

2004-06-23 Thread Arne.Muller
IU > Sent: 23 June 2004 17:11 > To: [EMAIL PROTECTED] > Subject: [R] Perl--R interface > > > R users: > > My R is 1.8.1 in Linux. How can I call R in Perl process? > And call Perl from R? > > Thanks > > Xiao > > _

Re: [R] Perl--R interface

2004-06-23 Thread Paul Roebuck
On Wed, 23 Jun 2004, XIAO LIU wrote: > My R is 1.8.1 in Linux. How can I call R in Perl process? > And call Perl from R? > This is only one direction but worth a look as an alternative. --

[R] perl script in exec/

2004-07-29 Thread Jason Sinnwell
Dear useRs- I am developing a package that uses output from stand-alone unix software programs. I use multiple perl scripts to process the output and make it ready for reading into R. I would like to keep the perl scripts in the designated place for such files, exec/, but I can't find how a

Re: [R] Perl installation under SuSe

2005-06-13 Thread Prof Brian Ripley
On Mon, 13 Jun 2005, Werner Bier wrote: > Hi R-Help, > > I have just downloaded RSPerl_0.7-0.tar.gz under SuSe. > If I type > > [EMAIL PROTECTED]: ~work> R CMD INSTALL -c RSPerl_0.7-0.tar.gz > > i get the following error message > > makedir: cannot create directory '/user/lib/R/library/00LOCK' :

Re: [R] Perl installation under SuSe

2005-06-13 Thread Uwe Ligges
Werner Bier wrote: > Hi R-Help, > > I have just downloaded RSPerl_0.7-0.tar.gz under SuSe. > If I type > > [EMAIL PROTECTED]: ~work> R CMD INSTALL -c RSPerl_0.7-0.tar.gz > > i get the following error message > > makedir: cannot create directory '/user/lib/R/library/00LOCK' : Permission

Re: [R] Perl installation under SuSe

2005-06-13 Thread Werner Bier
Thanks a lot! Let me try again... Werner Bier <[EMAIL PROTECTED]> wrote: Hi R-Help, I have just downloaded RSPerl_0.7-0.tar.gz under SuSe. If I type [EMAIL PROTECTED]: ~work> R CMD INSTALL -c RSPerl_0.7-0.tar.gz i get the following error message makedir: cannot create directory '/user/lib/

Re: [R] perl script in exec/

2004-07-30 Thread Uwe Ligges
Jason Sinnwell wrote: Dear useRs- I am developing a package that uses output from stand-alone unix software programs. I use multiple perl scripts to process the output and make it ready for reading into R. I would like to keep the perl scripts in the designated place for such files, exec/, but

[R] Perl-style regexes and capturing results

2006-05-04 Thread Sean Davis
Just a quick question In perl, I can capture parts of a regex like /(\w)\/(\d)/ to get back $1 and $2 containing the parts of the regex in parentheses. Is there a parallel in R? Thanks, Sean __ R-help@stat.math.ethz.ch mailing list https://stat.et

[R] Plotting with Statistics::R, Perl/R

2005-01-21 Thread Leah Barrera
I am trying to plot in R from a perl script using the Statistics::R package as my bridge. The following are the conditions: 0. I am running from a Linux server. 1. Even without xwindows the following saves test.png correctly from an interactive session with R: > xy<-cbind(1,1) > png("test.png")

Re: [R] Perl-style regexes and capturing results

2006-05-04 Thread Gabor Grothendieck
gsub and sub support backreferences sub("(.):(.)", "\\2:\\1", c("1:2", "5:6")) # c("2:1", "6:5") # and you can capture them separately using strapply in the gsubfn package # or perform function-based substitutions using gsubfn. # Returns: list(c("1", "2"), c("5", "6")) library(gsubfn) strapply(

Re: [R] Perl-style regexes and capturing results

2006-05-04 Thread Prof Brian Ripley
On Thu, 4 May 2006, Sean Davis wrote: > Just a quick question > > In perl, I can capture parts of a regex like /(\w)\/(\d)/ to get back $1 and > $2 containing the parts of the regex in parentheses. Is there a parallel in > R? Yes. See ?gsub and especially the examples. This is not specific

Re: [R] Plotting with Statistics::R, Perl/R

2005-01-21 Thread Dirk Eddelbuettel
On Fri, Jan 21, 2005 at 06:06:45PM -0800, Leah Barrera wrote: > I am trying to plot in R from a perl script using the Statistics::R > package as my bridge. The following are the conditions: > > 0. I am running from a Linux server. > > 1. Even without xwindows the following saves test.png correct

Re: [R] Plotting with Statistics::R, Perl/R

2005-01-21 Thread Tim Churches
Dirk Eddelbuettel wrote: Plotting certain formats requires the X11 server to be present as the font metrics for those formats can be supplied only the X11 server. Other drivers don;t the font metrics from X11 -- I think pdf is a good counterexample. When you run in 'batch' via a Perl script, you do

Re: [R] Plotting with Statistics::R, Perl/R

2005-01-21 Thread Joe Conway
Dirk Eddelbuettel wrote: On Fri, Jan 21, 2005 at 06:06:45PM -0800, Leah Barrera wrote: I am trying to plot in R from a perl script using the Statistics::R package as my bridge. The following are the conditions: 0. I am running from a Linux server. Plotting certain formats requires the X11 server

Re: [R] Plotting with Statistics::R, Perl/R

2005-01-21 Thread Tim Churches
Joe Conway wrote: Dirk Eddelbuettel wrote: On Fri, Jan 21, 2005 at 06:06:45PM -0800, Leah Barrera wrote: I am trying to plot in R from a perl script using the Statistics::R package as my bridge. The following are the conditions: 0. I am running from a Linux server. Plotting certain formats requir

Re: [R] Plotting with Statistics::R, Perl/R

2005-01-22 Thread Peter Dalgaard
Dirk Eddelbuettel <[EMAIL PROTECTED]> writes: > a) if you must have png() as a format, you can start a virtual X11 server >with the xvfb server -- this is a bit involved, but doable; > > b) if you can do other formats instead of png(), this can work -- I have >forgotten the details but

Re: [R] Plotting with Statistics::R, Perl/R

2005-01-24 Thread Tim Churches
Peter Dalgaard wrote: d) Use bitmap(). It requires a working Ghostscript install, but is otherwise much more convenient. Newer versions of Ghostscript have some quite decent antialiasing built into some of the png devices. Currently you need a small hack to pass the extra options to Ghostscript --

[R] Perl on Windows XP for Rcmd build

2003-02-15 Thread Douglas Bates
Is there a recommended binary version of perl to use under Windows XP for `Rcmd build'? The R FAQ for Windows just mentions "perl". I think that Kevin Wang's document on R for Windows suggests ActiveState perl but I have not been able to install it. I am running Windows XP Professional on a la

[R] Perl array conversion in R to compare plots.

2006-01-17 Thread modono
Hello all, I am using RSPerl package to display plots in R . I want to be able to compare some data in boxplot and in histogram and in probplot ( from e1071 package) - ( cumulative probability plot - normal) I have a nested arrray of data ... from perl like the following data[0][0] = (1,2,3,.

RE: [R] Perl on Windows XP for Rcmd build

2003-02-15 Thread Marc Schwartz
>-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] On Behalf Of Douglas Bates >Sent: Saturday, February 15, 2003 12:52 PM >To: [EMAIL PROTECTED] >Subject: [R] Perl on Windows XP for Rcmd build > > >Is there a recommended binary version of

Re: [R] Perl on Windows XP for Rcmd build

2003-02-15 Thread A.J. Rossini
Douglas Bates <[EMAIL PROTECTED]> writes: > Is there a recommended binary version of perl to use under Windows XP > for `Rcmd build'? The R FAQ for Windows just mentions "perl". I > think that Kevin Wang's document on R for Windows suggests ActiveState > perl but I have not been able to install

Re: [R] Perl on Windows XP for Rcmd build

2003-02-15 Thread ripley
You do need Windows Perl, but I have only tested ActiveState perl. Cygwin Perl wil not work: it does not understand the Windows paths. We've never seen a problem with ActiveState perl on XP. On 15 Feb 2003, Douglas Bates wrote: > Is there a recommended binary version of perl to use under Windows