[R] package or namespace load failed for ‘dismo’

2015-10-18 Thread Jefferson Ferreira-Ferreira
ols_0.2-8 foreach_1.4.2 grid_3.0.3 iterators_1.0.7 tools_3.0.3 * Any advice or tip do deal with it will be appreciated? Thanks in advance. -- *Jefferson Ferreira-Ferreira* Geógrafo – GEOPROCESSAMENTO IDSM | Coordenadoria de TI jefferson.ferre...@mamiraua.org.br *Instituto de Dese

Re: [R] if else for cumulative sum error

2014-12-03 Thread Jefferson Ferreira-Ferreira
Department of Anthropology Texas AM University College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of David Winsemius Sent: Tuesday, December 2, 2014 2:50 PM To: Jefferson Ferreira-Ferreira Cc: r-help@r-project.org Subject: Re: [R

[R] if else for cumulative sum error

2014-12-02 Thread Jefferson Ferreira-Ferreira
Hello everybody; I'm writing a code where part of it is as follows: for (i in nrow(dadosmax)){ dadosmax$enchday[i] - if (sum(dadosmax$above[i:(i+44)]) = 45) 1 else 0 } That is for each row of my data frame, sum an specific column (0 or 1) of that row plus 44 rows. If It is =45 than enchday is

Re: [R] if else for cumulative sum error

2014-12-02 Thread Jefferson Ferreira-Ferreira
has 2720 elements: only the first used I can't figure out why only the first row was calculated... Any ideas? Em Tue Dec 02 2014 at 15:22:25, John McKown john.archie.mck...@gmail.com escreveu: On Tue, Dec 2, 2014 at 12:08 PM, Jefferson Ferreira-Ferreira jeco...@gmail.com wrote: Hello

[R] Fwd: rbind error - duplicated row.names not allowed

2014-03-31 Thread Jefferson Ferreira Ferreira
' columns that don't have duplicated numbers among it. 'pol' and 'image' columns are defined as levels. and all.pol - rbind(df1,df2,df3,df4,df5) return the this error of row.names duplicated. Any idea? Thanks in advance -- *Jefferson Ferreira-Ferreira* Geógrafo - GEOPROCESSAMENTO IDSM | Coordenadoria