similar to: change values in a character vector

Displaying 20 results from an estimated 400 matches similar to: "change values in a character vector"

2011 Aug 31
2
dbWriteTable error message
I am at loss of what is going on here ... I am trying to write to a SQLite database: con <- dbConnect(dbDriver("SQLite"), dbname="pres-docs.rqda") I have a data frame that is 889 rows by 7 columns. The column number and types agree with the database table columns and column type. dbWriteTable(con, "fileAttr", DF.4, row.names=FALSE, overwrite=TRUE) Then I get
2011 Aug 25
2
replicate lines of data frame
Greetings! I am just now learning to use R for my dissertation project. I need to manipulate a lot of text and numeric data. I created a data frame that has 7 columns and 127 unique rows. Now I need to replicate each line 6 times and then later change values in the first 2 columns. I am trying to figure out how to accomplish this. I think that I need to use rep(my.df, each=6) but it does
2011 Nov 17
3
merging corpora and metadata
Greetings! I loose all my metadata after concatenating corpora. This is an example of what happens: > meta(corpus.1) MetaID cid fid selfirst selend fname 1 0 1 11 2169 2518 WCPD-2001-01-29-Pg217.scrb 2 0 1 14 9189 9702 WCPD-2003-01-13-Pg39.scrb 3 0 1 14 2109 2577 WCPD-2003-01-13-Pg39.scrb .... .... 17 0
2011 Oct 21
2
stacked plot
Hi! I am trying to use ggplot2 to create a stacked bar plot. Previously I tried using barplot() but gave up because of problems with the positioning of the legend and other appearance problems. I am now trying to learn ggplot2 and use it for all the plots that I need to create for my dissertation. I am able to create normal bar plots using ggplot2, but I am stomped with the stacked bar plots.
2011 Sep 20
1
Works from CLI but not from prompt
Greegings! Any idea why this works from the command line, but not from a source file? This is driving me (more) insane. regexp <- "[Aa]ccountability" Thanks! -- Henri-Paul Indiogine Curriculum & Instruction Texas A&M University TutorFind Learning Centre Email: hindiogine at gmail.com Skype: hindiogine Website: http://people.cehd.tamu.edu/~sindiogine
2011 Sep 26
2
findAssocs()
I am trying to find the math behind the "tm" package findAssocs() ?findAssocs does not say anything besides "association" and "correlate" Usually entering "findAssocs" at the CLI gives the code for a R function, but in this case I obtain: function (x, term, corlimit) UseMethod("findAssocs", x) <environment: namespace:tm> Any ideas?
2012 May 23
5
linux
Dear All I can not download R for Linux. I do not know which file I should install? Best Regards, Soheila
2006 Jan 21
1
SOLVED: proprietary SSH -> OpenSSH migration and rsync errors
2006/1/20, Salvatore Enrico Indiogine <hindiogine at gmail.com>: > 2006/1/20, Jim Perrin <jperrin at gmail.com>: > > > When I run rsync over ssh, even sudo, I get permissions errors: > > > > > > sudo rsync -av --rsh=/usr/bin/ssh --delete <source dir> > > > <user>@<server>:<dest dir> > > > > > > >
2007 May 06
1
intersect of 2 data frames
Greetings! I am a new user of R. The only one in my department, all others use SPSS. I have two data sets of students with test scores, pretest and posttest. The first column StuNum and then columns of scores. The problem is that the lists are slightly different not all students are in both data sets. So I did: intersect(pretest$StuNum, posttest$StuNum) -> common.id At this point I need
2006 Feb 14
1
Re: KDE panel configuration SOLVED
2006/2/14, Rex Dieter <rdieter at math.unl.edu>: > Salvatore Enrico Indiogine wrote: > > I am running CentOS 4.2 with KDE 3.5.1 from kde-redhat.org. I am not > > able to configure the panels: > > > > control center -> desktop -> panels > > > > comes up, but is empty. Only the frame and the buttons on the bottom > > show. KDE 3.5.1 on
2006 Feb 14
1
KDE panel configuration
I am running CentOS 4.2 with KDE 3.5.1 from kde-redhat.org. I am not able to configure the panels: control center -> desktop -> panels comes up, but is empty. Only the frame and the buttons on the bottom show. KDE 3.5.1 on Kubuntu does not have that problem. Has anyone that same problem? -- Enrico Indiogine Parasol Laboratory Texas A&M University enricoi at cs.tamu.edu hindiogine
2006 Feb 03
1
Problem with mount and dvd-ram
Hi list, I have a problem with mountig a DVD-RAM as a specific user and group. I mount with this parameters: #mount -t udf -o uid=33,gid=6,umask=0000 /dev/hdc /mnt/ #mount: /dev/hdc on /mnt type udf (rw,uid=33,gid=6,umask=0000) but a #ll /mnt shows: drwxr-xr-x 2 root root 256 Jan 29 10:03 data -rw------- 1 root root 11 Feb 2 10:52 info drwxr-xr-x 2 root root 40 Jan 29 09:02
2006 May 26
2
startx
Hi guy, I just installed centos 4.3 with minimal option, then installed gnome. X server is woriking, bu how do I run "startx" automatically after boot process completed? Thanks
2006 Feb 02
2
rsh/rlogin on CentOS4.2
Hello all, I'm not quite sure what has changed in the recent rsh commands, but I can't seem to get around the password promting. I need a clnk rsh between two machines in order to run my backup script. I added all the usual .rhosts with the proper permissions et al added the xinetd.d confilg files, opened ports 543 and 544 in my firewall, yet when I use the rsh commands, I get either a
2006 Jan 21
1
proprietary SSH -> OpenSSH migration and rsync errors
Recently we switched from the proprietary version of ssh to the latest versions OpenSSH on RH7, 9 and CentOS4.2 When I run rsync over ssh, even sudo, I get permissions errors: sudo rsync -av --rsh=/usr/bin/ssh --delete <source dir> <user>@<server>:<dest dir> readlink groups/amatogroup/intranet/FoldingServerOO-dev/trash/foldingServer/Folding.NMA/CVS: Permission denied
2003 Jul 18
2
create a vector looping over a frame
Hello, I have a data.frame > names(popA) [1] "Year" "Series" "Age" "WM" "WF" "HM" "HF" "BM" [9] "BF" "IM" "IF" "AM" "AF" "Yr" how do i loop over a subset of variables in this frame to create a vector of
2010 Jun 24
2
Getting CELT to work under Windows
Hi, My name is Riccardo Micci i downloaded the CELT source code and I compiled it under Windows. This is meant to be a preliminary study for my company's project. When i run CELT it encodes and decodes the file back saying "Encoder matches decoder!!". When i try to play the output though the result is just noise and clicks. The only changes I've applied are some #defines to
2007 Dec 18
2
attachment_fu and S3 -- cannot download file correctly
I don''t know why this isn''t working. If I download a word doc that I uploaded, all I get is the S3 file path in the document. If I access the s3 file path directly in my browser, it downloads the file correctly. Here is my controller method: def download @curriculum = @school.curriculums.find(params[:id]) send_data @curriculum.attachment.public_filename, :filename
2005 Dec 30
6
Rails in High School Curriculum?
Hi folks, I''m working with a local high school in the Portland, OR area on the subject of computer science curriculum. We are thinking of introducing a class in web development and I think Rails would be a perfect vehicle. I''ve done some searching on the web but haven''t found any suggestion of HS curriculum for Rails. Any pointers or suggestions? Thanks, ---
2009 Apr 03
1
Survey Package with Binary Data (no Standard Errors reported)
Hi, I'm trying to get standard errors for some of the variables in my data frame. One of the questions on my survey is whether faculty coordinate across curriculum to include Arts Education as subject matter. All the responses are coded in zeros and ones obviously. For some of the other variables I have a 2 for those that responded with "Don't Know". I'm getting NA for