Displaying 4 results from an estimated 4 matches for "sflibrary".
Did you mean:
library
2016 Apr 28
0
Snowfall - Error in checkForRemoteErrors(val) with sfClusterApplyLB()
Hello,
I'm trying to run a code that uses the snowfall package. Here is the structure of my code.
sfInit(parallel=T, cpus = 5, slaveOutfile="ErrorMessage.txt")
sfExportAll()
sfLibrary(rgdal)
sfLibrary(raster)
sfLibrary(sp)
sfLibrary(rgeos)
sfLibrary(snowfall)
system.time( sfClusterApplyLB(1:10, function(k) {
sfCat(paste("Iteration ", k), sep="\n")
if (......) {
} else {
if (class(ob1)=="SpatialCollections") {
ob2 <- ob1 at l...
2011 Jan 12
1
snowfall
Hello,
Just wondering why I am unable to run this in parallel.
A dput of my dataset is attached at the end. Please use to create my data
object.
I want to run this function in parallel (not sure if this is an efficient
implementation):
#Function to calculate the time to maturity for the option
require(fCalendar,quietly=TRUE) #Trying to calculate the trading days
2012 May 02
6
Quickest way to make a large "empty" file on disk?
R-helpers:
What would be the absolute fastest way to make a large "empty" file (e.g.
filled with all zeroes) on disk, given a byte size and a given number
number of empty values. I know I can use writeBin, but the "object" in
this case may be far too large to store in main memory. I'm asking because
I'm going to use this file in conjunction with mmap to do parallel
2013 May 09
0
Barra de progreso en RODBC
...Iniciamos los 2 clusters #################
###########################################
#Iniciamos dos cluster para trabajar en paralelo y el log lo guardamos en
esclavos txt
sfInit( parallel=TRUE, cpus=2, slaveOutfile="esclavos.txt" )
#Cargamos paquete RODBC en los dos cluster
sfLibrary( RODBC )
############################################
# Definimos variables del proceso ############
############################################
tab <- as.character("Pruebas_R") #Nombre de la tabla donde se realizara
la inserciĆ³n de los datos
asubir <- as.numeric(nrow(da...