I have a problem with embedding R into perl. I downloaded the interface program/module from omegahat.org, and I can't seem to understand how to use it. This is all done under Win NT 4.0. If anyone have any clue or any suggestions on how to interface R into perl, I would be greatful. Please email me with comments at racerdude911 at yahoo.com Thanks Scott __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
jon do wrote:> I have a problem with embedding R into perl. I > downloaded the interface program/module from > omegahat.org, and I can't seem to understand how to > use it. This is all done under Win NT 4.0. If anyone > have any clue or any suggestions on how to interface R > into perl, I would be greatful. Please email me with > comments at racerdude911 at yahoo.com > Thanks > ScottI don't believe the package has ever been used under Windows. It is setup for Unix. The same infra-structure should work, but the configuration/setup should be quite different. I am not certain which version you have, and whether it even supports running R inside Perl. The original package did things the other way around - namely, Perl in R. I am in the process of finishing off an update to the package which provides support for running R inside Perl, but this is not available in package form yet. After that is released, perhaps I or some interested party will explore the Windows configuration setup. Hope that helps. D.> > __________________________________________________ > Do You Yahoo!? > Make international calls for as low as $.04/minute with Yahoo! Messenger > http://phonecard.yahoo.com/ > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._-- _______________________________________________________________ Duncan Temple Lang duncan at research.bell-labs.com Bell Labs, Lucent Technologies office: (908)582-3217 700 Mountain Avenue, Room 2C-259 fax: (908)582-3340 Murray Hill, NJ 07974-2070 http://cm.bell-labs.com/stat/duncan -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I was using num <-scan("",numeric(0)) in a file to be ran in batch or with R --vanilla <bidon.R but I don't know how to make it wait for the value ??? i.e. if you do the same typing 19 didier at mace $ R --vanilla R : Copyright 2001, The R D> source("bidon.R")1: 1 2: 33 3: 999 4: Read 3 items> num[1] 1 33 999> q()the "batch" gave 20 didier at mace $ R --vanilla <bidon.R R : Copyright 2001, The R Development Core Team Version 1.2.3 (2001-04> num <- scan("",numeric(0))1: Read 0 items> q()and if you put source("bidon.R) in Runbidon.R 22 didier at mace $ R --vanilla <Runbidon.R ...> source("bidon.R")1: Read 0 items>23 didier at mace $ Is there any options or variables to change to make it ...wait! thanks -- Didier G. Leibovici didier at fmrib.ox.ac.uk +44 (0)1865 222 739 Image Analysis Group fax:+44 (0)1865 222 717 Oxford University, Centre For Functional Magnetic Resonance Imaging of the Brain (FMRIB), John Radcliffe Hospital, Headington, Oxford OX3 9DU, U.K http://www.fmrib.ox.ac.uk/~didier/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._