400, Boris Steipe wrote:
I discourage the use of print() for debugging.
Put a browser() statement into your loop and when execution takes you to the
debugger interface, examine your variables and expressions one by one.
B.
On Apr 4, 2017, at 10:09 AM, DANIEL PRECIADO
mailto:danp...@h
ironment to list, as in:
f <- function() ls(.GlobalEnv)
f()
[1] "f" "foobar"
On 4 Apr 2017, at 12:27 , DANIEL PRECIADO
mailto:danp...@hotmail.com>> wrote:
Thanks, but printing doesn't work within the function either. (i.e, no
result or output, or error).
th
> the same as last week?
>
> -pd
>
>
> > On 4 Apr 2017, at 10:50 , DANIEL PRECIADO
> > wrote:
> >
> > The following function is supposed to search the workspace and save
> > plots (i.e. listing all objects in the workspace named "Figs",
>
The following function is supposed to search the workspace and save
plots (i.e. listing all objects in the workspace named "Figs", which
are all ggplot2 plots, and saving them as png files)
SaveFigs <- function()
{
for (i in ls(pattern="_Figs_"))
{
filename = paste
Dear list,
I want to use nlxb (package nlmrt) to fit different datasets to a gaussian,
obtain parameters (including standard error, t-and p-value) and confidence
intervals.
nlxb generates the parameters, but very often results in NA standard
error,t-and p-values. Furthermore, using confint() t
Dear list,
I want to apply the same nls function to different subsets of a larger
dataset. These subsets are defined as unique combinations of two
(categorical) variables, each one with two levels, so I should obtain 4
sets of parameters after fitting.
I have managed to do it in a loop, creatin
Randomly, whenever I try to save a plot, R becomes unresponsive and has to be
killed. This happens almost every time.
R version 3.2.4 (2016-03-10) -- "Very Secure Dishes”
Platform: x86_64-apple-darwin13.4.0 (64-bit)
R.app GUI 1.67 (7152) x86_64-apple-darwin13.4.0
Os el capitan 10.11.3 (Although t
you are doing when it becomes
unresponsive? If so, it would be helpful to see an example.
On Fri, Mar 18, 2016 at 5:45 AM, Daniel Preciado wrote:
Randomly, whenever I try to save a plot, R becomes unresponsive and has to be
killed. This happens almost every time.
R version 3.2.4 (2016-03
8 matches
Mail list logo