similar to: Squaring one column of data

Displaying 20 results from an estimated 1000 matches similar to: "Squaring one column of data"

2009 Apr 03
1
"factorise" variables in a data.frame
Dear list, I often need to convert several variables from numeric or integer into factors (before plotting, for instance), as in the following example, d <- data.frame( x = seq(1, 10), y = seq(1, 10), z = rnorm(10), a = letters[1:10]) d2 <- within(d, { x = factor(x) y = factor(y) }) str(d) str(d2) I'd like to write a function factorise() which takes a data.frame and
2009 Jun 23
4
Apply as.factor (or as.numeric etc) to multiple columns
Hi R-helpers, I have a dataframe with 60columns and I would like to convert several columns to factor, others to numeric, and yet others to dates. Rather than having 60 lines like this: data$Var1<-as.factor(data$Var1) I wonder if it's possible to write one line of code (per data type, e.g. factor) that would apply a function (e.g., as.factor) to several (non-contiguous) columns. So, I
2007 Oct 18
3
Changing php5 with php4 in CentOS 5
Hi, In our server CentOS 5 is installed. Some of our web pages are compatible with php4 but in centOS 5 , php5 is installed and we cannot see our pages. I want to remove php5 and install php4 but i could not find php4 rpm for CentOS 5. Can anybody help me? Thanks Can ?izer -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Sep 06
5
Good Polycom Dealer?
Could any of you provide me information on a good Polycom phone dealers to utilize. One who provides firmwares ..etc Thank you! Kenny ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/
2018 Mar 27
4
[PATCH net V2] vhost: correctly remove wait queue during poll failure
We tried to remove vq poll from wait queue, but do not check whether or not it was in a list before. This will lead double free. Fixing this by switching to use vhost_poll_stop() which zeros poll->wqh after removing poll from waitqueue to make sure it won't be freed twice. Cc: Darren Kenny <darren.kenny at oracle.com> Reported-by: syzbot+c0272972b01b872e604a at
2018 Mar 27
4
[PATCH net V2] vhost: correctly remove wait queue during poll failure
We tried to remove vq poll from wait queue, but do not check whether or not it was in a list before. This will lead double free. Fixing this by switching to use vhost_poll_stop() which zeros poll->wqh after removing poll from waitqueue to make sure it won't be freed twice. Cc: Darren Kenny <darren.kenny at oracle.com> Reported-by: syzbot+c0272972b01b872e604a at
1999 Sep 22
2
SAMBA digest 2240
> Hi, Check if the shared directory has the write permission for all. i.e. chmod 777 for the particular directory > Date: Sun, 19 Sep 1999 21:06:36 -0700 > From: Kenny Cho <Kenny.Cho@Corp.Sun.COM> > To: samba@samba.org > Subject: Problem copying files to samba mount. > Message-ID: <37E5B2CC.9ADC9F8A@ha1pal.corp.sun.com> > MIME-Version: 1.0 >
2009 Oct 01
2
Missing functions
Hi all, I'm new to R and have been working hard to get familiarized with it. A problem I'm facing now is that having installed some packages (psych, doBy), I can't seem to access the functions even through there was no error messages when I load them using library(). I get an error telling me the function doesn't exist. But when I ran e.g. library(help = psych), the function I
2012 Aug 02
2
Handling HTTP 500 errors
Hey guys, How do you handle HTTP 500 errors with Mechanize? After researching the web I thought something like this would work: begin Mechanize.new.get(url_which_returns_500) rescue Net::HTTPInternalServerError puts "Life is awesome. Let''s move on" end Anyways, the code in the rescue block will never be executed. Can you guys help me out? Kenny
2016 Dec 13
4
pkcs #11/hardware support for server keys/sshd?
Hello, Is there any support (existing or planned) for host keys/certs being managed by some hardware device (tpm,hsm,etc..) instead of a flat file? thanks, -Kenny
2020 May 26
2
[FORGED] Re: Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
I was actually able to reproduce this on a relatively fresh install of 18.04 (a virtualbox). Paul, did you run apt update && apt upgrade before trying to reproduce? On Tue, May 26, 2020 at 4:36 PM Kenny Bell <kmbell56 at gmail.com> wrote: > Hi Paul, > > I tried downgrading to R 3.4.4 and I still see the problem. I also have a > conda environment that doesn't exhibit
2017 Dec 16
4
OpenBLAS in everyday R?
Hi R-devel list, OpenBLAS is readily available for unix-likes: https://cloud.r-project.org/web/packages/gcbd/vignettes/gcbd.pdf However, my questions are: 1) Would R-devel consider using OpenBLAS for the main distribution of R for all platforms including Windows? 2) If so, would R-devel set the default multi-thread level to the number of (real) cores on a machine? My sense is there're a
2010 Sep 21
0
Speeding up squaring of vectors
I see that some of the speed patches that I posted have been incorporated into the current development version (eg, my patch-for, patch-evalList, and patch-vec-arith). My patch for speeding up x^2 has been addressed in an inadvisable way, however. This was a simple addition of four lines of code that speeds up squaring of real vectors by a factor of about six (for vectors of length 10000), by
2005 Nov 07
3
SWAT not accessible from remote sites
Hello, I am not able to access SWAT from any other host besides the one running the SWAT daemon. No firewall blocking access on either side. # netstat -lnt | grep 901 tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN works fine connecting from localhost using: lynx localhost:901 Unavailable using public IP on a remote host.. i.e. going into Firefox and
2009 Jun 15
3
Assigning Data a name from within another variable?
Hi All, I have hunted high and low and tried dozens of things but have yet to achieve the result I require. Below is my code (taken mostly from another thread on here) thus far: files<-list.files() files<-files[grep('.wm4', files)] labels<-gsub('.wm4', '',files) for(i in 1:length(files)){ X<-read.table(files[i]) <My problem is here!> What I am trying
2004 Aug 06
3
In need of a Streaming solution
Hello My company is looking for a mp3 streaming solution for a client. We will have an online catalog of music for people to listen to. Our client only wants the user to be able to listen to the music and not download it. Is this possible using icecast? Does icecast support requests? If icecast is not the solution I need, can someone point me into the right direction for mp3 streaming
2003 Nov 18
8
Samba Setup
Hi Group, What is the indication on my samba server if it is successfully added to a native mode active directory environment? Thanks, Gerald __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
2006 Feb 21
0
Best internet traffic shaping for small lan
I''m admin of 50 clients. Sometimes I upgrading my internet traffic shaping script. I think rules of inetrnet traffic shaping is very important thing! I would like to ask some help from people, who understand something about SQUID ZPH and TC, to aim beter internet traffic shaping scripts. Squid has ZPH suport, becouse its responds to such commands as: zph_tos_local 8 zph_tos_peer 0
2003 Mar 12
5
Windows XP and plain text password
Hello, Can you say me which is the key to add in the registry for Windows XP to Enable Plain Text Password? Best Regards
2020 May 26
2
[FORGED] Re: Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
I am not seeing that problem on my 18.04 ... > sessionInfo() R version 4.0.0 Patched (2020-05-12 r78431) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 18.04.4 LTS Matrix products: default BLAS: /home/pmur002/R/R-4-0-branch/BUILD/lib/libRblas.so LAPACK: /home/pmur002/R/R-4-0-branch/BUILD/lib/libRlapack.so locale: [1] LC_CTYPE=en_NZ.UTF-8 LC_NUMERIC=C [3]