[R] snowfall sfInit error

Jochen Knaus jo at imbi.uni-freiburg.de
Wed Dec 24 10:55:57 CET 2008


Dear Mr. Ripley,

snowfall 1.7 is finished, and is now working on Windows as intended - 
sorry for my oversight of that error. The given example now runs (as a 
sidenote: snow does not have to loaded explicitely, snowfall will do that).

Also the NWS startup is fixed now (thanks to M. Schmidtberger for a 
small patch) and an error in sfSapply is fixed.

Otherwise minor things were corrected or added.

I uploaded the package to CRAN yesterday and beside it is downloadable 
from our site http://www.imbi.uni-freiburg.de/parallel

Greetings, Jochen Knaus

> 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.
>>
>



More information about the R-help mailing list