Displaying 20 results from an estimated 1500 matches similar to: "plotting 0,1 data"
2012 Jul 30
2
Alternating between "for loops"
Dear All,
I would like to apply two different "for loops" to each set of four columns
of a matrix (the loops here are simplifications of the actual loops I will
be running which involve multiple if/else statements).
I don't know how to "alternate" between the loops depending on which column
is "running through the loop" at the time.
## Set up matrix
J <- 10
N
2012 May 07
2
Matrix "BYTES" size
Dear R people.
I´m facing a big problem.
I need to create a matrix with 10.000 columns and 750.000 rows.
matrix<- as.data.frame(matrix(data=0L, nrow=750000, ncol=10000)
as you can see, the data frame has huge dimesions. I was able to find out
about thr "L" in data, this way I´m telling that my data is "integer"
class. By doing this
object.size(matrix) tells me that this is
2012 Apr 30
2
Generate Dendrogram
Hi
I have a distance matrix which is computed by user defined method. I
would like to plot the dendrogram. I would like to use different color
and want the leaves laying down bottom.
The script like this. I am not familiar with R. I followed the example
shown in
http://stat.ethz.ch/R-manual/R-devel/library/stats/html/dendrogram.html
dist.obj <- as.dist(matrix.distance)
hc.obj <-
2012 May 17
3
New Eyes Needed to See Syntax Error
One of many scripts to produce 4 lattice plots on one page keeps throwing
an error. I've tried manipulating the file to eliminate the error, but have
not been able to do so. The error is:
> source('bicarb.R')
Error in source("bicarb.R") : bicarb.R:15:1: unexpected symbol
14: 15: hco33
^
The 'h' is in column 0 so the caret would be column -1, but it's
2012 May 08
3
Unexpected input while building package in R
I am a newbie in R, and I am trying to build an R package but I keep getting
an unexpected input error when I try using the build, check or install
commands. I used the following command to generate the skeleton:
package.skeleton("test")
After this I went to the command prompt and to the directory with the test
folder and ran the command:
R CMD build test
I got the following error
2012 Aug 29
5
Extracting the name of a function (inverse of match.fun("myFun"))
Hi all,
is there a way to extract the name of a function, i.e. do the reverse
of match.fun applied to a character string? I would like to print out
the name of a function supplied to another function as an argument.
For example:
myFunc = function(x) { x+1 }
applyFunc = function(fnc, x)
{
fnc = match.fun(fnc)
fnc(x)
}
Is there a way to obtain "myFunc" from the argument fnc in
2012 Aug 14
1
problem installing mgcv
Hi all,
I am running into a problem installing a package. I am using a Mac with
OSX 10.5.8
I have been using mgcv for gam models, it has been working fine.
The mgcv listed in my directory of R packages (Package Manager) does not
load up and I receive the following:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
2012 Mar 19
4
regression with proportion data
Hello,
I want to determine the regression relationship between a proportion (y)
and a continuous variable (x).
Reading a number of sources (e.g. The R Book, Quick R,help), I believe I
should be able to designate the model as:
model<-glm(formula=proportion~x, family=binomial(link="logit"))
this runs but gives me error messages:
Warning message:
In eval(expr, envir, enclos) :
2008 Jul 31
4
instal tar.gz package on windows
Dear HelpeRs,
I have created a tar.gz package (the package was created on unix) and I would like to install it in R on a Windows operating system.
As far as I know, R in Windows accepts only packages in zip file for installation and I could not find a way to install a tar.gz file.
I would like to mention that I installed the package on unix using install.packages and it works. I also tried to
2008 Mar 31
1
Compile dll in Windows XP
This is my first attempt to call a C function from R. I have installed Rtools,MinGW and Perl and I have included them in my system path. I am trying to compile a toy function that can be called in R but when I type "RCMD SHLIB foo.c" I receive the following message in my Command prompt:
making foo.d from foo.c
make: [foo.d] Error 255 (ignored)
cat: foo.d: No such file or directory
make:
2008 May 20
7
Expect with "real world" returns?
Is there a way to do something like this?
class Foo
def self.hello(name)
"Hello #{name}!"
end
end
Foo.expects(:bar).with("Carl").once
assert_equal "Hello Carl!", Foo.hello
Basically, my problem is that once you set an expectation, the
original code is never executed and is not tested. However, it''s
still very useful to set expectations to
2003 Mar 27
5
Plot of Canonical Correlation Analysis
Dear all,
I didn't find any graphical solution in the package "mva" to plot the
canonical scores from a CCA (canonical correlation analysis).
Does anybody knows how to plot or has anybody already programmed :
- the map of the canonical scores,
- the graph of the canonical weights,
- the correlation circle i.e. the canonical loadings ?
Thank you for help ...
2013 Jun 19
1
SIP Simple support on Asterisk 11
Hi all,
I am trying to enable SIP SIMPLE communication in my test environment.
I have the following env :
- one server (192.168.50.126) with Asterisk 11
- 2 clients using pidgin : demo-bob and demo-alice on my 192.168.50.143
I successfully had a phone call between clients.
I used the following link to enable SIMPLE messaging between my clients :
2010 Feb 12
2
SAMBA and Windows 2008 TSE licence Server
Hi all!
I can't use the TSE licence server in Windows 2008 server. This Server
is member of my Samba Domain. My TSE licence server is actived and my
licences added, but when i want configure the TSE service and launch the
Licence diagnostic the diagnostic failed.
I think my problem is due to my Windows Server is not an Active
Directory controller.
What are the solutions : quit the
2017 Sep 13
2
Nouveau: kernel hang on Optimus+Intel+NVidia GeForce 1060m
Hi,
the system fails to initialize your vbios using secureboot (i had a rare
chance to on my system to witness it again), for now i traced it to
acr_boot_falcon() in
"linux/drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c" where it
throws -110 which is -ETIMEDOUT. You could try to increase the timeout
and see if it helps something, similar to the following:
diff --git
2019 Jan 01
2
I can't find what's causing this warning?
I?ve started getting this warning, and nothing I do seems to solve it?
INFO admin/admin_handle_request Bad or missing password on admin command request (command: stats.xml)
It repeats about every 15 secinds?
Any ideas anyone
Robert
2002 Nov 15
2
NULL sessions - Listing shares anonymously - restrict anonymous
Hi,
I am running 2.2.5 and I would like to know if the
"restrict anonymous" as been implemented correctly, as it was supposed
to behave from the start, in order to deny
ALL anonymous connections as stated in the man :
"When restrict anonymous is yes, all anonymous connections are denied no
matter what they are for."
Ive been reading some dev mailing lists and someone said
2014 Jul 14
1
[Bug 10715] New: IPv6 configure test fails on musl c-library
https://bugzilla.samba.org/show_bug.cgi?id=10715
Summary: IPv6 configure test fails on musl c-library
Product: rsync
Version: 3.1.1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: timo.teras at iki.fi
2019 Jan 01
1
I can't find what's causing this warning?
This is also on Stack Overflow…
It’s odd, because sometimes it seems to wrk, and sometimes not???
error.log
[2019-01-01 13:08:31] INFO admin/admin_handle_request Bad or missing password on admin command request (command: stats.xml)
[2019-01-01 13:08:31] INFO admin/admin_handle_request Bad or missing password on admin command request (command: stats.xml)
[2019-01-01 13:08:31] INFO
2005 Apr 05
1
Can't mount samba share, Access denied
Hello,
I have samba configured with the following smb.conf file:
[global]
workgroup = mydomain
netbios name = servername
security = domain
printcap name = cups
disable spoolss = yes
show add printer wizard = no
idmap uid = 15000-20000
idmap gid = 15000-20000
winbind use default domain = yes
use sendfile = yes
printing = cups
[myshare]
comment = My new share
path = /export/myshare
valid users =