[R] command line boa problems...

From: Evan Cooch <cooch17_at_verizon.net>
Date: Fri 23 Jun 2006 - 23:35:25 EST

Greetings -

For a number of reasons, I'm moving from CODA to BOA - and I have one or two really basic, boa-newbie questions. While I have the 'menu-driven' version of boa working fine (most recent version, running under R 2.3.1 on a Windows machine), for the life of me I can't seem to get some basic boa.xxxx command-line functions to work at all. Even things like boa.version() or boa.license() return errors. But, boa.init() and other functions seem to work fine.

At this stage, I'd be happy getting the first - fairly key - function to work - boa.importASCII. My MCMC sample data are in a flat ASCII file (white-space delimited), called practice.txt. There are two columns in the file (iteration number, parameter value), both labeled in the first row of the file (as per instructions in the boa documentation). I know the file is formatted OK, because I can import and play with it successfully using the boa.menu() approach. But, for some reason, boa.importASCII won't touch it.

Suppose the file is on my desktop (remember, windows machine)

I've tried all the variuous front-slash, back-slash, double-slash etc. combinations I can think of...

boa.importASCII(practice,"c:\documents and settings\eg7\desktop")

boa.importASCII(practice,"c:\\documents and settings\\eg7\\desktop")

boa.importASCII(practice,"c:/documents and settings/eg7/desktop")

boa.importASCII(practice,path="c:/documents and settings/eg7/desktop")

boa.importASCII(practice,path="c:\\documents and settings\\eg7\\desktop")

and so on...and so on...in each case, boa.importASCII reports that

Error in paste(prefix, boa.par("ASCIIext"), sep = "") :

       object "practice" not found

or something to that effect - basically, practice.txt isn't being found.



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jun 23 23:39:48 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 24 Jun 2006 - 02:12:29 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.