[R] problems using the bc package

Gabor Grothendieck ggrothendieck at gmail.com
Sun Jan 24 19:57:06 CET 2010


Use a version of bc that supports the -l argument (which is used for
defining the standard math library).  There are links on the r-bc home
page.

On Sun, Jan 24, 2010 at 1:10 PM, kayj <kjaja27 at yahoo.com> wrote:
>
> Hi All,
>
> I am hoping that someone have an answer for this. I have downloaded the bc
> package form the following link
> http://code.google.com/p/r-bc/
>
> from "on windows" and saved the file under R/library
>
> I am using R form windows vista, when I open R, bc does not appear under
> load packages.
>
> I have tried the examples in
> http://www.kingcomputerservices.com/unix_101/using_bc_part_1.htm
>  from the command line  an it works fine. the problem occurs when I try to
> run the simple example in  http://code.google.com/p/r-bc/ from R in windows
>
> here is what I get
>
>> source("http://r-bc.googlecode.com/svn/trunk/R/bc.R")
>> one <- bc(1)
> Error in system(cmd, input = input, intern = TRUE) : -l not found
>>
>
>
> thanks for your help
>
>
> --
> View this message in context: http://n4.nabble.com/problems-using-the-bc-package-tp1288765p1288765.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list