Hi, I'm having a problem using the 'SHLIB' command in R. I keep getting syntax errors. The help gives the following usage for it: Rcmd SHLIB [-o dllname] files 'files' is supposed to be a list of files, but whether I set up a list or a character vector, I still get a syntax error. Does anyone know if they're are supposed to be quotes somewhere in there? If someone has an example of this command that's worked, I'd appreciate it. Thanks, Paul Louisell (860) 565-5417 louisept at pweh.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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
It's a command to be used from a shell, not inside R. On Wed, 31 Jul 2002, Louisell, Paul , T. wrote:> Hi, > > I'm having a problem using the 'SHLIB' command in R. I keep getting syntax > errors. The help gives the following usage for it: > > Rcmd SHLIB [-o dllname] files > > 'files' is supposed to be a list of files, but whether I set up a list or a > character vector, I still get a syntax error. Does anyone know if they're > are supposed to be quotes somewhere in there? If someone has an example of > this command that's worked, I'd appreciate it. > > Thanks, > > Paul Louisell > (860) 565-5417 > louisept at pweh.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 > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"Louisell, Paul , T." wrote:> > Hi, > > I'm having a problem using the 'SHLIB' command in R. I keep getting syntax > errors. The help gives the following usage for it: > > Rcmd SHLIB [-o dllname] files > > 'files' is supposed to be a list of files, but whether I set up a list or a > character vector, I still get a syntax error. Does anyone know if they're > are supposed to be quotes somewhere in there? If someone has an example of > this command that's worked, I'd appreciate it.1. Tell us your OS. Well, you are on windows, as we can guess from "Rcmd". 2. Tell us your version of R. 3. Rcmd can't be invoked from within R. It is an executable that will be in ...\your-r-directory\bin . It will be in there if (a) you have compiled R yourself or (b) if you choose to install the sources as well from the Setup Wizard. So you should invoke it from the windows shell. The list of files has to be seperated by blanks. Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"Louisell, Paul , T." <paul.louisell at pw.utc.com> writes:> Hi, > > I'm having a problem using the 'SHLIB' command in R. I keep getting syntax > errors. The help gives the following usage for it: > > Rcmd SHLIB [-o dllname] files > > 'files' is supposed to be a list of files, but whether I set up a list or a > character vector, I still get a syntax error. Does anyone know if they're > are supposed to be quotes somewhere in there? If someone has an example of > this command that's worked, I'd appreciate it.You need to run that from a COMMAND LINE (an MS-DOS window or similar), outside of R. I suppose the help pages could be clearer, but I think you'd be less easily confused after studying the "Writing R Extensions" manual. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._