Displaying 20 results from an estimated 1000 matches similar to: "gráfico jpg png"
2012 Dec 24
2
whats wrong in my codes???
Dear R family,i am trying to plot and save, simultaneously, about 1000. the name of each plot is contained in "names" file. when i run this loop, i get an error.
"Error in plot.new() : Unable to open file 'C:/R/SAVEHERE/myplot_Tak.jpg' for writing". could you please correct the mistake in the loop?
>names<-(names(sp))
>for(a in seq_along(names)){
>mypath
2013 Feb 17
2
Loop
Hi all,
I want to execute a loop of a program:
for (u in Timeframemin:Timeframe){}
Imagine that Timeframemin<-10
Timefram<-10000
Is it posible to execute the loop but only proving from 10 to 10000 but
jumping 10 each time, for example, execute for 10,20,30.....to Timeframe.
Other question is, when a program is "heavy" and has a lot of loops to
execute (how can I know where
2011 Mar 03
2
Greek character and R
Dear R users.
In a loop, I set the title of my graph with :
mytitle = expression(paste(delta^13,'C Station ', i)
title(mytitle)
However, instead of using value of i, it will literally use "i" character.
Any one know the way to concatenate the value of i to the mathematical
expression?
With regards,
Phil
--
View this message in context:
2007 Mar 04
1
Problem using callNextMethod() in S4
Dear all,
Maybe, I am doing something wrong, but using R-2.5.0 on my Intel-Mac, I
have problems
using function callNextMethod() in method initialize.
I am loading the following code as file "testS4.R":
setClass("baseClass",
representation(myname = "character",
mydir = "character",
"VIRTUAL"),
2007 Apr 26
2
SweaveInput and absolute paths
Hi,
Is there a way to turn off the automatic inclusion of "./" at the
beginning of a path specified in an \SweaveInput{} instruction?
I'd like to create some reusable "template modules" of Sweave code and
put them in a standard directory like
/Resources/Affymetrix
Then the corresponding file that uses one of these would include a
command like
2017 Sep 18
1
llvm-link: Missing Dwarf DIE references
I am experiencing an issue combining bitcode files for the purpose of generating the combined bitcodes as a single bitcode file. I would like to have any pointers to help me debug this or maybe it has been seen before and a fix is either being worked on or is done.
I am using the Xcode 9.0 compiler. I believe the Swift code is 3.x. I have reproduced this using the tot llvm-link.
The input
2008 Sep 25
2
ggplot, qplot in loop
Dear List,
yes, me again trying to work with qplot ;-)
I would like to make several single plots within a loop, like this
(simplified and so on...):
trials <- c("A","B","C")
mycolours <- ("wheat","darkolivegreen","lightgreen",
2020 Aug 28
2
Evaluate values in `Sys.setenv`
Hi all,
I would like to know if there is any way to evaluate the values in
`Sys.setenv` before setting the environment variables. For example, if we
want to add a path to the environment variable `PATH`, we can do this in a
terminal
```
> export PATH=~/mypath:$PATH
> echo $PATH
/Users/jeff/mypath:...
```
However, this style of assignment is not allowed in `Sys.setenv`, it
treats its
2012 Apr 12
1
Sobre series de tiempo y automatización.-
Hola,
Espero que todos estén muy bien.
Les cuento la situación: En estos momentos estamos trabajando en un
proyecto sobre el modelado de unas series de tiempo semanales y
estamos confeccionando un proceso de forma tal que cada semana solo
hay que ejecutar un par de guiones que nos da el pronóstico de las 3 o
4 semanas siguientes. Con esta forma de trabajar se está apuntando a
la automatización
2003 Apr 03
4
Password Aging Policies - SAMBA
I am new to SAMBA. I am using it with LINUX and I love it! Nice change from you know who.
I am sorry if this is a lame question, but I am setting up a Primary Domain Controller and a Backup Domain Controller. All the clients are Windows 2K or XP. I need the clients to reset their passwords every 30 days. I am having a hard time locating a procedure to set this feature. LINUX has 'chage'
2005 Dec 01
2
Minimizing a Function with three Parameters
Hi,
I'm trying to get maximum likelihood estimates of \alpha, \beta_0 and
\beta_1, this can be achieved by solving the following three equations:
n / \alpha + \sum\limits_{i=1}^{n} ln(\psihat(i)) -
\sum\limits_{i=1}^{n} ( ln(x_i + \psihat(i)) ) = 0
\alpha \sum\limits_{i=1}^{n} 1/(psihat(i)) - (\alpha+1)
\sum\limits_{i=1}^{n} ( 1 / (x_i + \psihat(i)) ) = 0
\alpha \sum\limits_{i=1}^{n} (
2000 Dec 29
2
how to create help files
Dear R users,
this is a question for R version 1.2.0 under Windows NT 4.0, regarding the
documentation of ones own functions.
I have ceated a private library for my functions, which works all very well,
apart from that I am not able to create appropriate help files.
For illustration, here is a simple example of where I'm stuck:
> # first, create a simple function f1:
> f1 <-
2013 Jan 08
2
plot residuals per factor
Dear R-users,
I want to plot residuals vs fitted for multiple groups with ggplot2.
I try this code, but unsuccessful.
library("plyr")
models<-dlply(dat1,"d",function(df)
mod<-lm(y~x,data=df)
ggplot(models,aes(.fitted,.resid), color=factor(d))+
geom_hline(yintercept=0,col="white",size=2)+
geom_point()+
geom_smooth(se=F)
--
---
Catalin-Constantin ROIBU
2012 Aug 07
6
Decimal number
HI
>i have a little problem please help me to solve it
>this is the code in R:
>> beta0
[1] 64.90614
> beta1
[1] 17.7025
> beta
[1] 17 64
>her beta<- c(beta0, beta1)
thank you in advance
hafida
--
View this message in context: http://r.789695.n4.nabble.com/Decimal-number-tp4639428.html
Sent from the R help mailing list archive at Nabble.com.
2011 May 20
3
"no such file to load -- rails/commands/runner (LoadError)"
Hi,
I am using ruby 1.9.2 and rails 3 for my application.
I have written a bash script which I want to run in cron.
If I directly run the bash file it runs. If I run it through the cron I
get the following error:-
"/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'': no such file to load -- rails/commands/runner (LoadError)
from
2012 Feb 03
1
incomplete final line found on <name of my sourced function file>
Dear R-ers,
I hope there is a really simple solution to my problem.
I've written a function that I saved in an .r file. I source this file
in my code. For a while it worked fine. But then when I run the line:
source("F mylineplot.r")
I started getting a warning:
In readLines(file) : incomplete final line found on 'F mylineplot.r'
I have no idea why - I tried to check and
2008 Aug 22
2
WinBUGS with R
Dear Users,
I am new to both of things, so do not blame me too much...
I am busy with semiparametric regression and use WinBUGS to sample
posteriors.
The code to call Winbugs is as follows:
data <- list("y","X","n","m") #My variables
inits.beta <- rep(0,K)
inits.beta0 <- 0
inits <-
2011 May 04
1
hurdle, simulated power
Hi all--
We are planning an intervention study for adolescent alcohol use, and I
am planning to use simulations based on a hurdle model (using the
hurdle() function in package pscl) for sample size estimation.
The simulation code and power code are below -- note that at the moment
the "power" code is just returning the coefficients, as something isn't
working quite right.
The
2010 Nov 16
1
Sweave: \Sexpr and variables with special chars
I am using \Sexpr to include a variable in a title of a Sweave document:
\documentclass[a4paper]{article}
<<echo=false, results=hide>>=
#mytitlevar <- "Stuff" # case 1, everything is find
mytitlevar <- "Stuff_first" # case 2, f is turned into sub-text
@
\title{MyTitle: \\ \Sexpr{mytitlevar} }
\begin{document}
\maketitle
\end{document}
When doing this, the
2008 Sep 12
1
Error in "[<-"(`*tmp*`, i, value = numeric(0)) :
I use "while" loop but it produces an errro. I have no idea about this.
Error in "[<-"(`*tmp*`, i, value = numeric(0)) :
nothing to replace with
The problem description is
The likelihood includes two parameters to be estimated: lambda
(=beta0+beta1*x) and alpha. The algorithm for the estimation is as
following:
1) with alpha=0, estimate lambda (estimate beta0