-
Notifications
You must be signed in to change notification settings - Fork 51
object 'results' not found #334
Comments
Have a look at this issue 284, I have just been running into this myself and it seems using the option setAutoDeleteJob(FALSE) and .options.azure = list(enableCloudCombine = FALSE) will solve your issue. the link has more details but bassically you merge it yourself by reading from the blob storage directly. |
@Pullarg I tried Error message
Sample code
|
Hi @ericchansen If you remove the Below: This example works my_results <- foreach(t = 1:3, .combine = 'rbind') %dopar% {
my_results_df <- data.frame("x" = runif(2), "trial" = replicate(2, t))
my_results_list <- runif(3)
return(my_results_df)
}
my_results |
@brnleehng Yep, that's what I've been doing. I suppose I don't understand the use case for The documentation doesn't have any clear examples besides what's mentioned here. Looking at that example, I feel like that would also trigger this error. |
@brnleehng I need to return a list rather than bind rows. Is there anyway to skip the merge step at all, as i am getting the same failure. I would like to just perform this on the head( non cloud side) by reading from the storage account directly. Update: |
Hi @ericchansen The case for Hi @Pullarg, > getJobResult("job20181205211937")
Getting job results...
enableCloudCombine is set to FALSE, we will merge job result locally
[[1]]
[1] 2
[[2]]
[1] 3
[[3]]
[1] 4 Thanks, |
I'm getting the same error even with |
Can you add NULL at the end of the %dopar% block? I'm looking into fixing enableCloudCombine path = false. |
Before submitting a bug please check the following:
sessionInfo()
Updates
EDIT (11/29/2018) - Added additional examples, corrected a typo and improved formatting.
Description
Can someone please explain why I get the error
object 'results' not found
? Full code below.Ideally, I need to return two objects from inside the loop. One is a data frame that gets row binded, and the other is a list that needs to become a list of lists. In the example below, I'm only returning the data frame (will work on adding the list as additional output once this issue is resolved).
Instruction to repro the problem if applicable
Example 1
Example 2 featuring superfluous use of
setAutoDeleteJob(FALSE)
Output from
sessionInfo()
Output from error
The text was updated successfully, but these errors were encountered: