Displaying 20 results from an estimated 9000 matches similar to: "using read.table, removing extra quotation mark from a text field? (e.g. ""cat" )"
2008 Jun 27
1
use of quotation marks
Dear R Users. I just discovered today a problem in the use of
quotation marks when I'm doing some programs in R. I'm using windows
vista environment.
The programs that I wrote in the University, made in Windows XP
machines run perfectly, but when I run those in my laptop with VISTA,
there are many errors. Those errors are due to the type of quotation
marks.
In the university the quotation
2012 Jan 24
1
gsub semicolon with double quotation mark
Hi,
I would like to substitute a semicolon with two double quotation marks and
a comma inbetween.
It suppose to look like that:
I have:
FBpp0070086;FBpp0099643;FBpp0112915
I would like to have:
"FBpp0070086","FBpp0099643","FBpp0112915"
I tried with various numbers of backslashes, but noe have worked.
for example:
gsub(";", "\\\",\"",
2008 Dec 23
1
quotation problem/dataframe names as function input argument.
Dear R friends:
Can someone help me with the following problem? Many thanks in advance.
# Problem Description:
# I want to write functions which take a (character) vector of dataframe
names as input argument.
# For example, I want to extract the number of observations from a number of
dataframes.
# I tried the following:
nobs.fun <- function (dframe.vec)
{
nobs.vec <-
2009 Jul 09
1
FW: Quotation Request - OpenSSH
Dear Sir,
We would lik to subscribe the support for OpenSSH for a tender project.
Please kindly advise the annual subscription plan (with details of SLA) &
annual fee.
For the price, is it determined by number of server? or number of CPU? or
number of core?
Shall we get quotation/support from you? or please advise the reseller
contact.
Since the tender will be closed next week, may we
2004 Nov 26
2
E&M Digium card quotation
i need a quotation for a E&M Digium card for my asterisk PBX
where i can find it???
thank you in advance
Rodney Acosta Coya.
2013 Nov 17
4
quotation marks and scan
Dear R People:
I'm sure that this is a very simple problem, but I have been wresting with
it for some time.
I have the following file that has the following one line:
CRS("+init=epsg:28992")
Fair enough. I scan it into R and get the following:
> u
[1] "CRS(\"+init=epsg:28992\")"
> gsub(pattern='\"',replacement='"',x=u)
[1]
2010 Aug 23
7
"easiest" way to write an R dataframe to excel?
I am using R 2.11.1 in a Microsoft Windows 7 environment.
I tried using WriteXLS, but get the message " In system(cmd) : perl not found"
What is the "easiest" way to write an R dataframe to Excel? (I am familiar with
WriteXLS, but I do not have PERL installed, and if not needed, do not wish to
install it.)
I am also familiar with write.table, but if possible, wish to
2012 Jun 06
3
Removing Double Quotations After Using Cbind
Hi,
I am trying to process genomics data and the presence of both
characters and integers in an array is giving issues. The following is
an example:
> a<-array(c(2,2,"X",1:3,2:4),dim=c(3,3))
> b<-cbind(a[,1],a[,2])
With the output being:
[,1] [,2]
[1,] "2" "1"
[2,] "2" "2"
[3,] "X" "3"
Is there any
2013 Apr 09
4
quotes in cat() within function
Hello all,
Sorry if this question has been answered in the past, but I could not find
an answer.
I am trying to print quotes within a cat output. The arguments are:
file= "Data labels"
directory= "/home/mylaptop/"
The function returns:
cat("The file", file, "is located in directory", directory, sep=" ")
The output R prints is
The file Data
2017 Oct 13
1
Quotation marks hinder for loop
Dear mailing list members,
My question is maybe very basic, but I could not find the solution.
I would like to do the following things
1)
colnames(V1)[2] <- par$V2[1]
colnames(V2)[2] <- par$V2[2]
colnames(V3)[2] <- par$V2[3]
...
colnames(V37)[2] <- par$V2[37]
2)
V1 <- V1[,-1]
V2 <- V2[,-1]
V3 <- V3[,-1]
...
V37 <- V37[,-1]
3)
ms <- merge(V1,V2)
ms <- merge(ms,V3)
2008 Dec 10
3
How do I multiply labeled vectors of numbers?
I'm an R newbie trying to do an operation that seems like it should be very
simple, but after much playing around with the interface and reading "An
Introduction to R" I can figure out how to do it.
I have two text files. File1 contains:
type n
dog 2
cat 4
horse 6
File2 contains:
type n
horse 1
dog 3
cat 9
mouse 11
I want to read both
2010 Aug 20
3
loading a package within R, in a MS Windows environment?
I am using R 2.11.1 in a Microsoft Windows environment. Is there a way to load a
package (e.g. the zoo package) using only "written code", not menus or mouse
clicks?
The "code" below code brings up the "Select One" [package] menu. I just want to
automatically load the "zoo package".
local({pkg <- select.list(sort(.packages(all.available =
2011 Feb 06
1
Psych can't load LaTeX entities file
Hi there,
I wanted to use RedCloth with my RubyOnRails 3 application, but it seems
that RoR uses 1.9.2''s Psych by default as the YAML parser if available,
and Psych fails to load the LaTeX entities file:
====================================================================
#ruby -v: ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux]
irb(main):001:0> Dir.pwd
=>
2015 Mar 30
0
Quotation 4i1425q
Further to our conversation earlier, please find attached quotation 4i1425q,
data sheet included.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4i1425q.zip
Type: application/zip
Size: 12184 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/klibc/attachments/20150330/1a4d05ab/attachment-0001.zip>
2003 Apr 12
0
Channel Banks Quotation
Hi Anton
Some days ago I was talking by phone with you from Bogota, Colombia,
SouthAmerica.
I'am interested in to buy a good and cheap channel bank and I need to
know your models and prices.
Could you send me an e-mail with your best quotation included the
sending price, besides cold you give the Bill like a: Sample unit for
developmente propose without comercial value; COST: 25 usd;
2000 Dec 27
1
Incorrect shell quotation in scp
Hi,
as the current debian maintainer of the openssh package is a bit busy,
I'm helping him with fixing a part of the bugs in openssh that debian
users found will forward some of the reports to you. This is the first
one and a fix or a comment why this should not be fixed would be
appropriated. Thanks
Space in filename is not correctly passed by scp to other invoked
programs:
2005 Apr 30
3
How to extract function arguments literally
Dear all,
One of my friends asked me if it is possible to extract actual R
function arguments literally (precisely, as strings). The reason is
simple. He feels sometimes awkward to attach quotation marks :-). What
he actually wants is to pass R command arguments to XLisp subroutines
(He has been an enthusiastic XLisp user for a long time and still tends
to use R as a wrapper to XLisp). Is it
2009 Jul 01
1
How should I denormalise a data frame list of lists column?
Hi,
I have a data frame where one column is a list of lists. I would like to
subset the data frame based on membership of the lists in that column and be
able to 'denormalise' the data frame so that a row is duplicated for each of
its list elements. Example code follows:
# The data is read in in this form with the c2 list values in single strings
which I then split to give lists:
> f1
2006 Aug 17
6
what did I do to my app? (Superclass mismatch?)
It was working before (as far as I can tell), but I freezed_edge and
now...
The first time I load this page, it works fine, the second time I get
the superclass mismatch, the third time (and any subsequent times ) i
get undefined method.
I think this means my class is getting loaded twice?
my model looks like this:
class Quotation < ActiveRecord::Base
has_many :price_breaks
has_many
2011 Mar 31
3
Create Variable names dynamically
Hi,
I want to create variable names from within my code, but can't find any documentation for this.
An example is probably the best way to illustrate. I am reading data in from a file, doing a bunch of stuff, and want to generate variables with my output. (I could make a "list of lists" and name all the elements, but I really want separate variables.)
#################
#This is