Displaying 20 results from an estimated 2806 matches for "nc".
Did you mean:
inc
2011 Oct 05
4
SPlus to R
I'm trying to convert an S-Plus program to R. Since I'm a SAS programmer I'm not facile is either S-Plus or R, so I need some help. All I did was convert the underscores in S-Plus to the assignment operator <-. Here are the first few lines of the S-Plus file:
sshc _ function(rc, nc, d, method, alpha=0.05, power=0.8,
tol=...
2010 Sep 23
1
strange behaviour of callNextMethod in S4 methods
Hello,
I experienced a strange behaviour of callNextMethod when used in either
initialize or any other S4 function method definition.
Help says callNextMethod calls the next inherited method for the current
function from where it is called with the same actual (non missing)
arguments. This is OK. The problem appea...
2011 May 08
5
Am I being to paranoid?
.../webdb/: 1 Time(s)
//websql/: 1 Time(s)
//wp-content/plugins/phpMyAdmin/: 1 Time(s)
//wp-content/plugins/wp-phpmyadmin/: 1 Time(s)
//xampp/phpmyadmin/: 1 Time(s)
So I turned on Apache ReWrite and I created a file and I put in rules like: (just a small subset)
RewriteCond %{REQUEST_URI} ^/php(.*) [NC,OR]
RewriteCond %{REQUEST_URI} ^/phpmy(.*) [NC,OR]
RewriteCond %{REQUEST_URI} ^/phpma [NC,OR]
RewriteCond %{REQUEST_URI} ^/phpmyadmin [NC,OR]
RewriteCond %{REQUEST_URI} ^/phpadmin [NC,OR]
RewriteCond %{REQUEST_URI} ^/phpgadmin [NC,OR]
RewriteCond %{REQUEST_URI} ^/phppgadmin [NC,OR]
RewriteCond %{RE...
2006 Oct 07
3
merge and polylist
...eetings:
I would like to kindly ask for a little help. The rough code is:
#________________________________________________________
dat=data.frame(read.delim(file="all.txt", header = TRUE, sep = "\t",
quote="\"", dec=".",na.strings = "NA"))
nc=read.shape("astae.shp", dbf.data=TRUE, verbose=TRUE)
mappolys=Map2poly(nc)
submap <- subset(mappolys, nc$att.data$NAME!="Honolulu, HI")
nc$att.data=subset(nc$att.data, nc$att.data$NAME!="Honolulu, HI")
nc$att.data[,1]=as.numeric(paste(nc$att.data$MSACMSA))
#att...
2009 Dec 03
4
Two-way/Three-way sum.
Hi R Users,
I'm wondering how can I calculate two (or three) way sum of a variable. A
sample data is:
State Month Year Value
NC Jan 1996 1
NC Jan 1996 2
NC Feb 1997 2
NC Feb 1997 3
NC Mar 1998 3
NC Mar 1998 4
NY Jan 1996 4
NY Jan 1996 5
NY Feb 1997 5
NY Feb 1997 6
NY Mar 1998 6
NY Mar 1998 7
I'm trying to sum up "value" column by State*Month and by State*Month*Year.
Also, I may need to calculate mean value al...
2008 Apr 02
1
"[<-" plus drop-type extra argument
...ing a replacement method for an S4 class and want to pass
an additional argument to "[<-"() along the lines of "["()'s "drop"
argument.
Specifically, I have an S4 class, call it "foo", with a slot 'x'
that is a
vector and a slot 'NC' that is a scalar.
I want to be able to pass a Boolean argument to the replacement
method which specifies whether or not to recalculate NC (which
is time-consuming and often not needed). I want the default behaviour
to be "don't recalculate NC".
Toy example follows, in which...
2012 Jan 03
1
returning information from functions via attributes rather than return list
I would like to ask for advice from R experts about the benefits or
dangers of using attr to return information with an object that is
returned from a function. I have a feeling as though I have cheated by
using attributes, and wonder if I've done something fishy.
Maybe I mean to ask, where is the dividing line between attributes and
instance variables? The separation is not clear in my mind anymore.
Background: I paste below a function that ta...
2008 Apr 25
2
Bug in R 2.7 for over long lines (crasher+proposed fix!) (PR#11281)
...o fix swig & R2.7 I actually discovered that there is a
> bug in R 2.7 causing a crash (so R & swig might actually work):
>=20
> the bug is in ./src/main/gram.c line 3038:
>=20
> } else { /* over-long line */
> fixthis --> char *LongLine =3D (char *) malloc(nc);
> if(!LongLine)
> error(_("unable to allocate space for source line %
d"), xxlineno);
> strncpy(LongLine, (char *)p0, nc);
> bug --> LongLine[nc] =3D '\0';
> SET_STRING_ELT(source, lines++,
>...
2017 Dec 20
2
"file changed as we read it" message during tar file creation on GlusterFS
Dear Users,
I?m experiencing a random problem ( "file changed as we read it? error) during tar files creation on a distributed dispersed Gluster file system.
The tar files seem to be created correctly, but I can see a lot of message similar to the following ones:
tar: ./year1990/lffd1990050706p.nc.gz: file changed as...
2008 Apr 25
1
Bug in R 2.7 for over long lines
While trying to fix swig & R2.7 I actually discovered that there is a
bug in R 2.7 causing a crash (so R & swig might actually work):
the bug is in ./src/main/gram.c line 3038:
} else { /* over-long line */
fixthis --> char *LongLine = (char *) malloc(nc);
if(!LongLine)
error(_("unable to allocate space for source line %d"), xxlineno);
strncpy(LongLine, (char *)p0, nc);
bug --> LongLine[nc] = '\0';
SET_STRING_ELT(source, lines++,
mkChar2((char *)Long...
2017 Dec 29
2
"file changed as we read it" message during tar file creation on GlusterFS
...he ctime returned to the
client. I don't think there were issues with the files but I will leave it
to Ravi and Raghavendra to comment.
Regards,
Nithya
On 29 December 2017 at 04:10, Mauro Tridici <mauro.tridici at cmcc.it> wrote:
>
> Hi All,
>
> anyone had the same experience?
> Could you provide me some information about this error?
> It happens only on GlusterFS file system.
>
> Thank you,
> Mauro
>
> Il giorno 20 dic 2017, alle ore 16:57, Mauro Tridici <
> mauro.tridici at cmcc.it> ha scritto:
>
>
> Dear Users,
>
> I?m ex...
2019 Jul 01
2
[PATCH v2 0/3] vsock/virtio: several fixes in the .probe() and .remove()
...and sending packets together with a script that
> hotplug/unplugs vhost-vsock-pci from the host side.
Yes, I started an SMP guest (-smp 4 -monitor tcp:127.0.0.1:1234,server,nowait)
and I run these scripts to stress the .probe()/.remove() path:
- guest
while true; do
cat /dev/urandom | nc-vsock -l 4321 > /dev/null &
cat /dev/urandom | nc-vsock -l 5321 > /dev/null &
cat /dev/urandom | nc-vsock -l 6321 > /dev/null &
cat /dev/urandom | nc-vsock -l 7321 > /dev/null &
wait
done
- host
while true; do
cat /dev/urandom | nc-vsoc...
2019 Jul 01
2
[PATCH v2 0/3] vsock/virtio: several fixes in the .probe() and .remove()
...and sending packets together with a script that
> hotplug/unplugs vhost-vsock-pci from the host side.
Yes, I started an SMP guest (-smp 4 -monitor tcp:127.0.0.1:1234,server,nowait)
and I run these scripts to stress the .probe()/.remove() path:
- guest
while true; do
cat /dev/urandom | nc-vsock -l 4321 > /dev/null &
cat /dev/urandom | nc-vsock -l 5321 > /dev/null &
cat /dev/urandom | nc-vsock -l 6321 > /dev/null &
cat /dev/urandom | nc-vsock -l 7321 > /dev/null &
wait
done
- host
while true; do
cat /dev/urandom | nc-vsoc...
2009 Jun 17
2
Using a cgi perl program?
...rewrite rules so that Apache won''t rewrite certain
requests
#
# Example:
# RewriteCond %{REQUEST_URI} ^/notrails.*
# RewriteRule .* - [L]
# Redirect all requests not available on the filesystem to Rails
# By default the cgi dispatcher is used which is very slow
#
# For better performance replace the dispatcher with the fastcgi one
#
# Example:
# RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
RewriteEngine On
# If your Rails application is accessed via an Alias directive,
# then you MUST also set the RewriteBase in this htaccess file.
#
# Example:
# Alias /myrailsapp /path/to/myrails...
2018 Jan 02
2
"file changed as we read it" message during tar file creation on GlusterFS
Hi All,
any news about this issue?
Can I ignore this kind of error message or I have to do something to correct it?
Thank you in advance and sorry for my insistence.
Regards,
Mauro
> Il giorno 29 dic 2017, alle ore 11:45, Mauro Tridici <mauro.tridici at cmcc.it> ha scritto:
>
>
> Hi Nithya,
>
> thank you very much for your support and sorry for the late.
> Below you can find the output of ?gluster vol...
2017 Dec 29
0
"file changed as we read it" message during tar file creation on GlusterFS
...: s02-stg:/gluster/mnt11/brick
Brick33: s03-stg:/gluster/mnt11/brick
Brick34: s01-stg:/gluster/mnt12/brick
Brick35: s02-stg:/gluster/mnt12/brick
Brick36: s03-stg:/gluster/mnt12/brick
Options Reconfigured:
features.scrub: Active
features.bitrot: on
features.inode-quota: on
features.quota: on
performance.client-io-threads: on
cluster.min-free-disk: 10
cluster.quorum-type: auto
transport.address-family: inet
nfs.disable: on
server.event-threads: 4
client.event-threads: 4
cluster.lookup-optimize: on
performance.readdir-ahead: on
performance.parallel-readdir: off
cluster.readdir-optimize: on
features...
2013 Oct 01
1
Should I forget sssd ?
...d mapped to home/%U on server
AD Administrator has a roaming profile
Searched a lot and succeed to deploy Office, Acrobat reader, Skype,
7-zip, Firefox to users (windows is another world...)
Shares are mounted (depending on AD 'ou' rights) on user's pc
Administrator can login via UltraVNC to all workstation
What needs to be done:
Linux services to auth to AD
From what I've read, sssd is the more secure solution to achieve this,
but ...
Using sssd 1.11.1 : files configuration:
1)
> sudo cat /etc/sssd/sssd.conf
> [sssd]
> services = nss, pam
> config_file_version =...
2014 Jul 01
0
The dreaded Tripp Lite SMART500RT1U and NUT
...I have
really figured out is that the fourth hex segment for S is a 00 for
plugged in and a 01 for on-battery. Which the driver already knows.
The rest is a mystery to me. But I played around with unplugging and
running the load down, and then recharging, etc. Here are my notes
and observations. NC = "no change". I am assuming that those fields
are the make/model/serial number, etc.
S fourth segment = 00 for on-power, 01 for on-battery
UNPLUGD a while
ups.debug.D: 00 00 00 7d 0d 00 00 '.......' <---- 4th segment = 125
ups.debug.L: 06 00 00 07 58 58 0d '....XX.'...
2005 Jan 03
2
Memory Efficient Methods for Building Matrix
Dear List:
I am having to build a block-diagonal matrix (vl) and am currently using
the following code.
I<-diag(sample.size)
vl<-kronecker(I,vl.mat)
This code works fine, but for large N, it is a huge memory hog. Is there
a more efficient method for constructing vl?
Thanks,
Harold
[[alternative HTML version deleted]]
2012 Oct 22
2
Problem installing ndf library
Hello,
I am a new user of R and Linux (debian squeeze), and I am trying to install
the ncdf library.
First I don't know wich is the best to use (ncdf or ncdf4), But not matter
the one I tried to install, it always failled.
I try to find a solution to this common problem on the web, but I never find
the good way to solve it.
I hope you could help me I try many things during two days...