Displaying 20 results from an estimated 1200 matches similar to: "Help needed on R output"
2007 Oct 27
2
How to generate all permutation of 0-1 sequences in R?
Hi, folks:
I need to generate all 0-1 sequences with given length,say,n=3, the ideal
result would be
the following matrix:
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Any help would be appreciated.
--
View this message in context: http://www.nabble.com/How-to-generate-all-permutation-of-0-1-sequences-in-R--tf4704377.html#a13446919
Sent from the R help mailing list archive at Nabble.com.
2008 Jan 26
1
Any numeric differentiation routine in R for boundary points?
Hi, I have a scalar valued function with several variables. One of the
variables is restricted to be non-negative. For example,
f(x,y)=sqrt(x)*exp(y), then x should be non-negative. I need the
gradient and hessian for some vector (0,y), i.e., I need the gradient and
hessian at the boudary of parameter space.
The "numderiv" package does not work, even for f(x)=sqrt(x), if you
do
2019 Sep 30
2
courier to dovecot migration
>
> On 30.9.2019 13.40, tovises wrote:
>>>
>>>> On 30 Sep 2019, at 13.13, tovises via dovecot <dovecot at dovecot.org>
>>>> wrote:
>>>> WOW! - amazing quickly, I'm really grateful.
>>>>
>>>> I was using: -u tovis imapc: nusi but still something wrong.
>>>> Patstebin: https://pastebin.com/tH4wzJka
2019 Dec 23
1
Trouble using reverse dsync backup (log in successful but almost nothing happens)
I am migrating an old dovecot 2.2.30 (macOS High SIerra, macO S Server) to a new server with dovecot 2.3.7 (macOS Mojave, macports).
To get the data over, I?m trying to do a reverse backup with doveadm between an old and a new mail server, but failing to do so. I?m trying (from the new server, the old server is 192.168.2.67):
doveadm -Dv \
-o imapc_host=192.168.2.67 \
-o imapc_user=gerben \
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
=>
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 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
2004 Feb 20
1
ocfs hung
having a problem with ocfs.
device /dev/sdd mounted on 2 nodes, node 0 and node 1
tried to create file /u01/oracle/prod/proddata/temp01.dbf from node 1
(ALTER TABLESPACE TEMP ADD TEMPFILE...) caused oracle server process to
hang in a "D" state apparently trying to create the file. the file has
not been created yet. If I type "ls" from node 2 in directory
/u01/oracle/prod
2008 Dec 08
2
I need to run windows program with command line parameters?
In Windows; to have Firefox pass psyn links to the Curse client I use this command:
Code:
"C:\Program Files\Curse\CurseClient.exe" -url "%1"
but when I try to get Linux's Firefox to pass the psyn link to the Curse client running in wine, wine of course assumes that -url and the quotation marks are for it and not the actual Windows command it's meant to run.
How do I
2006 Sep 04
3
opening files in directory
Hi there
I want to be able to take all the files in a given directory, read them in one at a time, calculate a distance matrix for them (the files are data matrices) and then print them out to separate files. This is the code I thought I would be able to use
(all files are in directory data_files)
for(i in 1:length(files))
+ {
+ x<-read.table("data_files/files[[i]]")
+
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
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]
2003 Jan 23
1
winbindd with Windows 2000
Hello All,
I configured samba-winbindd for squid proxy authentication.
I was able to add the machine to windows 2000 server.but wbinfo -t returns error
Can anybody helps me to solve the problem after seeing the setup and error message
Following is the setup i made
]# vi smb.conf
# Global parameters
[global]
workgroup = KOVAITEST
netbios name = FIREWALL
server string =
2017 Sep 19
2
what do you think about write.table(... qmethod = "excel")?
On 19/09/2017 4:10 PM, Ista Zahn wrote:
> On Tue, Sep 19, 2017 at 1:04 PM, Paul Johnson <pauljohn32 at gmail.com> wrote:
>> Last week one of our clients reported trouble with a csv file I
>> generated with write.table. He said that columns with quotes for
>> character variables were rejected by their data importer, which was
>> revised to match the way Microsoft
2010 Sep 12
4
using read.table, removing extra quotation mark from a text field? (e.g. ""cat" )
I am using read.table to import a text file within R.
There are several "errors" in my text file. An "extra" quotation mark has
inadvertently been included within a few text fields.
e.g. for a pipe (|) delimited text file, I have something similar to this:
1|7|30| "dog"
2|6|25| ""cat"
3|4|20|""
4|5| 56| "mouse"
5|3|56|
2012 Aug 06
2
Straight-quotes for usage and examples sections in PDF docs?
Is there any way to ensure that quotation marks are left as straight
quotes and not converted to curly quotes in the \usage and \examples
sections when the pdf versions of the docs are created?
2010 Dec 14
2
How to left or right truncate a character string?
Hi R-helpers,
I have a character string, for example:
"lm(y ~ X2 + X3 + X4)"
from which I would like to strip off the leading and trailing
quotation marks resulting in this:
lm(y ~ X2 + X3 + X4)
I have tried using gsub() but I can't figure out how to specify the
quotation mark using a regular expression.
Alternatively, I would like a function that lets me delete the leading
2008 Feb 22
3
Simultaneously summarizing many models
Dear R users,
Let?s say I have 10 models, each named m1,m2,m3..., and I would like to summarize them automatically
and simultaneously - e.g., to extract parameter estimates later on from all models; how can I do that?
I have tried:
x=1:10 #this creates some example data
y=rnorm(10)
m1=lm(x~y)
m2=lm(x~1)
sum.lms=function(x)summary(paste("m",x,sep=""))
sum.lms(1:2)
but
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
2004 Mar 18
2
character -> list
Hi
I have a matrix of type "character" (strangly) and am trying to apply
the function "aggregate" to it, but unfortunately without success.
It seems to me that aggregate would work, if I only could get rid of the
quotation marks around each item.
So for a very simple example which looks as my actual data look (of
course here I put the quotation marks on purpose, but I have