Displaying 20 results from an estimated 100 matches similar to: "imaging and contouring"
2007 Feb 16
2
if() for() { }
Dear R'helpers,
I guess the solution is trivial but despite some hours of testing and
looking at the doc, I was unable to fix the following problem.
I want to do either:
for (i in 1:lat) a[i,which(a[i,]==0] <- NA
or:
for (i in 1:lat) a[i,which(a[i,]==-9999|a[i,]==9999|a[i,]==9998|a[i,]
==-9998)] <- NA
if the word "Time" is or is not present in variable
2012 Jul 23
2
translating IDL to R
I would appreciate
* guidance regarding translation of IDL routines to R, generally
* assistance translating two IDL routines to R, specifically
Why I ask:
I'm slowly learning how to do atmospheric modeling. One language that
has been been popular in this space is IDL
http://en.wikipedia.org/wiki/IDL_(programming_language)
which unfortunately is proprietary (not to mention butt-ugly, IMHO
2017 Aug 28
3
Extracting subset from netCDF file using lat/lon and converting into .csv in R
I have a series of nertCDF files containing global data for a particular
variable, e.g. tmin/tmax/precipiation/windspeed/relative
humuidity/radiation etc. I get the following information when using
*nc_open* function in R:
datafile: https://www.dropbox.com/s/xpo7zklcmtm3g5r/gfdl_preci.nc?dl=0
File gfdl_preci.nc (NC_FORMAT_NETCDF4_CLASSIC):
1 variables (excluding dimension variables):
2012 Oct 03
0
ggplot2 problem
Dear all,
We are trying the code from the paper
(http://www.jstatsoft.org/v40/i01/) to build stars for each point on
the map (plyr package). It uses ggplot2 package and works fine for
ozone data but we can't get it work for our data (probably due to
misunderstanding of some issues).
Our data is SO2 time series for each point on the map with 0.25
degrees step. It has both NA, negative and
2006 Oct 23
2
character manipulation
Dear R'helpers,
I am reading lines in a .txt file
Each line is stocked into a n elements object, as this:
[958] " 422 287 339 31 203 602 547 1026 500 366 346 227"
[959] " 410 67 11 220 110 451 562 598 732 163 163 220"
[960] " 179 513 95 186 102 595 333 1289 804 210 294 459"
[961] " 276 153 307 138 126 233 623 739 521 421 209 75"
[962] " 64
2017 Aug 28
0
Extracting subset from netCDF file using lat/lon and converting into .csv in R
Two questions:
1. Is the order of the dimensions shown what is shown if you look at str(ncin) - I mean shown at the end where it describes the variable and its dimensions?
2. Is you problem how to subset the netcdf file, how to write to the .csv file, or both?
-Roy
> On Aug 28, 2017, at 2:21 PM, Eeusha Nafi <eshad002 at gmail.com> wrote:
>
> I have a series of nertCDF files
2006 Jun 07
2
how to read hdf files under R?
Hi!
I am trying to install in my R environment the rhdf5 package and
library but it seems to have vanished from either the CRAN or
BioConductors sites.
Can you tell me where it would be possible to find it or any R
library (or function) able to read hdf files?
Sincerely,
Nicolas Degallier
UMR 7159 / IRD UR182
Laboratoire d'Oc?anographie et du Climat, Exp?rimentation et
Approches
2013 Jul 19
1
Problem with distributing data in package.
Hi List,
I am building a package for a client to help them create and perform
analyses against netcdf files which contain 'a temporal stack' of
grids.
For my examples and test cases, I create an example dataset in code
(as this is a lot more space efficient than providing raw data). The
code creates a netcdf file in tempdir() and an object of class 'ncdf'
in the global namespace.
2000 Dec 22
2
REading the netCDF format into R
Hi!
I have been coding a C-program which will read data from the
netCDF format (a commonly used file format in the geophysical research
community: see Unidata's URL for explanation:
http://www.unidata.ucar.edu/packages/netcdf/), and have got to the point
where I don't know what the error message mean. The C-program is called
nc2r.c.
When compiling the code, I get a number of warnings,
2006 Jun 26
0
samba rejecting machine accounts
Hi!
I use Debian Sarge + Samba 3.0.22 + OpenLDAP 2.2.23 Server for a
domain controller. Once a month i have to rejoin windows XP clients to
the domain, because samba thinks they're not in the domain(users
cannot log in).
The error message found in each machine log:
_net_auth2: creds_server_check failed. Rejecting auth request from
client T2906 machine account T2906$
What's wrong?
2007 Feb 16
13
negate the regexp in validates_format_of
Railsters:
ActiveRecord''s validation system puts other database systems to shame.
However, the newbies might not know how to write a regexp that
excludes a match, instead of tests for it. Understand - I''m just
asking this question to help them. I have been using Regexps since
''grep'' on Xenix! But the newbies here might not know how to do this:
2010 Sep 28
1
A problem with plotting a long expression in ylab ?
Hello,
It seems that there is a problem when plotting an expression in the ylab of
a plot in case it is too long.
Example:
plot(1)
title(ylab = "test
looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong
") # work
plot(1)
title(ylab = expression(paste("test (% of 360" *degree, ")"))) # works
plot(1)
title(ylab = expression(paste("test
1999 May 13
0
dos to unix file conversion...
When the world was young, "Norm Long" <nlong@worldvision.org>
carved some runes like this:
> Greetings, was wondering how to handle problems regarding viewing files on
> our hp server through notepad. When we view files via note pad we all see
> the carriage return(unix) making the file a little difficult to read. If
> samba had a some kind of file conversion
2006 Mar 18
1
The R "fork"
Hello, I would like to call a function that can take infinite time to
be executed in some circumstances (which can not be easily detected).
So, I would like that once the function is being executed for more
than two seconds it is stopped. I have found documentation for timers
but i did not found how to "kill" a function. Moreover, I would like
not to change the function code (it should
1998 Sep 11
3
SAMBA digest 1809
> From: Gary Stainburn <gary.stainburn@ringways.co.uk>
> To: "Samba Mailing List (E-mail)" <samba@samba.anu.edu.au>
> Subject: smbtar multiple machines
> Message-ID: <01BDDD6E.ABFF0580@garys.computer.leeds>
>
> Hi all,
>
> I'm just looking at using smbtar to backup the Win95 PC's on my network, and would like usability ideas please.
>
2006 Mar 23
0
sqlSave
Dear Tobias,
I finally succeeded in exporting my dataframes from R into Access with
this script:
library(RODBC)
canal <- odbcConnectAccess("D:/Floristique.mdb")
sqlSave(channel=canal, dat=flore, tablename="Floristique", rownames=F,
safer=F, fast=F,
varTypes=c(dates="Date"))
odbcClose(canal)
My problem in exporting my dataframe "flore" seems to
2004 Sep 28
2
Cannot enable "Enable advanced printing features"
Hi all.
I'm trying to use Samba to replace an old Windows print server, and
everything works just like a charm - almost...
There's one thing, which prevents my organization from accepting this new
printerserver, and that is that I'm unable to activate and save the "Enable
advanced printing features" setting for the printers - this is used to allow
for printing multiple
2005 Aug 25
2
question sur R
bonjour
je suis elève à l'ENSAI Rennes et je suis actuellement en stage de fin
d'études
j'ai une question sur R
en fait lorsque le simule 2 lois normales qui sont mes 2 variables
explicatives continus
- une avec que des valeurs > 0 (ou que <0) X1
- l'autre peut prendre aussi bien des valeurs <0 ou >0 X2
et que je regresse le rating (facteur
2008 May 18
1
REGRESSION: New "megatec" driver does't work for UPS that was managed by old fentonups driver
Hi there,
A couple years ago, I had patched the "fentonups" nut driver to allow it to
work with my Unitek Alpha 500 UPS.
My patch had been accepted and incorporated in the standard fentonups driver.
I have had no time to stay involved in the "nut" project since (and besides
this I'm not a developper...).
2 days ago I upgraded from Ubuntu Gutsy to Ubuntu Hardy and got
2004 Apr 29
10
wxruby-swig 0.0.12 is up
This one includes the latest App.cpp which includes the Mac fix from
Nick. I thought it was in 0.0.11, but it wasn''t.
It also adds support for "stock objects", like colours, pens, and fonts.
This turned out to be quite challenging, but I''m happy with the
solution. It only took a few days :-/
Kevin