Displaying 2 results from an estimated 2 matches for "zoltanctoth".
2015 Sep 01
0
lazy loading in SparkR
...# We can fix it with an internal function:
lazyLoad(filebase = file.path(SPARK_HOME, "R/lib/SparkR/R/SparkR"),
envir = parent.frame(), filter = function(x) TRUE)
}
# parallelize() works now
Please help me understand what goes wrong.
Here is the whole repro:
https://gist.github.com/zoltanctoth/971ae374dace93de12f0#file-sparkr-rstudio-parallelize-r-L21-L31
And the relevant files from the Spark installation:
https://www.dropbox.com/sh/0xp2wgkbrl7ov64/AAAHRWdMecGMkVdo0GUs6fmYa?dl=0
Thanks,
Best,
Zoltan
--
https://www.linkedin.com/in/zoltanctoth
[[alternative HTML version deleted]]
2011 Aug 04
2
random value generation with added constraint.
Hi
I am looking at generating a random dataset of say 100 values fitting in a
normal distribution of a given mean and SD, I am aware of rnorm
function. However i am trying to build into this function one added
constraint that all the random value generated should also obey the
constraint that they only take values between say X to X+25
How do i do this in R?
Any help would be highly appreciated,.