[R] snowfall sfInit error
Jochen Knaus
jo at imbi.uni-freiburg.de
Thu Dec 11 11:19:35 CET 2008
Dear Mr. Ripley,
indeed that it true. sfInit() currently have a bug on Windows depending
on the usage of the Linux tools and the broken Exceptionhandling. Too
bad I never tested it accordingly on Windows (as we do not have any
Windows machines in our institute).
snowfall 1.62 is in the pipe with many other fixes (e.g. NetWorkSpaces
usage) and I will include a Windows workaround in it.
It will go out for testing at the beginning of the week and should be on
CRAN end of the week.
Best regards, 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