[R] snowfall sfInit error

Prof Brian Ripley ripley at stats.ox.ac.uk
Sat Dec 6 14:36:46 CET 2008


On Sat, 6 Dec 2008, chibco at gmail.com wrote:

> Dear all,
>
> I am trying to execute the simple example in snowfall
> http://cran.r-project.org/web/packages/snowfall/vignettes/snowfall.pdf ...
>
> require(snow)
> require(snowfall)
> sfInit( parallel=TRUE, cpus=2 )
> sfLapply( 1:10, exp )
> sfStop()
>
> I have installed the snow and snowfall packages in R on a machine with
> windows xp, however, after running the "sfInit( parallel=TRUE, cpus=2 )"
> line I get an error ...
>
> Error in system("whoami", intern = TRUE, ignore.stderr = TRUE) :
>  whoami not found
> Error in paste(sep = "_", "XXXXXXXXR", uname, format(Sys.time(),
> "%H%M%S_%m%d%y")) :
>  object "uname" not found
>
> I am the only (administrator) user of the computer. It has a dual core
> processor, and is not networked.
>
> I would be greatful if someone could tell me how to proceed.

Follow the posting guide (see the footer of this message) and talk to the 
maintainer of 'snowfall'.  Most likely it is not intended to be used on 
Windows, but has not declared that.  'whoami' and 'uname' are Unix 
programs, not Windows ones, but R's Sys.info() provides equivalent 
information.

>
> Kind regards
>
> Chibisi
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list