Displaying 20 results from an estimated 200 matches similar to: "number of items to replace is not a multiple of replacement length"
2006 Nov 20
2
problem with loop to put data into array with missing data for some files
Dear R-help community,
My main goal of this message is to find a way of skipping a file of a month/year
in a loop that does not exist (and making it's output into an data.out array
would be NA) and moving onto the next year/month in the loop to carry on filling
data.out with real precipitation data.
The situation so far:
I downloaded 50 years worth of GRIB data files from the NCEP data
2006 Nov 20
3
problem with loop to put data into array with missing data forsome files
Hi Jenny
If you want a general solution I understand.
However I just downloaded the file fine (as far as I can tell) so you
are welcome to have a copy. I can email it to you if you want.
I do not think your test for NA is valid. i.e
if(test != "NA"){
}
I think you should use
if(is.na(test)){
}
Or something similar.
J
---
John Seers
Institute of Food Research
Norwich
2012 Feb 13
1
comment lines sometimes removed from a function on exit from internal R editor
Dear All -
The problem: comment lines in an R function (lines beginning with # ) are *sometimes* removed on leaving the R default editor (same with notepad).
I'm working on a Windows machine with R version 2.14.1.
An example is below. Couldn't find anything that seemed to relate to this in the Changelog. I don't recall encountering this behavior with previous versions of R. Any
2017 Aug 02
3
Remove attribute from netcdf4 object
Dear all
For a model I need to combine several netCDF files into one (which works fine). For better overview I'd like to delete/remove some of the attributes. Is there a simple way doing this?
I'm using the package netcdf4, which creates an object of class(nc) = "ncdf4". It seems that for earlier versions of netcdf objects, there was the function att.delete.nc{RNetCDF}. But
2010 Feb 25
0
missing values in 'ncdf', integer versus byte
I'm working with the ncdf package, and I'm seeing a behavior which I
am unsure whether it is a bug or a feature. I am creating a variable,
which I make with the precision of "byte" and also set a missing
value, When I put into this variable, all my NA values are put in
properly as the missing value. However, when I read it back, I get
the missing value rather than NA.
2020 Nov 17
1
Clarifying noalias with metadata merging
Hi,
Looking at how noalias is defined:
https://llvm.org/docs/LangRef.html#noalias-and-alias-scope-metadata
"When evaluating an aliasing query, **if for some domain**, the set of scopes with that domain in one instruction’s alias.scope list is a subset of (or equal to) the set of scopes for that domain in another instruction’s noalias list, then the two memory accesses are assumed not to
2012 Sep 23
1
Tiff image handling like MODI
Greetings,
I have been searching for some application with functionalities like
MODI (Microsoft office Document Imaging)
Many I have checked does not cut it or not cross platform.
Evince just allows multipage viewing, not extraction of individual
pages in to another file.
GUI is a necessity.
I am aware of tifflib, imagemagick, but but not sure about a decent
GUI wrappers for them.
The file
2020 Sep 10
2
[RFC] New Feature Proposal: De-Optimizing Cold Functions using PGO Info
On Wed, Sep 9, 2020 at 9:23 PM Wenlei He via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> I think calling PGSO size opt is probably a bit misleading though. It’s
> more of an adaptive opt strategy, and it can improve performance too due to
> better locality. We have something similar internally for selecting opt
> level based on profile hotness too under AutoFDO.
>
>
2009 Dec 11
1
Your Valuable Inputs
Dear Friend;
We are using SSH as a main service on one of our Red Hat linux 9 based
server. The version is "$OpenBSD: sshd_config,v 1.73 2005/12/06 22:38:28 ".
You can see this is an older version but we are happy with it.
We are facing only one little issue with this which is
"After 'login: user id' inputting, server is taking almost 17 seconds before
displaying password
2017 Aug 02
0
Remove attribute from netcdf4 object
Le 02/08/2017 ? 12:03, raphael.felber at agroscope.admin.ch a ?crit :
> Dear all
>
> For a model I need to combine several netCDF files into one (which works fine). For better overview I'd like to delete/remove some of the attributes. Is there a simple way doing this?
>
> I'm using the package netcdf4, which creates an object of class(nc) = "ncdf4". It seems that
2011 May 19
1
Specifying Splits WhenUusing rpart
I am using the package rpart to explore various classification structures.
The call looks like:
seekhi1<-rpart(pvol~spec+a1+psize+eppres+numpt+icds+bivalcrt+stents+ppshare+
nhosp+nyrs,data=dat,method="class",
control=rpart.control(minsplit=30,xval=10))
The output is
1) root 198 87 1 (0.5606061 0.4393939)
2) psize=1,2 122 43 1 (0.6475410 0.3524590)
2017 Aug 02
0
Remove attribute from netcdf4 object
Dear Marc
Thanks for your remark. I don't want to use both packages. I mentioned the package RNetCDF to show that there is a similar function I' d like to use.
Raphael
Von: Marc Girondot [mailto:marc.girondot at u-psud.fr]
Gesendet: Mittwoch, 2. August 2017 14:51
An: Felber Raphael Agroscope <raphael.felber at agroscope.admin.ch>; r-help at r-project.org
Betreff: Re: [R] Remove
2013 Jan 23
0
Mixed effects para factores y no para covariables. Guia y dudas
Hola buenas tras meses investigando como hacer anovas para factores con
efectos fijos y efectos aleatorios, he encontrado una serie de funciones
que satisfacen mis pretensiones y creo correctas en cierta medida. Me
gustaría compartirlas con vosotros con doble intención, la primera es
compartirla para que si otro se encuentra en esta situación que tenga el
trabajo hecho y la segunda es que sean
2017 Aug 02
0
Remove attribute from netcdf4 object
Hi Marc
That's a workaround I can use. Thanks. I'm a newbie regarding netCDF data. Is there any information I'm losing when switching between the packages?
Raphael
Von: Marc Girondot [mailto:marc.girondot at u-psud.fr]
Gesendet: Mittwoch, 2. August 2017 15:13
An: Felber Raphael Agroscope <raphael.felber at agroscope.admin.ch>
Betreff: Re: AW: [R] Remove attribute from netcdf4
2006 Nov 23
3
reaccessing array at a later date - trying to write it to file
Dear R-help community
I am trying to write an R object (data.out) to a file in order to re-access it
later and not have to re-load up the array with data every time. Here is the
form of data.out
> data.out <- list(lats=seq(88.542, -88.542, length=94),
lons=seq(0, 360-1.875, length=192),
date=vector(length=nyr*12),
data=array(NA, c(nyr*12, 94*192))
)
I tried
>
2019 Jan 14
2
[llvm-pdbutil] : merge not working properly
Yes I am the person who wrote this feature (along with most other
PDB-related features).
I thought about some and I think it's a bit hard (if not impossible) to
merge PDBs in this way. Here's a short list of things I came up with
1) We need to merge the list of modules. This requires first detecting if
two modules are actually the same. For example, if I run llvm-pdbutil on a
random
2020 Sep 10
2
[RFC] New Feature Proposal: De-Optimizing Cold Functions using PGO Info
FYI David is referring to PGSO (profile-guided size optimization) as it exists directly under that name, see: https://reviews.llvm.org/D67120. And yeah using PGSO is selecting optsize while this change is selecting optnone.
On 9/9/20, 10:58 AM, "llvm-dev on behalf of Tobias Hieta via llvm-dev" <llvm-dev-bounces at lists.llvm.org<mailto:llvm-dev-bounces at lists.llvm.org> on
2020 Aug 10
2
[RFC] Machine Function Splitter - Split out cold blocks from machine functions using profile data
>Exceptions
>All eh pads are grouped together regardless of their coldness and are part of the original function. There are outstanding issues with splitting eh pads if they reside in separate sections in the binary. This remains as part of future work.
Can you elaborate more on the outstanding issues with splitting eh pads?
From my dip into the unwind map in gcc_except_table the
2011 Jun 25
0
Good Centos Security Advice & Gnome Thumbnails
Browsing the net for one thing unexpectedly brought me to two good and
useful documents:
(1) Guide to the Secure Configuration of Red Hat Enterprise Linux 5
http://www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731.pdf
Revision 4.1
February 28, 2011
(2) Hardening Red Hat Enterprise Linux 5
http://people.redhat.com/sgrubb/files/hardening-rhel5.pdf
Updated 12 August 2010
Gnome Thumbnail system is
2015 Jul 13
2
Crear datos aleatorios con restriciones
Perdon por no se lo suficientemente claro :(
Tu codigo produce `validPairs` que tiene 7 variables y 360 observaciones.
Donde
> validPairs[1,] V1 V2 V3 V4 V5 V6 valid
60 e1 g1 c1 e1 g1 c2 Valid
indica que un maestro tiene asignado c1 y c2 en la escuela e1 y el grado
g1. Correcto? Si es asi, esto es casi lo que queira producir y creo que
puedo llegar a donde quiero usando tu codigo de base.